Hello and thank you very much in advance for reading! A quick one first -
been using Struts for over a year now - what a brilliant code base!! Saves
time and forces elegance. Fantastic.

Could somebody tell me, is the following possible to implement using sta?

I want to use the Struts model correctly to implement a page that has this
layout:

<form name="" action="..">

<input type="radio" name="a.ac.own" value="na">
<input type="radio" name="a.ac.own" value="ro">
<input type="radio" name="a.ac.own" value="rw">

<input type="radio" name="a.ac.all" value="na">
<input type="radio" name="a.ac.all" value="ro">
<input type="radio" name="a.ac.all" value="rw">

<input type="radio" name="b.ac.own" value="na">
<input type="radio" name="b.ac.own" value="ro">
<input type="radio" name="b.ac.own" value="rw">

<input type="radio" name="b.ac.all" value="na">
<input type="radio" name="b.ac.all" value="ro">
<input type="radio" name="b.ac.all" value="rw">

...

</form>

what would then be in the ActionForm?

Say if I have a HashMap in the ActionForm that contained the Names and
Values pairs, would Struts populate the HashMap with the values from the
form?

Is there a standard mechanism for writing out the radios from a HashMap?
I've been racking my brain over this for a few days now, and can't see a
"tidy" solution based purely onsdtandard Struts custom tags and classes.

Any advice/ideas about how to do this would be very greatfully
appreciatted!!

Thanks,

Mike


=**********************************************************

If you are not the intended recipient, employee or agent responsible for delivering 
the message to the intended recipient, you are hereby notified that any dissemination 
or copying of this communication and its attachments is strictly prohibited.

If you have received this communication and its attachments in error, please return 
the original message and attachments to the sender using the reply facility on e-mail.

Internet communications are not secure and therefore the UCLES Group does not accept 
legal responsibility for the contents of this message.  Any views or opinions 
presented are solely those of the author and do not necessarily represent those of the 
UCLES Group unless otherwise specifically stated.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses although this does not guarantee that 
this email is virus free.

**********************************************************=



***********************************************************

If you are not the intended recipient, employee or agent responsible for delivering 
the message to the intended recipient, you are hereby notified that any dissemination 
or copying of this communication and its attachments is strictly prohibited.

If you have received this communication and its attachments in error, please return 
the original message and attachments to the sender using the reply facility on e-mail.
Internet communications are not secure and therefore the UCLES Group does not accept 
legal responsibility for the contents of this message.  Any views or opinions 
presented are solely those of the author and do not necessarily represent those of the 
UCLES Group unless otherwise specifically stated.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses although this does not guarantee that 
this email is virus free.

***********************************************************

Reply via email to