struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoying, Ken" <Ken_Hoy...@PremierInc.com>
Subject [S2] How to Validate Indexed Lists?
Date Thu, 12 Jul 2007 18:48:48 GMT

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.  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message