<s:textfield value="%{#parameters['yourParamName']}" ...

?

We'll probably need more details if this doesn't work. The #parameters
object will hold request parameters. If you aren't able to pull your
request param out of there, then something is broken.

-Wes

On Wed, May 13, 2009 at 3:28 PM, Jim Collings <jlistn...@gmail.com> wrote:
> Has to be in the jsp.
> tried:
>  value="#parameters.something"
>
> Didnt work.  Showed up as text in the textfield we are using.
>
> On 5/13/09, Terry Gardner <terry.gard...@sun.com> wrote:
>> One way is via the ServletActionContext, for example,
>> ServletActionContext.getRequest().getParameter(String);
>>
>> On May 13, 2009, at 3:16 PM, Jim Collings wrote:
>>
>>> It isn't in the value stack but I need to snag it. Can't find any
>>> examples
>>> of how to do this.
>>>
>>> Clue anyone?
>>>
>>>
>>> Jim C.
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher

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

Reply via email to