Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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

Win a copy of The Software Craftsman this week in the Agile forum!
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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: dynamic panel grid binding