[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-580) org.jboss.seam.core.Validation.validate() method does not work for alternative property expression format: #{entity[fieldName]}

Andrew Pople (JIRA) jira-events at jboss.com
Mon Dec 11 22:14:38 EST 2006


org.jboss.seam.core.Validation.validate() method does not work for alternative property expression format: #{entity[fieldName]}
-------------------------------------------------------------------------------------------------------------------------------

                 Key: JBSEAM-580
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-580
             Project: JBoss Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.0.CR2
         Environment: JBoss 4.0.5,  Seam 1.1.0.CR, Windows XP Professional
            Reporter: Andrew Pople


The Validation.validate is hard coded to look for propertyExpressions of the form "#{entity.property}.   It throws: "java.lang.RuntimeException: not an attribute value binding: #{entity[property]} when given the alternative square-bracket syntax for retrieving bean properties.   

-- 
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