Stephen Ince
Thu, 04 Feb 2010 04:45:11 -0800
I am using struts 2 and I am trying to use the validation framework. I am having difficulty trying to validate a list.
e.g
workspaces[0].name
workspaces[1].name
workspaces[2].name
workspaces[3].name
workspaces[4].name
workspaces[5].name
I would like to require name.
I have tried the following but it does not seem to work.
<field name="workspaces.name">
<field-validator type="required">
<field name="workspaces[].name">
<field-validator type="required">
Any help would be appreciated.
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org