my dog learned polymorphism*
The moose likes JSF and the fly likes Change rows property of ADF Table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
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://aspose.com/file-tools
 
subject: Change rows property of ADF Table
 
Similar Threads
JSF onchange event on SelectOneListbox
Display value of 'checked' radio button
Refreshing data model bound to data table
Can't get JSF selectOneMenu to show list of items
Seam/RichFaces - extendedDataTable, datascroller, and changeable page size