I try that, when the user press on return key... the view is reload... i like to make a submit, how ?
<i:tableView display="group">
<i:rowGroup title="Recherche - Personnels">
<i:rowItem>
<h:inputText id="Nom" size="20" value="#{staffController.name}"
validator="NameValidator" minimum="2" maximum="20"
regex="[A-z][ \-àâäéèëêîïôöùûüçA-z][ \-àâäéèëêîïôöùûüçA-z]*"
>
</h:inputText>
</i:rowItem>
</i:rowGroup>
<p:commandLink id="submit" actionListener="#{staffController.search}"
update="messages, Nom, personsList" style="margin:10px;"
styleClass="whiteButton">Chercher</p:commandLink>
<p:commandLink actionListener="#{staffController.reset}"
update="messages, Nom, personsList" style="margin:10px;"
styleClass="grayButton">Annuler</p:commandLink>
</i:tableView>
enter key inputText make reset and no submit
-
- Information
-
Who is online
Users browsing this forum: No registered users and 33 guests