Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 97869 invoked from network); 30 May 2009 14:17:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 May 2009 14:17:54 -0000 Received: (qmail 99332 invoked by uid 500); 30 May 2009 14:18:04 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 99286 invoked by uid 500); 30 May 2009 14:18:04 -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 99276 invoked by uid 99); 30 May 2009 14:18:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 May 2009 14:18:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mgainty@hotmail.com designates 65.55.111.108 as permitted sender) Received: from [65.55.111.108] (HELO blu0-omc2-s33.blu0.hotmail.com) (65.55.111.108) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 May 2009 14:17:51 +0000 Received: from BLU142-W7 ([65.55.111.73]) by blu0-omc2-s33.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 30 May 2009 07:17:30 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_ac433e89-d771-4ccd-a344-948ba8b2b099_" X-Originating-IP: [71.192.158.139] From: Martin Gainty To: Struts Users Mailing List Subject: RE: [s2] strange (for me) OGNL behavior Date: Sat, 30 May 2009 10:17:30 -0400 Importance: Normal In-Reply-To: <4A20EF71.6030909@arcor.de> References: <32666096.1243590388802.JavaMail.ngmail@webmail12.arcor-online.net> <366601530905290545p3d5040d4n55c7bdb8c069348c@mail.gmail.com> <18237180.1243602001281.JavaMail.ngmail@webmail12.arcor-online.net> <4A20EF71.6030909@arcor.de> MIME-Version: 1.0 X-OriginalArrivalTime: 30 May 2009 14:17:30.0514 (UTC) FILETIME=[5E196720:01C9E131] X-Virus-Checked: Checked by ClamAV on apache.org --_ac433e89-d771-4ccd-a344-948ba8b2b099_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable WEB-INF/classes/struts-default.xml dojo\..*=2C^struts\..* add exclude param after ^struts\..* e.g. ^struts\..*=2Cname does this help? Martin=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. > Date: Sat=2C 30 May 2009 10:33:53 +0200 > From: kindlerm@arcor.de > To: user@struts.apache.org > Subject: Re: [s2] strange (for me) OGNL behavior >=20 > Musachy=2C >=20 > that sounds interesting. Can you tell me where I find information about=20 > configuring (in struts-config.xml? or programmatically?) the interceptor? >=20 > Thanks >=20 > Martin >=20 > Musachy Barroso schrieb: > > You can configure the params interceptor to ignore those params. > >=20 > > musachy > >=20 > > On Fri=2C May 29=2C 2009 at 9:00 AM=2C wrote: > >> Thanks Jim=2C > >> > >> that is the explanation I needed. I can't get rid of the name attribut= e=2C but I can live with the stack traces in my log file. > >> > >> Martin > >> > >> > >> ----- Original Nachricht ---- > >> Von: Jim Kiley > >> An: Struts Users Mailing List > >> Datum: 29.05.2009 14:45 > >> Betreff: Re: [s2] strange (for me) OGNL behavior > >> > >>> Whenever you click an HTML button with your mouse=2C the browser will= submit > >>> the X and Y coordinates of the area that you clicked. This is to sup= port > >>> image maps. By giving the submit button a name (I think)=2C the brow= ser > >>> tries > >>> to provide those X and Y coordinates with respect to the button's nam= e > >>> (thus > >>> name.x and name.y). Struts is trying to parse those input parameters= but > >>> because you probably don't have an object in your action class that h= as the > >>> name that your submit button has=2C it is lost. > >>> This error won't actually cause you any real problems=2C but if you w= ant to > >>> get rid of it I think you'll want to get rid of the 'name' attribute = on > >>> your > >>> submit button. > >>> > >>> jk > >>> > >>> On Fri=2C May 29=2C 2009 at 5:46 AM=2C wrote: > >>> > >>>> Hi=2C > >>>> > >>>> OGNL is a great mystery for me. It does magic and - well - strange > >>> things. > >>>> :-) > >>>> Perhaps you can help me out. > >>>> > >>>> The situation: > >>>> I have a S2 (2.16) site where I use on some pages a form like this: > >>>> > >>>> >>>> eingeben" cssClass=3D"dimmedInput" onfocus=3D"setActiveClass()=3B"/= > > >>>> >>>> name=3D"plzs_submit" cssStyle=3D"margin-left: 5px=3B" /> > >>>> > >>>> > >>>> This works great. > >>>> > >>>> The problem: > >>>> when pressing the Submit-button=2C Struts throws exceptions that it = (OGNL) > >>>> cannot set the properties x and y which do not exist. > >>>> This does not stop my app from working=2C its just ugly. > >>>> > >>>> Looking a bit into the problem I found that the form tries to transf= er > >>>> plzs_submit.x and plzs_submit.y and this causes the problem. > >>>> > >>>> I am puzzled. > >>>> > >>>> Any explanation and hint for stopping this will be greatly appreciat= ed. > >>>> > >>>> Martin > >>>> > >>>> +--------------------------------------------------- > >>>> Dipl. inf. Martin Kindler > >>>> Julius-Leber-Str. 8 > >>>> D-76448 Durmersheim > >>>> > >>>> Tel. +49 (0)7245 80 48 774 > >>>> GSM +49 (0)160 977 636 14 > >>>> > >>>> --------------------------------------------------------------------= - > >>>> To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > >>>> For additional commands=2C e-mail: user-help@struts.apache.org > >>>> > >>>> > >>> > >>> -- > >>> Jim Kiley > >>> Senior Technical Consultant | Summa > >>> [p] 412.258.3346 > >>> http://www.summa-tech.com > >>> > >> --------------------------------------------------------------------- > >> To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > >> For additional commands=2C e-mail: user-help@struts.apache.org > >> > >> >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > For additional commands=2C e-mail: user-help@struts.apache.org >=20 _________________________________________________________________ Hotmail=AE goes with you.=20 http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=3DTXT_TAGLM_WL_HM_Tutor= ial_Mobile1_052009= --_ac433e89-d771-4ccd-a344-948ba8b2b099_--