This content has been marked as final.
Show 3 replies
-
1. Re: h:messages for Authenticator
christian.bauer Jun 12, 2007 6:30 PM (in response to tonylmai)Well, you add() a global message but only display messages that have been added for="dialog" component.
-
2. Re: h:messages for Authenticator
tonylmai Jun 12, 2007 7:14 PM (in response to tonylmai)You're right.
However, after I've added a panel with id for the message, it's still not displayed.<a4j:outputPanel id="loginPanel"> <h:panelGrid rendered="#{! empty facesContext.maximumSeverity}"> <h:messages for="loginPanel" styleClass="message" /> </h:panelGrid>
Is there anything that I could have erred that caused this message to be dropped after the Authenticator.authenticate() method called?
Thanks -
3. Re: h:messages for Authenticator
jazir1979 Jun 12, 2007 7:46 PM (in response to tonylmai)
But it's still a global message, not "for" your loginPanel. Either remove the "for" and display your global messages, or use facesMessage.addToControl() in the code."tonylmai" wrote:
You're right.
However, after I've added a panel with id for the message, it's still not displayed.<a4j:outputPanel id="loginPanel"> <h:panelGrid rendered="#{! empty facesContext.maximumSeverity}"> <h:messages for="loginPanel" styleClass="message" /> </h:panelGrid>
Is there anything that I could have erred that caused this message to be dropped after the Authenticator.authenticate() method called?
Thanks