I have a selected bean and I can display its fields using h:outputtext with no problem but this cannot be done by using h:inputtext.
This works fine no problem with it
<h:outputText value="Username :"></h:outputText>
<h:outputText value="#{userController.selectedUser.username}" />
But this one doesn’t work at all! The input text is showing blank.
<h:outputText value="Username :"></h:outputText>
<h:inputText value="#{userController.selectedUser.username}" />
What am I missing here? Has anyone experienced such a problem?
Will appreciate any help.
Cheers…
(primefaces 3.5, mojarra 2.1, ejb 3.1, jsf 2.1, netbeans 7.2, glassfish 3.2)
This is what i could come up with. I dont really know what can be cause. If you use another bean does it work? Does it work if you change the position of the tag, maybe directly under body? If not does it work if you strip everything else?
If something works compare rendered source. I like to use winmerge for that. Good luck