Use this syntax:

<s:param name="direction">forward</s:param>


Em 07-04-2010 06:52, Supratim Bandyopadhyaya escreveu:
Greetings to all,
I have been trying to get<s:url>  to work properly.
Here is the code.

         <s:url id="paginationurl" action="role" namespace="/role">
             <s:param  name="offset" value="%{offset}"></s:param>
             <s:param name="direction" value="forward"></s:param>
         </s:url>
         <s:a  href="%{paginationurl}">Next Record</s:a>

here the parameter offset comes from the action bean which shows up in the
url fine. But the parameter direction which is assigned a value "forward"
does not show. How can I fix this.

Thanks in advance,
Supratim.



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

Reply via email to