you can also use <s:checkboxlist http://struts.apache.org/2.0.6/docs/checkboxlist.html so in your case take myList and use it to set the list attribute as in this example <s:checkboxlist name="foo" list="myList"/>
M- ----- Original Message ----- From: "Kibo" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, March 24, 2008 2:38 PM Subject: Re: key property of s:checkbox tag > > Hi > > I dont know whether I good understant, but the interface Set have not KEY. > Supply the Set to List or Map. > > Then you can use: > <s:iterator value="%{myList}"> > <s:checkbox label="value" name="key" value="true" /> > </s:iterator> > > -------------------------------------------------------------------------- ----------------------------------- > Tomas Jurman > Czech Republic > -- > View this message in context: http://www.nabble.com/key-property-of-s%3Acheckbox-tag-tp16241092p16259170.h tml > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

