Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Passing arguments key dynamically in validation.xml

Prithivirajan Dhamodharan

2007-03-21


Hi All,

Is there any way to pass the argument value dynamically,

say,
<field property="complianceGroupId" depends="required">
          <msg name="required" key="errors.required"/>
          <arg position="0" name="required" key="label.testGroup"
                        resource="true"
bundle="emission_lables"/>
</field>

Here, i need to change the key based on another form field name workflow.
©2008 junlu.com - Jax Systems, LLC, U.S.A.