Skip to content

Instantly share code, notes, and snippets.

@staroselskii
Created May 18, 2014 21:52
Show Gist options
  • Save staroselskii/62faa3e25938246e1853 to your computer and use it in GitHub Desktop.
Save staroselskii/62faa3e25938246e1853 to your computer and use it in GitHub Desktop.
JSF lab9
<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