I have HtmlPanelGroup which is created using binding attribute. This PanelGroup has many
JSF elements like inputText, SelectOneMenu etc.. I am generating the Panelgroup successfully with all the elements.
My question is can I bind a dataObject to the value attribute for the elements under the PanelGroup. If so how will I do this.
For Ex: I am creating a text field inside the panelGroup as follows
HtmlPanelGroup panelGroup = new HtmlPanelGroup();
HtmlInputText inputText = new HtmlInputText();
inputText.setId("someIdVal");
inputText.setValue("someValue");
panelGroup.getChildren().add(inputText )
I am trying to do something like this
HtmlInputText inputText = new HtmlInputText();
inputText.setId("someIdVal");
inputText.setValue("#{someBeanObj.variableName}");
so that when user enters some value in inputTextField , the value gets stored under the mentioned variable.
my xhtml has the following line of code
<ice:panelGroup binding="#{someBean.panelGroup}" />
Any help is appreciated,
Thank you in advance