Announcement Announcement Module
Collapse

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions (http://www.springsource.org/extensions) project, this forum has been decommissioned in favour of Spring Extensions one at:
http://forum.springsource.org/forumdisplay.php?f=44

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Cheers,
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
See more
See less
Acess non member class in the rule + BVF Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Acess non member class in the rule + BVF

    Hi ,

    Is there any way i can refer to another class while specifying the rule for a particular class. I am using Bean validation Framework.

    eg:-

    Code:
    <class name="org.something.A">
      <property name="firstName">
         <expression condition="enumSize.name == org.something.anotherclass.methodName" message="Incorrect value"/>
    	  
      </property>
    </class>

    can someone tell me how i can access another class inside the rule of class A. Is this possible?

    Thanks for ur help

Working...
X