If i put:
<s:checkbox name="skillCode" key="%{skillCode}"/>
skillCode being the property of object in a set whihc i iterate over,
doesn't work.
Randy Burgess-3 wrote:
>
> Have you tried this syntax?
>
> <s:checkbox name="skillCode" key="%{propertyGoesHere}"/>
>
> Regards,
> Randy Burgess
> Sr. Web Applications Developer
> Nuvox Communications
>
>
>
>> From: "Emil.I" <[EMAIL PROTECTED]>
>> Reply-To: Struts Users Mailing List <[email protected]>
>> Date: Mon, 24 Mar 2008 10:23:07 -0700 (PDT)
>> To: <[email protected]>
>> Subject: Re: key property of s:checkbox tag
>>
>>
>> So can i nest s:property within. Eg.:
>>
>> <s:checkbox name="skillCode" key="<s:property/>"/>
>>
>> the preceeding doesn't work. Is there anyway not including the solution,
>> where you put s:property tag beside s:checkbox, but actually setting the
>> key
>> property of
>> s:checkbox tag with skillCode?
>>
>>
>> Emil.I wrote:
>>>
>>> Hello,
>>> i iterate through a set and for 'key' i want to use the property of an
>>> iterable element. eg:
>>>
>>> <s:iterator value="job.skills" id="skill" status="status">
>>> <s:checkbox name="skillCode" key="?????"/>
>>> </s:iterator>
>>>
>>> skillCode is a string property of Skill object and i want it to be
>>> assigned to skill property
>>> of the s:checkbox tag. What is the syntax?
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>>
> http://www.nabble.com/key-property-of-s%3Acheckbox-tag-tp16241092p16256658.htm>
> l
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>
> This email and any attachments ("Message") may contain legally privileged
> and/or confidential information. If you are not the addressee, or if this
> Message has been addressed to you in error, you are not authorized to
> read, copy, or distribute it, and we ask that you please delete it
> (including all copies) and notify the sender by return email. Delivery of
> this Message to any person other than the intended recipient(s) shall not
> be deemed a waiver of confidentiality and/or a privilege.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/key-property-of-s%3Acheckbox-tag-tp16241092p16257814.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]