The problem with straight <input..> is that you don't get the theme
based formatting :(
Gabriel Belingueres wrote:
simple ways like:
<input type="hidden" name="uri" value="<%= request.getRequestURI() %>"/>
though I sometimes feel guilty for not using the equivalent S2 tag :P
2008/7/3 Musachy Barroso <[EMAIL PROTECTED]>:
#request is just a map with the request attributes. If you want the
real request object:
#context['com.opensymphony.xwork2.dispatcher.HttpServletRequest']
there are probably other 300 ways of getting the same thing.
musachy
On Thu, Jul 3, 2008 at 11:47 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
I can't for the life of me get the value for getRequestURI from the
HTTPServletRequest object into a hidden field.
<s:hidden name="uri" value="#request.requestURI"/> doesn't seem to work,
anyone want to point out where I've dumbed out?
Al.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]