dbTalk Databases Forums  

selectionState not redisplayed

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss selectionState not redisplayed in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ewout
 
Posts: n/a

Default selectionState not redisplayed - 04-24-2007 , 04:16 AM






(I don't know if I'm posting this question to the right news group. If
not, then please excuse me, and please point me to a more appropriate
group.)

I have created a page with two af:table components. The first table is
a tableSelectOne, and the second a tableSelectMany. When the user
selects an entry in the first table, the data in the second table is
refreshed. When the user has selected one or more entries in the
second table, he can click on a button Process. The selected lines are
carried over to a second page, where the selected entires are
displayed and where the user can confirm the processing of the
entries. On the second page, there is also a Back-button. When the
Back-button is pressed, the user is taken back to the first page.
However, on the first page, the selections are gone. All selection
boxes are empty. This is not what I want.

In both tables, I have included a line to bind the selection state to
an attribute in the backing bean, like so:
selectionState="#{warehouseBean.shipmentSelections }". The backing bean
contains the required getters and setters.

Does anyone know why the selections are not redisplayed?

Thanks in advance,

Ewout


Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: selectionState not redisplayed - 04-24-2007 , 10:05 AM






Ewout wrote:
Quote:
(I don't know if I'm posting this question to the right news group. If
not, then please excuse me, and please point me to a more appropriate
group.)

I have created a page with two af:table components. The first table is
a tableSelectOne, and the second a tableSelectMany. When the user
selects an entry in the first table, the data in the second table is
refreshed. When the user has selected one or more entries in the
second table, he can click on a button Process. The selected lines are
carried over to a second page, where the selected entires are
displayed and where the user can confirm the processing of the
entries. On the second page, there is also a Back-button. When the
Back-button is pressed, the user is taken back to the first page.
However, on the first page, the selections are gone. All selection
boxes are empty. This is not what I want.

In both tables, I have included a line to bind the selection state to
an attribute in the backing bean, like so:
selectionState="#{warehouseBean.shipmentSelections }". The backing bean
contains the required getters and setters.

Does anyone know why the selections are not redisplayed?

Thanks in advance,

Ewout
It might be easier to help you if somewhere in what you posted you
had included a product name and a version.

Otherwise the answer is 42.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.