You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by jolly <jo...@mislbd.com> on 2004/04/04 06:18:12 UTC
indexedlistproperty validation problem
Hi,
I have face another validation problem to validate indexedListProperty.
My validator is like folloeing
<field property="quantityAsString" indexedListProperty="lineItemArray"
depends="double,doubleRange">
<arg0 key="product.quantityAsString"/>
<arg1 name="doubleRange" key="${var:min}" resource="false"/>
<arg2 name="doubleRange" key="${var:max}" resource="false"/>
<var><var-name>min</var-name><var-value>0</var-value></var>
<var><var-name>max</var-name><var-value>10000</var-value></var>
</field>
But this doesnt work. What is the wrong here? Please reply ASAP.
--
jolly
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: indexedlistproperty validation problem
Posted by Mark Lowe <ma...@boxstuff.com>.
Lets have a butchers (look) at the action form (dyna or otherwise) and
jsp..
Does it work if you just validate as required? or is your problem
specify to the validations you're performing?
On 4 Apr 2004, at 06:18, jolly wrote:
> Hi,
> I have face another validation problem to validate indexedListProperty.
> My validator is like folloeing
> <field property="quantityAsString" indexedListProperty="lineItemArray"
> depends="double,doubleRange">
> <arg0 key="product.quantityAsString"/>
> <arg1 name="doubleRange" key="${var:min}"
> resource="false"/>
> <arg2 name="doubleRange" key="${var:max}"
> resource="false"/>
>
> <var><var-name>min</var-name><var-value>0</var-value></var>
>
> <var><var-name>max</var-name><var-value>10000</var-value></var>
> </field>
> But this doesnt work. What is the wrong here? Please reply ASAP.
>
> --
> jolly
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org