I'm using Appfuse M4, Struts2. My question is with respect to this tutorial:
http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-validation

I have an object "Question" that has a list of "Answer", each answer object
has a String field "label". The page where I would like to do validation has
an "add" button to add multiple answers. My validation should check that
none of the question.answers.label fields are empty.

I'm wondering if I can specify this via xml for xWork just like the tutorial
does for regular fields. If not then I'm pretty sure I can easily do it via
custom validation in java.

thanks,
Philip

-- 
View this message in context: 
http://www.nabble.com/Validate-list-of-objects-via-xWork%27s-xml--tf3807507s2369.html#a10775986
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to