This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes SelectListener for DataTable populated with ActionListener - infact if the initial size = 0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "SelectListener for DataTable populated with ActionListener - infact if the initial size = 0" Watch "SelectListener for DataTable populated with ActionListener - infact if the initial size = 0" New topic
Author

SelectListener for DataTable populated with ActionListener - infact if the initial size = 0

Pratham Developer
Greenhorn

Joined: Aug 25, 2011
Posts: 1
Hi,

I populated a DataTable in a DialogBox using a ActionListener on a dock menu-item. But after the data is populated the SelectionListener even doesn't get fired for the populated DataTable.

Is it necessary for the DataTable to be populated while rendering the DOM in order for SelectionListener to work?

Please reply. My whole architecture of project is based of this component and it failed.

Thanks...






I tried putting everything in the same form but it didn't work either:



The method "taskController.onRowSelect" is not being called after the list is populated with using "Populate List" button with an actionListener.


Also the pagination and filtering do not work when populated with actionListener. My object is Serializable.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SelectListener for DataTable populated with ActionListener - infact if the initial size = 0