From issues-return-33187-archive-asf-public=cust-asf.ponee.io@struts.apache.org Mon Mar 18 09:42:05 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A3DD1180651 for ; Mon, 18 Mar 2019 10:42:04 +0100 (CET) Received: (qmail 42094 invoked by uid 500); 18 Mar 2019 09:42:02 -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 42052 invoked by uid 99); 18 Mar 2019 09:42:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Mar 2019 09:42:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 477E4180D8E for ; Mon, 18 Mar 2019 09:42:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 7igeYkfMGsAD for ; Mon, 18 Mar 2019 09:42:01 +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 CE7A76119F for ; Mon, 18 Mar 2019 09:42:00 +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 533C4E0451 for ; Mon, 18 Mar 2019 09:42:00 +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 1033124422 for ; Mon, 18 Mar 2019 09:42:00 +0000 (UTC) Date: Mon, 18 Mar 2019 09:42:00 +0000 (UTC) From: "Muhammad Salman (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-5025) Binding Integer Array upon form submission MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-5025?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1679486= 9#comment-16794869 ]=20 Muhammad Salman commented on WW-5025: ------------------------------------- It would be really great if someone look into this or guide me. Its really blocking one of our critical usecases > Binding Integer Array upon form submission > ------------------------------------------ > > Key: WW-5025 > URL: https://issues.apache.org/jira/browse/WW-5025 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.5.20 > Reporter: Muhammad Salman > Priority: Blocker > > We have just migrated our application on struts 2.5.20. > In one of our use-cases, we have two checkboxes with same "name" attribu= te and upon submission, they submit integer values that we bind with Intege= r array being defined in the action. > After migration, that thing stopped working.=20 > Here is my code snippet in JSP: > {color:#14892c}{color} > {color:#14892c}{color} > =C2=A0 > Here is the integer array in Action class (Setters and getters also defin= ed) > {color:#205081}private Integer[] rfaAccessType;{color} > =C2=A0 > I need your help to remediate this issue. If this way of submitting form = and binding it to an array still supported in Struts? If not, what should I= do so that I have minimum change in my code? > =C2=A0 > =C2=A0 > =C2=A0 > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)