Created
July 26, 2011 11:07
-
-
Save papousek/1106505 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h:form> | |
<notify:notifyMessages for="number1" stack="topRightStack" ajaxRendered="true" /> | |
<notify:notifyMessages for="number2" stack="bottomRightStack" ajaxRendered="true" /> | |
<notify:notify sticky="false" stayTime="5000" title="Stack 1" text="Details of the message" stack="topRightStack"/> | |
<notify:notify sticky="false" stayTime="5000" title="Stack 2" text="Details of the message" stack="bottomRightStack"/> | |
<notify:notifyStack id="topRightStack" styleClass="topRight" stackDir1="up" stackDir2="left" push="bottom"/> | |
<notify:notifyStack id="bottomRightStack" styleClass="bottomRight" stackDir1="up" stackDir2="left" push="bottom"/> | |
<h:outputLabel for="number1" value="Number for Stack 1"/> | |
<h:inputText id="number1" required="true"> | |
<f:validateLongRange minimum="5" maximum="10"/> | |
<a4j:ajax event="change" execute="@form"/> | |
</h:inputText> | |
<h:outputLabel for="number2" value="Number for Stack 2"/> | |
<h:inputText id="number2" required="true"> | |
<f:validateLongRange minimum="5" maximum="10"/> | |
<a4j:ajax event="change" execute="@form"/> | |
</h:inputText> | |
</h:form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment