ok,
But can I set the value of the param inside <s:url> from teh <s:a> tag?
Something like:
<s:url id="url" action="AnyThing" >
<s:param name="month" value="???"/>
</s:url>
<s:a href="%{url}" ???>March</s:a>
<s:a href="%{url}" ???>April</s:a>
The real question is, how to pass a value of a param from <s:a> to <s:url>?
thanks any way...
Dave Newton-4 wrote:
>
> --- Felipe Rodrigues wrote:
>> Is it possible to send a dinamic parameter using
>> <s:a..> tag?
>
> Sure.
>
> Since the "href" attribute needs to be built with
> <s:url.../> anyway, see:
>
> http://struts.apache.org/2.x/docs/url.html
>
> d.
>
>
>
>
> ____________________________________________________________________________________
> Finding fabulous fares is fun.
> Let Yahoo! FareChase search your favorite travel sites to find flight and
> hotel bargains.
> http://farechase.yahoo.com/promo-generic-14795097
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Dinamic-param-using-anchor-%28s%3Aa%29--tf3446629.html#a9614880
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]