From user-return-199428-apmail-struts-user-archive=struts.apache.org@struts.apache.org Sun May 31 16:27:29 2009 Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 6852 invoked from network); 31 May 2009 16:27:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 May 2009 16:27:29 -0000 Received: (qmail 47995 invoked by uid 500); 31 May 2009 16:27:39 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 47926 invoked by uid 500); 31 May 2009 16:27:39 -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 47916 invoked by uid 99); 31 May 2009 16:27:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 May 2009 16:27:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kindlerm@arcor.de designates 151.189.21.47 as permitted sender) Received: from [151.189.21.47] (HELO mail-in-07.arcor-online.net) (151.189.21.47) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 May 2009 16:27:27 +0000 Received: from mail-in-15-z2.arcor-online.net (mail-in-15-z2.arcor-online.net [151.189.8.32]) by mx.arcor.de (Postfix) with ESMTP id 2A1EC3CA245 for ; Sun, 31 May 2009 18:27:04 +0200 (CEST) Received: from mail-in-16.arcor-online.net (mail-in-16.arcor-online.net [151.189.21.56]) by mail-in-15-z2.arcor-online.net (Postfix) with ESMTP id 17E8E7242A1 for ; Sun, 31 May 2009 18:27:04 +0200 (CEST) Received: from [127.0.0.1] (dslb-088-065-178-139.pools.arcor-ip.net [88.65.178.139]) (Authenticated sender: kindlerm@arcor.de) by mail-in-16.arcor-online.net (Postfix) with ESMTPA id 7D9F6257198 for ; Sun, 31 May 2009 18:27:03 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-16.arcor-online.net 7D9F6257198 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1243787224; bh=eMu5156x5LBoaPe+U/KE+ZvBL8uWFiUgUUjP86sdyYg=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=dH7YEf0CEiY7ff9hGZGWAHKgm285qd1kuEaO/5JsRLw+h1jp0bGTWyIcJ8SBlmBEM XFYIOLktxBI0OzGy0qzIJugF1UXP7bzK5MSTM44gQha4vsBhX6sN2Cpu2+VOmRDIIy oJEpDmkeHMic5bN8UE66rjpaxr/yVnNTkpEAX6E4= Message-ID: <4A22AFD4.7050508@arcor.de> Date: Sun, 31 May 2009 18:27:00 +0200 From: Martin Kindler Reply-To: kindlerm@acm.org User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: [s2] strange (for me) OGNL behavior 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Martin, thanks a lot! Martin Gainty schrieb: > WEB-INF/classes/struts-default.xml > > > > > > > > > dojo\..*,^struts\..* > > > add exclude param after ^struts\..* > e.g. ^struts\..*,name > > does this help? > Martin > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > > > > >> Date: Sat, 30 May 2009 10:33:53 +0200 >> From: kindlerm@arcor.de >> To: user@struts.apache.org >> Subject: Re: [s2] strange (for me) OGNL behavior >> >> Musachy, >> >> that sounds interesting. Can you tell me where I find information about >> configuring (in struts-config.xml? or programmatically?) the interceptor? >> >> Thanks >> >> Martin >> >> Musachy Barroso schrieb: >>> You can configure the params interceptor to ignore those params. >>> >>> musachy >>> >>> On Fri, May 29, 2009 at 9:00 AM, wrote: >>>> Thanks Jim, >>>> >>>> that is the explanation I needed. I can't get rid of the name attribute, 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, the browser will submit >>>>> the X and Y coordinates of the area that you clicked. This is to support >>>>> image maps. By giving the submit button a name (I think), the browser >>>>> tries >>>>> to provide those X and Y coordinates with respect to the button's name >>>>> (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 has the >>>>> name that your submit button has, it is lost. >>>>> This error won't actually cause you any real problems, but if you want to >>>>> get rid of it I think you'll want to get rid of the 'name' attribute on >>>>> your >>>>> submit button. >>>>> >>>>> jk >>>>> >>>>> On Fri, May 29, 2009 at 5:46 AM, wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> 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: >>>>>> >>>>>> >>>>>> >>>>> name="plzs_submit" cssStyle="margin-left: 5px;" /> >>>>>> >>>>>> >>>>>> This works great. >>>>>> >>>>>> The problem: >>>>>> when pressing the Submit-button, 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, its just ugly. >>>>>> >>>>>> Looking a bit into the problem I found that the form tries to transfer >>>>>> 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 appreciated. >>>>>> >>>>>> 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, e-mail: user-unsubscribe@struts.apache.org >>>>>> For additional commands, e-mail: user-help@struts.apache.org >>>>>> >>>>>> >>>>> -- >>>>> Jim Kiley >>>>> Senior Technical Consultant | Summa >>>>> [p] 412.258.3346 >>>>> http://www.summa-tech.com >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >>>> For additional commands, e-mail: user-help@struts.apache.org >>>> >>>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> > > _________________________________________________________________ > HotmailŪ goes with you. > http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org