Paging out of box. Yes, You can specify height of table and it will add
scroll bar controls as needed. You can also set up how many records to be
displayed per page and it will control the page forward/back functionality.
I guess what I am doing in RPG talk would be loading the entire subfile at
once. And im wondering if there is a SFLRCDNBR equivalent in JSF/EGL.
Im new to doing EGL so not sure all the terms.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Aaron Bartell
Sent: Thursday, December 13, 2007 4:45 PM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] JSF/EGL datatable positioning question
The way I do this with JSF is have the backing bean be session scoped and
then store the rrn of the SQL result set to start at each time the listing
is redisplayed. Even if they navigate off the page and back again they will
be returned to the exact page they were looking at.
Does EGL come with paging out of the box?
HTH,
Aaron Bartell
http://mowyourlawn.com
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of tim
Sent: Thursday, December 13, 2007 3:26 PM
To: Web400
Cc: 'Midrange Systems Technical Discussion'
Subject: [WEB400] JSF/EGL datatable positioning question
Im using JSF and EGL to load a datatable of country codes. The table is
defined as follows:
<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"
The table can contain hundreds of entries. When the user clicks on a
selected row in the table, the EGL processes the selection then redisplays
the table again.
The problem I am having is that the datatable displays from the beginning. I
would like it to display staring from the record they clicked.
I know this can be done in html with anchors.
Can this be done with JSF/EGL?
Thanks.
As an Amazon Associate we earn from qualifying purchases.