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 38C531884B for ; Wed, 20 Jan 2016 09:25:40 +0000 (UTC) Received: (qmail 68885 invoked by uid 500); 20 Jan 2016 09:25:40 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 68865 invoked by uid 500); 20 Jan 2016 09:25:40 -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 68842 invoked by uid 99); 20 Jan 2016 09:25:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2016 09:25:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CC7EE2C1F55 for ; Wed, 20 Jan 2016 09:25:39 +0000 (UTC) Date: Wed, 20 Jan 2016 09:25:39 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4590) Allow to use multiple names in result 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-4590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108274#comment-15108274 ] ASF GitHub Bot commented on WW-4590: ------------------------------------ Github user lukaszlenart commented on the pull request: https://github.com/apache/struts/pull/75#issuecomment-173142656 I would like to merge this PR and start release process of BETA3 :) > Allow to use multiple names in result > ------------------------------------- > > Key: WW-4590 > URL: https://issues.apache.org/jira/browse/WW-4590 > Project: Struts 2 > Issue Type: Improvement > Components: Plugin - Convention, XML Configuration > Affects Versions: 2.3.24 > Reporter: Aleksandr Mashchenko > Assignee: Aleksandr Mashchenko > Fix For: 2.5 > > > Allow to use multiple values in {{result}} tag {{name}} attribute and in {{Result}} annotation {{name}}. > So this typical configuration: > {code:xml} > > success.jsp > input-form.jsp > input-form.jsp > > {code} > Can be shorten to that: > {code:xml} > > success.jsp > input-form.jsp > > {code} > And this annotations: > {code:java} > @Action(results = { > @Result(name="error", location="input-form.jsp"), > @Result(name="input", location="input-form.jsp"), > @Result(name="success", location="success.jsp") > }) > {code} > To that: > {code:java} > @Action(results = { > @Result(name="error, input", location="input-form.jsp"), > @Result(name="success", location="success.jsp") > }) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)