It seems like you are created a variable variable name... I am
assuming that there is a reason why you are using <s:a /> and wanting
to refer to the constructed URL by id, rather than just doing the
following -
<a href="<s:url namespace="/" action="linkAction">
<s:param name="count" value="%{count}" />
</s:url>">blah</a>
In an iterator, rather than constructing a name and trying to use OGNL
to unravel that name, I'd just construct the URL in a plain ol' <a />
tag.
-Wes
On Wed, Mar 11, 2009 at 4:21 PM, mitch gorman <[email protected]> wrote:
> mitch gorman wrote:
>> okay, can anyone (musachy, david, martin, i'm looking in your
>> direction!) tell me how to do what i'm trying to do, here?
>>
>> i've got a list of items i'm iterating over. for each item, i want
>> to have one or more links to actions, with parameterization from the
>> item's data. this means, using a unique value for each <s:url> tag's id
>> attribute. the trouble comes in trying to reference the unique id value
>> in my <s:a> tag.
>>
>
> forgot to mention, v2.0.14.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]