I have an action that has a collection of objects. Conversion to and
from the objects in this collection works fine. However, I can't
figure out how to give sensible errors for type conversions that fail.
It's not cool for the user to get:
    Invalid field value for field "deliveryLocations[1].port".

In my action .properties file I can have:
    invalid.fieldvalue.deliveryLocations[0].port=Delivery Location
Port is invalid

This works fine, but I don't want to add 10 of these and then just
hope the user does not enter 11 locations.

Thanks for any suggestions.

Owen

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

Reply via email to