[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-38) XValidation should support converting java fields named with $ into the faces component id separator character

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Jun 17 12:38:46 EDT 2010


    [ https://jira.jboss.org/browse/SEAMFACES-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536127#action_12536127 ] 

Pete Muir commented on SEAMFACES-38:
------------------------------------

I like the idea, but I'm really not in love with the syntax.

Why don't we just specify the naming container at the class level?

> XValidation should support converting java fields named with $ into the faces component id separator character
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: SEAMFACES-38
>                 URL: https://jira.jboss.org/browse/SEAMFACES-38
>             Project: Seam Faces
>          Issue Type: Feature Request
>          Components: UI Components, Validation & Conversion
>            Reporter: Lincoln Baxter III
>
> @Inject @InputField password$input
> == password:input
> no need for the annotation value
> dollar signs become the faces component separator character if you don't provide an annotation value
> if you provide an annotation value, it wins
> @Inject @InputField("form:foo") password$input
> == form:foo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list