Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 4053 invoked from network); 11 Jan 2007 15:41:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2007 15:41:36 -0000 Received: (qmail 39763 invoked by uid 500); 11 Jan 2007 15:41:31 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 39737 invoked by uid 500); 11 Jan 2007 15:41:31 -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 39726 invoked by uid 99); 11 Jan 2007 15:41:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 07:41:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [216.227.215.170] (HELO chiron.lunarpages.com) (216.227.215.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 07:41:22 -0800 Received: from zammet2 by chiron.lunarpages.com with local (Exim 4.52) id 1H5257-0004U9-H9; Thu, 11 Jan 2007 07:43:09 -0800 Received: from 170.201.180.136 ([170.201.180.136]) (SquirrelMail authenticated user fzlists@omnytex.com) by webmail.chiron.lunarpages.com with HTTP; Thu, 11 Jan 2007 10:43:09 -0500 (EST) Message-ID: <25158.170.201.180.136.1168530189.squirrel@webmail.chiron.lunarpages.com> In-Reply-To: <600873.29667.qm@web56409.mail.re3.yahoo.com> References: <600873.29667.qm@web56409.mail.re3.yahoo.com> Date: Thu, 11 Jan 2007 10:43:09 -0500 (EST) Subject: Re: Javascript onfocus issuein IE and struts 1.2.x From: "Frank W. Zammetti" To: "Struts Users Mailing List" Cc: user@struts.apache.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - chiron.lunarpages.com X-AntiAbuse: Original Domain - struts.apache.org X-AntiAbuse: Originator/Caller UID/GID - [32746 1232] / [47 12] X-AntiAbuse: Sender Address Domain - omnytex.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org Hi Don, In which version of IE do you observe this behavior? I just verified in IE 5.5, 6 and 7 that onfocus with a lower-case 'f' works just fine. AFAIK, case does not matter to any browser with event handler names, whether Struts is involved or not... any chance the problem your seeing is caused by something else and it just seems like this is the problem? (we've all been there before! LOL) Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: fzammetti@hotmail.com Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Thu, January 11, 2007 10:16 am, Don Don wrote: > Hi all, > I've noticed an issue with the above versions of struts and the > javascript onfocus function when using IE. Struts uses the function in > lower case (e.g. "onfocus()") and even renders the generated code in > lower case as well, IE on the other hand requires the function to be in > this format "onFocus()" where the F is capitalized. If the F is > capitalized the function works in IE but if its uncapitalised e.g. f > then it does not function in IE. > Other browsers seems to work fine, Firefox, etc. > Anyway of getting around this ? > Cheers > > > --------------------------------- > Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org