cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Answer <A.Nuzh...@ftc.ru>
Subject CR/LF <textarea> problem
Date Fri, 26 Oct 2001 12:31:11 GMT
Hello cocoon-dev,

  I found some problem with <textarea> tag in forms.
  I use Win2000, IE 5.5, HSQLDB engine, Resin2.0.2, Jdk1.3.1_01,
  Cocoon2_20011023101502, UTF-8 encoding.
  On Windows CR/LF pair used for string end.
  I send next text to my DB with help of standard DatabaseAddAction:
  [
  String 1
  String 2
  String 3
  ]
  When i read text to form again (standard DatabaseSelectAction), i
  see next in form:
  [
  String 1

  String 2

  String 3

  ]
  In HTML source:
  String 1&#13;
  String 2&#13;
  String 3&#13;

  In DB saved 'String 1\u000d\u000aString 2\u000d\u000aString 3', i.e. all ok.

  I think in this actions must present selecting support (CR/LF or LF)
  depending by OS.

  Your comments?
  
Best regards,
  Andrew Answer                  A.Nuzhdov@ftc.ru


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message