I agree it's not real intuitive, but <s:iterator/> places its object on the
*top* of the value stack and it can be accessed via <s:property/>.

On Sun, Mar 23, 2008 at 3:41 PM, Emil.I <[EMAIL PROTECTED]> 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-tp16241092p16241092.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]
>
>


-- 
Scott
[EMAIL PROTECTED]

Reply via email to