You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ar...@wipro.com on 2005/10/19 15:01:00 UTC
Junk(HTML) characters displayed in textarea fields
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> </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?
We are using HTML 4.
Thanks,
Arun.
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Junk(HTML) characters displayed in textarea fields
Posted by Antonio Gallardo <ag...@agssa.net>.
Thomas Soddemann wrote:
>arun.subbanna@wipro.com wrote:
>
>
>
>> 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> </xsl:text></fd:initial-value>
>>
>> but this does not work when we use widget.setValue("");
>>
>>
>>
>>
>>
>Hi,
>
>try
>widget.setValue("\240");
>
>
Also,
widget.setValue(" ");
Is a work around. The problem is in the serializer.
Best Regards,
Antonio Gallardo.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Junk(HTML) characters displayed in textarea fields
Posted by Thomas Soddemann <Th...@rzg.mpg.de>.
arun.subbanna@wipro.com wrote:
> 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> </xsl:text></fd:initial-value>
>
> but this does not work when we use widget.setValue("");
>
>
>
Hi,
try
widget.setValue("\240");
maybe that helps.
Cheers,
Thomas
--
--------------------------------------------------
Dr. Thomas Soddemann | Boltzmannstrasse 2
Projects Engineer | 85748 Garching
Rechenzentrum der MPG | Germany
am MPI fuer Plasmaphysik |
---------------------------------------------------
phone: +49 89 3299 2694 | fax: +49 89 3299 1301
---------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org