If you want the outputText to be able to change/vanish as the user
types, an AJAX framework could help you out. They do all kinds of stuff
like that, check out this example... the text changes as you type, but
it could just as easily disappear.
[1] http://livedemo.exadel.com/a4j-numberguess-facelets/guess.jsf
Regards,
Jeff Bischoff
Kenneth L Kurz & Associates, Inc.
Julien Martin wrote:
Hello,
I would like for an outputText element to be hidden (i.e. not rendered)
when
the corresponding inputText element has input and validated (by a standard
tag-based validator). Is that possible?
<h:outputText id="age-label" rendered="??" value="Fill in your age"/>
<h:inputText id="age" value="#{MyBean.age}" required="true">
<f:validateLongRange minimum="5"/><!-- Notice that this is not an inline
validator -->
</h:inputText>
Thanks in advance,
Julien.