This content has been marked as final.
Show 2 replies
-
1. Re: select one menu item It display some comment and one inputtextbox
damianharvey.damianharvey.gmail.com Sep 9, 2008 3:43 PM (in response to gopib)Your selectOneMenu is not bound to anything on the back-end.
Try something like : <h:selectOneMenu styleClass="formColumnInputText" required="true" value="#{uiRenderer.title}" > and add the relevant title field to your UiRenderer class (with getter + setter).
You'll also probably want to check the value of title before you set visibile to true or false.
Cheers,
Damian.
-
2. Re: select one menu item It display some comment and one inputtextbox
gopib Sep 10, 2008 7:33 AM (in response to gopib)I am trying to this code also
<h:selectOneMenu styleClass="formColumnInputText" required="true" value="#{uiRenderer.title}" >
and writing to setters and getter in title
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
this.setVisible(true);
}
But same problem can't display what happen please any body tell me, thank's