RogerV wrote:
>
>
>
> Gabriel Belingueres-2 wrote:
>>
>> The <s:iterator> tag (without the var attribute) push the current item
>> to the top of the ValueStack.
>> <s:property/> will get the value from the top of the stack.
>>
>> IMHO, I think this is a bad coding idiom. I don't like to think too
>> much where the data came from.
>>
>
> Actually what I was asking is how to to access the value of <s:property/>
> within other tags. So for example,
>
> <sj:tabbedpanel id="mytabs2" selectedTab="1">
> <s:iterator status="status" value="config.groupList">
>
> <s:url id="url" action="get-ccf-data" method="getParameterList">
> <s:param name="displayGroup" value="<s:property/>"/>
> </s:url>
>
> <sj:tab id="tab%{#status.index}" href="%{url}"
> label="<s:property/>"/>
> </s:iterator>
> </sj:tabbedpanel>
>
> doesn't work. I don't get any paramters on the URL in the generated .html
> and the tabbed headers all have the String value "<s:property/>"
> rather than the value of <s:property/>
>
> Regards
>
>
>
>>
>>
>> Actually, what I see in the sj:tab label tag is the escaped < and >
>> characters ie "& lt " and "& gt " - Nabble appears to have translated
>> them back ...
>>
>> 2010/1/7 RogerV <roger.var...@googlemail.com>:
>>>
>>> Hi
>>>
>>> <s:iterator status="stat" value="config.groupList" >
>>> <s:url id="url1" action="get-ccf-data" method="getParameterList">
>>> <s:param name="displayGroup" value="<what goes here?>"/>
>>> </s:url>
>>> <s:a href="%{url1}"><s:property/></s:a>
>>> </s:iterator>
>>>
>>> The iterator is returning a string value on each iteration - what's the
>>> incantation to get the value of <s:property/> into the value parameter
>>> of
>>> the param tag?
>>> --
>>> View this message in context:
>>> http://old.nabble.com/How-to-nest-Struts-Tags-tp27062761p27062761.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>
>
--
View this message in context:
http://old.nabble.com/How-to-nest-Struts-Tags-tp27062761p27072129.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org