A teammate of mine was looking at Shale's support for Commons
Validator, and I noticed that the validation parameters are specified
as tag attributes:

<s:commonsValidator
    type="floatRange"
    min="10"
    max="1000"
    arg="#{messages['prompt.amount']}"
    server="true"
    client="true"/>

This would, of course, limit the possible params that can be
specified.  Can we change it to something like this instead?

<s:commonsValidator
    type="floatRange"
    arg="#{messages['prompt.amount']}"
    server="true"
    client="true">
    <s:validatorVar name="min" value="10"/>
    <s:validatorVar name="max" value="1000"/>
</s:commonsValidator>

Hubert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to