From issues-return-31632-archive-asf-public=cust-asf.ponee.io@struts.apache.org Sat Jan 6 08:23:12 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 1D67F18062C for ; Sat, 6 Jan 2018 08:23:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0D5C0160C3C; Sat, 6 Jan 2018 07:23:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5055C160C2A for ; Sat, 6 Jan 2018 08:23:11 +0100 (CET) Received: (qmail 67741 invoked by uid 500); 6 Jan 2018 07:23:10 -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 67724 invoked by uid 99); 6 Jan 2018 07:23:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jan 2018 07:23:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C88941A0208 for ; Sat, 6 Jan 2018 07:23:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id k0QQrHoxU5Jy for ; Sat, 6 Jan 2018 07:23:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 732F65F30B for ; Sat, 6 Jan 2018 07:23:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BF429E099A for ; Sat, 6 Jan 2018 07:23:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7C6E0240DE for ; Sat, 6 Jan 2018 07:23:03 +0000 (UTC) Date: Sat, 6 Jan 2018 07:23:03 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (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:all-tabpanel ] Lukasz Lenart resolved WW-2191. ------------------------------- Resolution: Fixed Fix Version/s: (was: 2.5.x) 2.5 Good eye, thank! > 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.4.14#64029)