Wes Wannemacher wrote:
> 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.
>   

    readability.  i think the above is tougher to maintain than using a
reference to a <s:url> tag, especially when you consider that that was a
trivial example... there may be multiple params, and some of the values
to be passed may, themselves, be somewhat convoluted.
would it work?  sure...  i was just hoping for something a little more
slick and concise.

    as musachy pointed out, it may be that i'm overcomplicating, and i'm
going to test that out straight away... 


    thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to