You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hoying, Ken" <Ke...@PremierInc.com> on 2007/07/10 22:49:43 UTC

[S2] How to Validate Indexed Lists?

I am using the Type Conversion functionality
(http://struts.apache.org/2.x/docs/type-conversion.html) for handling
indexed lists.  BTW.. Very cool stuff and worked great right off.  

My question is that I would now like to take it one step further and use
the XML validation definitions to validate my fields where my fields
will look something like the following:

contracts(1).sharingLevel
contracts(2).sharingLevel
contracts(3).sharingLevel
...
...
contracts(N).sharingLevel


However, I am just not sure how to do this syntactically or if it is
even possible.  I did see one other similar question in the mail list
archive.  However, it did not have any responses.  

Does anyone know if this is possible and if so the correct syntax?

Thanks in advance!



-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.