This seems more like a java and html question than a magnolia question,
but I would try:

value="<%= Company.replaceAll("\"", "&quot;") %>"

That should escape your double quotes in the resulting string so that
the browser interprets the double quotes as part of the value.  I'm
assuming of course that the variable Company is a string.

Tom

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 13, 2007 1:48 PM
> To: [email protected]
> Subject: [magnolia-user] simple question
> 
> 
> I constructing HTML-form and I have next code
> 
> Company: <input type="text" name="Company" 
> value="<%=Company%>" /><br />
> 
> All working nice while Compony hasn't quotation marks.
> Help me solve this problem. Thanks.
> 
> --
> View this message in context: 
> http://www.nabble.com/simple-question-tf4263273.html#a12132733
> Sent from the Magnolia - User mailing list archive at Nabble.com.
> 
> 
> ----------------------------------------------------------------
> for list details see
> http://documentation.magnolia.info/docs/en/editor/stayupdated.html
> ----------------------------------------------------------------
> 

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to