struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Turner" <stur...@MIT.EDU>
Subject Re: Re : s:url tag - multiple params with same name
Date Mon, 09 Aug 2010 14:33:54 GMT
On Fri, 06 Aug 2010 17:12:10 -0400, Fran├žois Rouxel <rouxelec@yahoo.com>  
wrote:

> should be working, did you put in s:url tag includeParameters='get' ?
>

Yes, although I don't think that's what includeParams is used for - here's  
my actual code:

<s:url id="xurl" value="a.b" includeParams="get" escapeAmp="false">
     <s:param name="pn" value="'firstval'" />
     <s:param name="pn" value="'secondval'" />
     <s:param name="pn" value="'thirdval'" />
</s:url>

URL 1: <s:property value="xurl"/>


and here's the result:

URL 1: a.b?pn=thirdval

I'm using Struts 2.0.11

Steve

-- 
Stephen Turner
Senior Programmer/Analyst - MIT IS&T

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


Mime
View raw message