aspose file tools
The moose likes JSF and the fly likes Change rows property of ADF Table Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Change rows property of ADF Table" Watch "Change rows property of ADF Table" New topic
Author

Change rows property of ADF Table

Brian Smith
Ranch Hand

Joined: May 20, 2005
Posts: 63
I am trying to set the rows property of an af:table object based on the value of a drop down box (af:selectOneChoice)



I have tried this a number of ways but can't get the table to pick up the change unless I do a browser page refresh. I have the autoSubmit property of the drop down box set to true. It is bound to the rows property of my backing bean (which is also bound to the table rows property)



Here is the code from by backing bean. (accountBacking)



I am attempting to pass the rows and first property of the table into the process scope (an adf specific scope) and then look them back up during the constructor. The backing bean is request scoped. I do no want to use a session scoped bean because I don't want to have to deal with thread safety.
Brian Smith
Ranch Hand

Joined: May 20, 2005
Posts: 63
Here is the solution

http://forums.oracle.com/forums/thread.jspa?messageID=1486437�
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Change rows property of ADF Table
 
Similar Threads
Refreshing data model bound to data table
Seam/RichFaces - extendedDataTable, datascroller, and changeable page size
Can't get JSF selectOneMenu to show list of items
Display value of 'checked' radio button
JSF onchange event on SelectOneListbox