Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB12710583 for ; Thu, 27 Mar 2014 20:49:41 +0000 (UTC) Received: (qmail 66608 invoked by uid 500); 27 Mar 2014 20:49:39 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 65749 invoked by uid 500); 27 Mar 2014 20:49:37 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 65407 invoked by uid 99); 27 Mar 2014 20:49:30 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 20:49:30 +0000 Received: from localhost (HELO mail-yk0-f176.google.com) (127.0.0.1) (smtp-auth username lukaszlenart, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 20:49:29 +0000 Received: by mail-yk0-f176.google.com with SMTP id 19so2891059ykq.35 for ; Thu, 27 Mar 2014 13:49:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=iWHAXujkfS8qWKtS/c1IPGN8md0RmZcC74z2xrLcop4=; b=lUI0aUU7ovsGEAzCe1f2y6bpI1IoWmisxhKR6psyoUKJxeVmSfIEwef+4bQ6yv5tnX Vhq3qGqxs1nZCBc+EZh9ljHD9f396TiZg10eS11EbFO/ZJasIG7D3UzrXxmus40jMNvS LbRLjjseVUIS3bAcpr2i77nZWkmmlv6gsOk64uHAjNsd78a/VIHf7P5+Ep8L4LvGGAD4 EtxUnYnU2NfDg6YF5dyaxLwAnQFMvrG/kndj7Dyc7Mxi74LpqXVdZUGVN/4Ce/68/fKm WQyXJXN2m6Vv8K4A1eGqvm0aJaQSY69lC2tvJudNgQCfVy26kJJr5onC8YDPdo2GXj1X FRnQ== X-Received: by 10.236.15.102 with SMTP id e66mr5420541yhe.69.1395953368812; Thu, 27 Mar 2014 13:49:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.75.131 with HTTP; Thu, 27 Mar 2014 13:49:08 -0700 (PDT) In-Reply-To: <53348CE8.70907@conicet.gov.ar> References: <53348CE8.70907@conicet.gov.ar> From: Lukasz Lenart Date: Thu, 27 Mar 2014 21:49:08 +0100 Message-ID: Subject: Re: Request parameters need corresponding getters/setters in action? To: Struts Users Mailing List Cc: Diego Barrabino , Diego Fernando Asensio , Juan Pablo Soto , =?UTF-8?Q?Y=C3=A9sica_Nievas?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2014-03-27 21:41 GMT+01:00 Manuel L=C3=B3pez Blasi : > Hello everybody, > > i'm in the process or migrating our application from struts 2.8.1 to the > latest 2.3.16.1 Ga. > After some intense debugging and researching i have come to the conclusio= n > that request parameters passed thru url are required > to have corresponding setter mothod (dunno if getter too) in targeted act= ion > class. > > I have and url like this: > http://localhost:8080/sigerh_5_4/view/licencia/usuario/listarTramite_inpu= t.action?pantallaOrigen=3DLicencia&idMenu=3D27&idModulo=3D5&idGrupo=3D4 > > the params would be: > pantallaOrigen=3DLicencia > &idMenu=3D27 > &idModulo=3D5 > &idGrupo=3D4 > > whenever i click the link i get following exception: > " > INFO: 2014-03-27 17:29:32,673 ERROR .logging.commons.CommonsLogger error > (L:34 ) -Developer Notification (set struts.devMode to false to disable t= his > message): > Unexpected Exception caught setting 'pantallaOrigen' on 'class > ar.gov.conicet.apps.sigerh.presentation.usuario.CListarTramiteAction: Err= or > setting expression 'pantallaOrigen' with value ['Licencia', ] > " As you can notice is simple 'Developer Notification' which you can ignore - it informs you that maybe you made a typo in setter/parameter name. It's reported only in devMode. > Another issue with latest release(s): i have noticed that datetimepicker > isn't shown anymore, as if it were broken. > > I checked out struts2 jira issue: > > https://issues.apache.org/jira/browse/WW-4254 > > and grabbign some info from there i managed to modify some files from > struts2-core-2.3.16.1.jar , > i changed some paths in > controlheader.ftl > controlheader-core.ftl > basically applying the same fixes that were performed in that issue. > Prior to that the jsp crashed in the same way described in the jira ticke= t. > The changes i made fixed it and no exception or warning is shown in the = log > anymore. I have dev mode set to true and debug level set to very high lev= el > showing everything. > > Anybody can comment on this two issues? Any quick fix/solution would be > highly appreciated. It's due to new theme inheritance mechanism and will be solved with upcoming 2.3.17 version. Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org