Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dynamic panel grid binding

 
Nasim Salehi
Greenhorn
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic