The request is accessible with ognl this way:
<s:textfield name="field1" value="#request['param']"/>
- Pascal
Eric Hamacher wrote:
Hello:
I am in a situation where I need to populate a <s:textfield> with a
value in the request scope. It sounds anti-Struts but it can't be
helped. Since the value attribute cannot take a runtime expression, I
am wondering if there is a syntax for picking values off the request.
So, I am looking for
<s:textfield name="field1" value="%{some kind of request-reading
expression}"/>
Thanks.
Regards,
Eric Hamacher
******************************
THIS EMAIL IS INTENDED ONLY FOR THE REVIEW OF THE ADDRESSEE(S), AND MAY
CONTAIN CONFIDENTIAL AND LEGALLY PRIVILEGED INFORMATION. INTERCEPTION,
COPYING, DISSEMINATION, OR OTHER USE BY OTHER THAN THE ADDRESSEE(S) IS
PROHIBITED AND MAY BE PENALIZED UNDER APPLICABLE PRIVACY LAWS. IF YOU
RECEIVED THIS EMAIL IN ERROR, PLEASE DELETE IT AND NOTIFY ME BY RETURN
EMAIL TO [EMAIL PROTECTED] *******************************
--
*Pascal Lalonde
Programmeur Analyste*
------------------------------------------------------------------------
/Aurora MSC/
1425 René-Lévesque O Suite 906
Montréal, QC
Bur: 514-664-4745 #227
Fax: 514-664-4767
www.auroramsc.com