Date: 2004-05-12T12:56:16
Editor: StephenLloyd <[EMAIL PROTECTED]>
Wiki: Apache Struts Wiki
Page: StrutsDocNewbie
URL: http://wiki.apache.org/struts/StrutsDocNewbie
validwhen
Change Log:
------------------------------------------------------------------------------
@@ -26,3 +26,15 @@
...
</action-mappings> }}}
+
+
+Just an FYI, the documentation for 'validwhen' shows the <var-value> tag as ending
with </test>
+
+<field
+ property="pregnancyTest" depends="validwhen">
+ <arg0 key="medicalStatusForm.pregnancyTest.label"/>
+ <var>
+ <var-name>test</var-name>
+ <var-value>((((sex == 'm') OR (sex == 'M')) AND (*this* == null)) OR (*this* !=
null))</test>
+ </var>
+</field>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]