Does this do what you're asking?  It's a little vague what you want.

<h:outputText id="age-label" rendered="#{null == MyBean.age}"
value="Fill in your age"/>

On 4/4/07, Julien Martin <[EMAIL PROTECTED]> 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.

Reply via email to