You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/08/16 12:34:54 UTC

[myfaces-tobago] branch master updated: TOBAGO-112: Description of the tobago-config.xml

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new cd24f8b  TOBAGO-112: Description of the tobago-config.xml
cd24f8b is described below

commit cd24f8bb633d0b881694474a2a94be0095f8533e
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Aug 16 14:34:43 2018 +0200

    TOBAGO-112: Description of the tobago-config.xml
---
 .../org/apache/myfaces/tobago/config/tobago-config-4.3.xsd        | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tobago-core/src/main/resources/org/apache/myfaces/tobago/config/tobago-config-4.3.xsd b/tobago-core/src/main/resources/org/apache/myfaces/tobago/config/tobago-config-4.3.xsd
index 51c5374..c3787f5 100644
--- a/tobago-core/src/main/resources/org/apache/myfaces/tobago/config/tobago-config-4.3.xsd
+++ b/tobago-core/src/main/resources/org/apache/myfaces/tobago/config/tobago-config-4.3.xsd
@@ -138,7 +138,13 @@
       <xs:element name="decode-line-feed" type="xs:boolean" minOccurs="0" default="true">
         <xs:annotation>
           <xs:documentation>
-            Use LF instead of CR+LF in textarea.
+            Use LF instead of CR+LF in textarea while decoding.
+            HTTP transports usually a line break with CR+LF
+            (see https://www.w3.org/TR/html401/interact/forms.html#h-17.13.4).
+            When this property is set to true (by default), the Java bean will get the string only with LF ('\n').
+
+            When this property is set to false, there might be a conflict with the length validator,
+            because you have 2 character for each line break.
           </xs:documentation>
         </xs:annotation>
       </xs:element>