[
http://jira.jboss.com/jira/browse/JBSEAM-2809?page=comments#action_12411234 ]
Kem Elbrader commented on JBSEAM-2809:
--------------------------------------
A more general approach would be more useful. For example, it is also common to need to
confirm an email address the same way as a password.
I suggest:
Email:
<h:inputText id="email"/>
Confirm Email:
<h:inputText>
<s:validateEqual for="email"/>
</h:inputText>
An inputPassword component could be composed from this.
s:inputPassword
---------------
Key: JBSEAM-2809
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2809
Project: Seam
Issue Type: Feature Request
Components: JSF Controls
Reporter: Pete Muir
Assigned To: Pete Muir
Fix For: 2.1.0.BETA1
Extension of h:inputSecret.
Renders two input fields. Attaches a validator by default that checks both fields are the
same. Use like
<s:inputPassword value="#{identity.password}" />
Advantages: No backing bean logic required, validation done at correct point
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira