I have a panel in my Page1.jsp:
<webuijsf:panelLayout binding="#{Page1.dynamicFieldsPanel}"
id="dynamicFieldsPanel" -rave-layout: grid"/>
Then I have this in Page1.java:
private PanelLayout dynamicFieldsPanel = new PanelLayout();
public void setDynamicFieldsPanel(PanelLayout pl)
{
this.dynamicFieldsPanel = pl;
}
public PanelLayout getDynamicFieldsPanel()
{
TextField textField = new TextField();
this.dynamicFieldsPanel.getChildren().add(textField);
return dynamicFieldsPanel;
}
How do I bind my dynamic TextField to something so I can retrieve the value entered by the user?