You can use "../" or "../../" depending on the backward level one would like
to go or "\" to go to the root.. just like directory structure
<nested:form action="/Test">
      <nested:nest property="nodeDetails">
           <nested:link action="/Test1" paramID="something"
 paramProperty="../Name">A Link</nested:link>
<<<--------------This solves it. :-)
      </nested:nest>
 </nested:form>

----- Original Message -----
From: "Rajesh M Vasudevan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, September 28, 2003 9:36 PM
Subject: [Question] NESTED Tag - Get value from parent object


> Hi,
>
> In the nested tag, if I'm at the L3 level of nesting, can I take a value
> from L2 or L1 level of the tag?
>
> e.g: if Test has a getter method getName
> <nested:form action="/Test">
>      <nested:nest property="nodeDetails">
>           <nested:link action="/Test1" paramID="something"
> paramProperty="Name" paramName=":::::want to give the form of the action
> /Test::::">A Link</nested:link>
>      </nested:nest>
> </nested:form>
>
> Thanks,
> Rajesh
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to