Thanks David! That's some excellent information.

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws


-----Original Message-----
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts EL


>>>>> "Brandon" == Brandon Goodin <[EMAIL PROTECTED]> writes:

    Brandon> I looked everywhere to find this answer and couldn't so.... :-D
    Brandon> If I have the following:
    Brandon> <c:forEach var="x" start="1" end="10">
    Brandon> <html:hidden proper="thisObject[${x}].text"
    Brandon> value="${pass.this.value.as.is}"/>
    Brandon> </c:forEach>

    Brandon> And I am using the struts html el taglib
    Brandon> And I want pass the value of ${pass.this.value.as.is} to the
back-end
    Brandon> unprocessed.

    Brandon> In other words.. I literall want "${pass.this.value.as.is}" to
be passed to
    Brandon> the back.

    Brandon> How would I do this and keep the el from processing the value?

The only way to get close to this is to change the string slightly, so the
EL
will process it, but the resulting value will be what you wanted.

>From section A.2.1 of the specification, you could change it to this:

  value="${'${'}pass.this.value.as.is}"

--
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP; SCWCD




---------------------------------------------------------------------
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]

Reply via email to