dynamic input field

View: New views
2 Messages — Rating Filter:   Alert me  

dynamic input field

by Nasim_sa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 generated in backing bean and my page rerenders. The problem is : after rendering I can't see values binding to HtmlInputTexts,in fact the values are empty. Related code is attached. InputFieldGeneration.javaformGeneration.jspCan anybody help me?

Re: dynamic input field

by meraj_zia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Plz post some code...


meraj
Nasim_sa wrote:
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 generated in backing bean and my page rerenders.
The problem is : after rendering I can't see values binding to HtmlInputTexts,in fact the values are empty.
Related code is attached.
InputFieldGeneration.javaformGeneration.jspCan anybody help me?