You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Emmanouil Batsis <Em...@eurodyn.com> on 2004/10/07 14:35:23 UTC

validwhen help

Hi, 

Although my validator rule is interpeted just fine, 
an empty string message is produced for this specific error 
using the html:errors tag. Can someone please tell me what 
am i missing? My properties file works for all other rules and 
has a property formname.field...

Thanks,

Manos


<field property="time" depends="validwhen">
   <arg0 key="formname.field"/>
   <var>
      <var-name>test</var-name>
      <var-value>((type != 'time') or (*this* >= 1))</var-value>
   </var>
</field>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org