Re: Type conversion errors for collections

2009-01-26 Thread Owen Berry
Accidentally found out how to do this: invalid.fieldvalue.deliveryLocations[*].port=Delivery Location Port is invalid Posting it for others who may have the same question. On Mon, Jan 26, 2009 at 1:37 PM, Owen Berry wrote: > I have an action that has a collection of objects. Conversion to and

Type conversion errors for collections

2009-01-26 Thread Owen Berry
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].por