Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

dynamic panel grid binding

Nasim Salehi
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!