[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2809) s:inputPassword
Yuriy Lazarev (JIRA)
jira-events at lists.jboss.org
Fri May 8 12:05:46 EDT 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-2809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12466549#action_12466549 ]
Yuriy Lazarev commented on JBSEAM-2809:
---------------------------------------
This implicit required = true (org.jboss.seam.ui.renderkit.EqualityValidationRendererBase:46 = evh.setRequired(true);) makes impossible to achieve such behavior:
1) If both password fields are blank then its ok - user doesn't want to change his old password.
2) If there is any text in one of the fields - check if values are equal and update password only if they are.
At the moment _validation fails every time when both fields are empty (=equal)_
> s:inputPassword
> ---------------
>
> Key: JBSEAM-2809
> URL: https://jira.jboss.org/jira/browse/JBSEAM-2809
> Project: Seam
> Issue Type: Feature Request
> Components: JSF Controls
> Reporter: Pete Muir
> Assignee: Daniel Roth
> Fix For: 2.1.0.GA
>
> Attachments: JBSEAM-2809.patch
>
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list