File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

dynamic panel grid binding

Nasim Salehi

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?
I agree. Here's the link:
subject: dynamic panel grid binding
jQuery in Action, 3rd edition