Re: Problem with TextArea

List for Users of Carlsbad Cubes' Technologies and Products <[email protected]> Fri, 03 Mar 2006 14:57:22 +0100
Newsgroups gmane.comp.embedded.carlsbad-cubes
Organization http://freemail.web.de/
Message-ID <[email protected]>
Hi Rajkumar,

try something like this:

<textarea>
This is a sample message.
This is a sample message.
</textarea>

Because you define the GUI in xml, you have to accept the rules of that format...

Yours,

Frank Meissner

List for Users of Carlsbad Cubes' Technologies and Products <[email protected]> schrieb am 03.03.06 14:29:05:
> Hi,
> 
>       When I use "\n" in the text of the TextArea. But it is not considering it as
> 
> a newline instead it is printing the text with "\n" character. I tried to debug
> 
> and final found out that the SwiXML parsing (i.e SAX parser) used is converting the
> 
> "\n" to "\\n" so that in the output the "\n" is printed as it is.
> 
> 
> <textarea text="This is a sample message.\n This is a sample message."/>
> 
> 
>                        
> Please help me to get rid of this situation. I want the SwiXML to
> recognize
> 
> the "\n" as a newline character.
> 
> 
> regards,
> 
> Rajkumar
> 
> -----------------------------------------------------------------
> _______________________________________________
> Forum mailing list
> [email protected]
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
>