Hi,
i'm using <s:param> inside an <s:url> tag to dynamically generate the
appropriate url params. In my current example i only need one parameter,
so in order to add the parameter value dynamically to the url, i can do
so here:
<s:url><s:param name=myParam/></s:url><%=whateverObject.getBlurb()%>
So i have a situation were i can do what i currently need, but once i
need more than one parameter with dynamic values for each of them, i
already see that i'm running into a problem.
I think that the culprit is that the value= attribute of the <s:param>
tag is defined with rtexprvalue=false (in the tld), so trying to use a
dynamic value directly inside the <s:param> tag of course yields a
runtime error.
What is the reasoning behind restricting the value= attribute to
non-runtime values only?
How would one create a url with multiple url parameters? I know how to
do this by hand using plain old Java code, i'd like to know what S2 has
to offer in this regard.
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org