I feel like I went to a fight and a hockey game broke out!!!
Nathan, im going to try the code snip you gave me. Im not sure if I can or
cant to this with EGL/JSF. But im going to try since my only other current
alternative is controling the paging in my EGL program.
Just seemed like an easy request to do since its pretty easy with straight
HTML.
Tim
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Nathan Andelin
Sent: Friday, December 14, 2007 8:47 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] JSF/EGL datatable positioning question
<snip from Joe Pluta>
The problem with that assumption is that EGL isn't a framework, it's a
platform independent model that uses model transformation to generate a
platform specific implementation. In simpler terms, EGL can generate COBOL
or Java, and use JSF or a thick client as its UI.
</snip>
The model transformations are the missing link, for me. I posted an example
of an HTML document, which included a Javascript statement, which caused a
specific table row to scroll into view, which is the behavior that Tim said
he was looking for, but how to get that specific implementation from EGL is
the part I don't understand.
<snip from Tim>
<hx:dataTableEx id="tableEx3" value="#{qdashboard.userrecselectUI}"
var="varuserrecselectUI" styleClass="dataTableEx" headerClass="headerClass"
footerClass="footerClass" rowClasses="rowClass1, rowClass2" border="0"
cellpadding="2" cellspacing="0" scrollSize="250px"
</snip>
That JSF tag looks like it may generate a scrollable <div> and <table>,
perhaps similar to the HTML code I posted in my example, but evidently lacks
the behavior Tim is asking for. So, is Tim limited to the code generated by
EGL, or can he extend or override it to generate what he's looking for.
I typically use Dreamweaver, which has a WYSIWYG design surface and wizards
and property sheets for laying out an HTML template, but I can also go into
code view to change or extend the generated HTML. Can you do that with EGL?
Are you limited by the generator?
Nathan.
____________________________________________________________________________
________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
As an Amazon Associate we earn from qualifying purchases.