cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Lundberg <my.name.is.h...@gmail.com>
Subject Re: Junk(HTML) characters displayed in textarea fields
Date Mon, 17 Oct 2005 15:07:16 GMT
Hi,
you get that problem with XHTML. The browsers cannot render a <textarea/>.
But maybe you use HTML4? Then it should be no problem to render a
<textarea></textarea>.

Hans

On 10/17/05, vijayaraghavan.subramaniam@wipro.com <
vijayaraghavan.subramaniam@wipro.com> wrote:
>
> Hi,
> We are using cocoon-2.1.7 + jboss-3.2.7 + windows2000 professional.
>  We are generating a Cocoon form page dynamically using xslt, as per my
> project requirement.
> We are getting junk character(actually part of html gets displayed as
> contents of text area)displayed in
>   Textarea widgets/fields when viewed in IE browser.
>  This happens only when the screen rendered when the textarea is empty.
>   The data being added is something like the following:
> * </div></div>
> </div></div></div>..
> *
>   We also tried giving an initial value
>  <fd:initial-value><xsl:text>&#160;</xsl:text></fd:initial-value>
>   but this does not work when we use widget.setValue("");
>
> Does any one have idea how to avoid junk characters in textarea fields?
>  Thanks,
> Vijay.
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
> to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
> privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
> Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>
>

Mime
View raw message