validation and action problem
[nobr]Hello,
i've got a little problem.
i developed a test-application with page where you can fill in an e-mail address.
<h:form>
<h:inputText id="email" value="#{selberValidierenBean.email}" required="true" maxlength="50">
<f:validator validatorId="MailValidator"/>
</h:inputText>
<h:message for="email"/>
<br/>
<h:commandButton value="Senden" action="#{selberValidierenBean.etwasTun}" />
</h:form>
so far.
if the user types in a wrong value a message appears.
now the problem:
scenario: user types 5 times a wrong, the sixth time a right email
this means:
the action will be executed 6 times.
My question: Why, and how can i avert this?
Thanks for helping ;-)
Message was edited by:
alex-ger[/nobr]

