Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34A4418C3D for ; Thu, 12 Nov 2015 13:57:17 +0000 (UTC) Received: (qmail 27808 invoked by uid 500); 12 Nov 2015 13:57:11 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 27679 invoked by uid 500); 12 Nov 2015 13:57:11 -0000 Mailing-List: contact issues-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 issues@struts.apache.org Received: (qmail 27408 invoked by uid 99); 12 Nov 2015 13:57:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2015 13:57:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1B4AF2C1F75 for ; Thu, 12 Nov 2015 13:57:11 +0000 (UTC) Date: Thu, 12 Nov 2015 13:57:11 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-2191) Make validateAnnotatedMethodOnly the default and support client-side method-only validations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15002127#comment-15002127 ] Lukasz Lenart commented on WW-2191: ----------------------------------- So this can resolved with setting {{private boolean validateAnnotatedMethodOnly}} to {{true}} be default, right? > Make validateAnnotatedMethodOnly the default and support client-side method-only validations > -------------------------------------------------------------------------------------------- > > Key: WW-2191 > URL: https://issues.apache.org/jira/browse/WW-2191 > Project: Struts 2 > Issue Type: Improvement > Components: Plugin - CodeBehind > Reporter: Ted Husted > Fix For: 2.5 > > > A common use case for validation annotations is to use different validations per action method. However, in 2.0.x, the default is to combine the validations. A better default would be "true". > > true > input,back,cancel,browse > > Also, per-method client-side validation does not seem to be supported. -- This message was sent by Atlassian JIRA (v6.3.4#6332)