struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Sutton <al.sut...@alsutton.com>
Subject Re: Anyone want to show me up...
Date Fri, 04 Jul 2008 06:12:40 GMT
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 <musachy@gmail.com>:
>   
>> #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 <al.sutton@alsutton.com> 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: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>>       
>>
>> --
>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>   


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


Mime
View raw message