Created
August 17, 2012 15:18
-
-
Save ova2/3379782 to your computer and use it in GitHub Desktop.
Context for Focus is ignored
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
<p:messages/> | |
<p:focus context="secondGrid"/> | |
<h:panelGrid columns="2" style="margin-bottom:10px;"> | |
<h:outputLabel value="Dummy *"/> | |
<p:inputText required="true" label="Dummy"/> | |
</h:panelGrid> | |
<h:panelGrid id="secondGrid" columns="2"> | |
<h:outputLabel for="firstname" value="Firstname *"/> | |
<p:inputText id="firstname" required="true" label="Firstname"/> | |
<h:outputLabel for="surname" value="Surname *"/> | |
<p:inputText id="surname" required="true" label="Surname"/> | |
</h:panelGrid> | |
<p:commandButton value="Submit" update="@form" style="margin-top:10px;"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment