struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [S2] <s:a> using <s:param ...
Date Thu, 05 Apr 2007 10:57:29 GMT
Thanks for the advice.  Your example does work and is a little bit  
neater than the example.  I'll use you suggested way from now on.

It might be an idea to either update the documentation to use this  
method or to raise a bug as the documented example does not work.

Thanks again,


On 5 Apr 2007, at 11:47, MK Tan wrote:

> have u try this
> <s:url id="url" action="DoIt" >
> <s:param name="id" value="1"/>
> </s:url>
> <s:a id="link1" theme="ajax" href="%{#url}" errorText="An
> error ocurred" loadingText="Loading...">
>     <img border="none" src="<%=request.getContextPath()%>/images/
> delete.gif"/>
> </s:a>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message