Hi,

what is about rendering the outputText in case if there are no
messages in the FacesContext waiting to be displayed:

FacesContext.getCurrentInstance().getMessages().hasNext()

Place this in a method-binding in the backend. Should work to me.

cheers,

Gerald

On 8/28/06, Michael Heinen <[EMAIL PROTECTED]> wrote:




Hi all,



I have to output some text in the case that there isn't a message for a
component.

How can I achieve this?



<t:inputText id="aField">…

<t:message for ="aField" showDetail …>



<t:outputText value="ok" rendered=??? aField ???



I remember that this has been discussed here but I can't find it anymore.



Michael


--
Gerald Müllan
Schelleingasse 2/11
1040 Vienna, Austria
0043 699 11772506
[EMAIL PROTECTED]

Reply via email to