hi,

i've a form bean with a map backed propery namend "orderedNumber". This
property returns the number of ordered items for a given product id, eg.
"getOrderedNumber(423)" returns the number of ordered items for the product
with id=423.
i want to validate the input (which is stored int the property
orderedNumer(xx)) of a user for a product if it is a valid integer.
the html form contains a list of html input tags with
name="orderedNumber(xx)" where xx is an integer (the product id).

problem is, for validation, i don't know the product id beforehand as this
is NOT a list backed property.

how can i write a validation for such a map backed property if i don't know
the parameter for the getter, what do i need to define in the <field
property="yyy"> attribute?

kr,
guenther

Reply via email to