[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2809) s:inputPassword

Frederic Nauleau (JIRA) jira-events at lists.jboss.org
Thu May 29 07:52:46 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2809?page=comments#action_12414767 ] 
            
Frederic Nauleau commented on JBSEAM-2809:
------------------------------------------

I am totally agree with Kem Elbrader, we often need to verify an input (usually email or password...)

This solution will be perfect for most case !

Email: 
<h:inputText id="email"/> 

Confirm Email: 
<h:inputText> 
  <s:validateEqual for="email"/> 
</h:inputText> 

For people who are interested in validating two fields without waiting the feature : http://balusc.blogspot.com/2007/12/validator-for-multiple-fields.html

> 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

        



More information about the seam-issues mailing list