first I tried to set it in the jsp-file:
...
<h:outputText styleClass="outputText" id="text2" rendered="false" value="# {msg.loginQuery_enterUsername}"></h:outputText>
...
but then it didn't pick the value from the bean.
after I tried to set the HtmlOutputText not to be rendered in the action-method but I got a NullPointerException.
...
public String doButton1Action() {
...
text2.setRendered(false);
...
return "";
}
Message was edited by:
Frucade