Created
May 18, 2014 21:52
-
-
Save staroselskii/62faa3e25938246e1853 to your computer and use it in GitHub Desktop.
JSF lab9
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
<div> | |
<ui:insert name="X"> | |
<p:inputText id="xIT" value="#{Point.x}" required="true" converterMessage="Coordinate X is not double in range [-3..3]" validator="XValidator"> | |
<span>X: </span> | |
<f:ajax event="blur" render="xMessage"/> | |
<f:ajax event="blur" render="xMessages"/> | |
</p:inputText> | |
<h:message id="xMessage" for="xIT"/> | |
<h:messages id="xMessages" for="xIT"/> | |
</ui:insert> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment