Return-Path: X-Original-To: apmail-struts-commits-archive@minotaur.apache.org Delivered-To: apmail-struts-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6721DC44 for ; Thu, 3 Jan 2013 16:13:12 +0000 (UTC) Received: (qmail 14960 invoked by uid 500); 3 Jan 2013 16:13:12 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 14915 invoked by uid 500); 3 Jan 2013 16:13:12 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 14908 invoked by uid 99); 3 Jan 2013 16:13:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2013 16:13:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2013 16:13:10 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D6CED23889D7; Thu, 3 Jan 2013 16:12:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1428436 - /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java Date: Thu, 03 Jan 2013 16:12:49 -0000 To: commits@struts.apache.org From: lukaszlenart@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130103161249.D6CED23889D7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lukaszlenart Date: Thu Jan 3 16:12:49 2013 New Revision: 1428436 URL: http://svn.apache.org/viewvc?rev=1428436&view=rev Log: Adds additional SNIPPET Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java?rev=1428436&r1=1428435&r2=1428436&view=diff ============================================================================== --- struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java (original) +++ struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java Thu Jan 3 16:12:49 2013 @@ -35,10 +35,12 @@ import com.opensymphony.xwork2.validator *
  • minLength - The min length of the field value. Default ignore. Can be specified as OGNL expression when parse is set to true.
  • *
  • trim - Trim the field value before evaluating its min/max length. Default true. Can be specified as OGNL expression when parse is set to true.
  • * - * WARNING! Do not use ${minLength}, ${maxLength} and ${trim} as an expression as this will turn into infinitive loop! * * - * + * + * Do not use ${minLength}, ${maxLength} and ${trim} as an expression as this will turn into infinitive loop! + * + * *
      * 
      *      <validators>