File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes dynamic panel grid binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "dynamic panel grid binding" Watch "dynamic panel grid binding" New topic
Author

dynamic panel grid binding

Nasim Salehi
Greenhorn

Joined: Oct 23, 2007
Posts: 9
Hi all,
I've tried to build a dynamic UI component in JSF, with a map that values are bound to it (and all of components are added as children to the PanelGrid tag's component).
Any time user clicks on add button 3 new input fields are generate in backing bean and my page rerender.
The problem is : after rendering I can't see values binding to HtmlInputTexts,in fact the values are empty.
Here is the code:
managed bean:


And the jsf page:

Can anybody help me?
 
Consider Paul's rocket mass heater.
 
subject: dynamic panel grid binding
 
Similar Threads
Dynamic Component in JSF
generate UI with binding-attribute
Retrieve selected values from dynamically generated HtmlSelectManyListBox
Calendar display
How to add new text boxes and check boxes dynamically when clicking on button in JSF