I was mistaken... 

If you wanted to render the exact text of 
"${dont.evaluate}"
You'll have to do something closer to this:
<s:textfield value="%{'\"${dont.evaluate}\"'}" />
 
Basic point is, place the escaped dynamic string in single quotes.  


-----Original Message-----
From: Kawczynski, David 
Sent: Monday, December 01, 2008 12:56 PM
To: 'Struts Users Mailing List'
Subject: RE: Populating textfield with dynamic string, stop expression
evaluation.


<s:textfield value="${'dont.evaluate'}" />


-----Original Message-----
From: Fender963 [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 01, 2008 12:22 PM
To: user@struts.apache.org
Subject: Re: Populating textfield with dynamic string, stop expression
evaluation.


Shameless bump.

Any ideas?


Fender963 wrote:
> 
> Hey All,
> 
> I've tried searching but either I dont' know what to search for, or it
> simply hasn't been asked yet.
> 
> I have a textfield
> 
> <s:textfield required="true" label="My Field" name="myObject.name">
> 
> Works fine until the string gets returned with something like the
> following:
> 
> "${dont.evaluate}"
> 
> I want the textfield to actually contain this string, instead it is
being
> evaluated, and since the object doesn't exist in this context, whats
being
> populated is a blank string.
> 
> Any thoughts?
> 

-- 
View this message in context:
http://www.nabble.com/Populating-textfield-with-dynamic-string%2C-stop-e
xpression-evaluation.-tp20631795p20774542.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or
MSD and in Japan, as Banyu - direct contact information for affiliates is
available at http://www.merck.com/contact/contacts.html) that may be
confidential, proprietary copyrighted and/or legally privileged. It is
intended solely for the use of the individual or entity named on this
message. If you are not the intended recipient, and have received this
message in error, please notify us immediately by reply e-mail and
then delete it from your system.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to