Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 2827 invoked from network); 21 Apr 2008 02:22:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Apr 2008 02:22:22 -0000 Received: (qmail 86388 invoked by uid 500); 21 Apr 2008 02:22:13 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 86355 invoked by uid 500); 21 Apr 2008 02:22:13 -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 86344 invoked by uid 99); 21 Apr 2008 02:22:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Apr 2008 19:22:13 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.206.122] (HELO web33307.mail.mud.yahoo.com) (68.142.206.122) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 21 Apr 2008 02:21:26 +0000 Received: (qmail 398 invoked by uid 60001); 21 Apr 2008 02:21:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Puk9zDIDN9+2LAUmo0oJk2ahj1aNcgaJf24ULr0U1paPJmmgnnyQtTx8DichYO+oChfFdiyFR5q6jkIwhKe/7eLY+7gI9SSjwgzxWHbQ/zkPnNj/PP9kkGbaaMxshTR1s20PbTgKDGBGV2RFcRQeVPA77j7e5g/vCHcZuJe1fMY=; X-YMail-OSG: BddXSNUVM1ndIy09SNGUAc1LgwFEzjDiFOZf9jlEe4dBJUT_P6iWfumIe2selkhOvBZcGekIP.Zmo99NxU72tsRAtvIu368EidqDYoW8bJNAmbtVrhAHPNZkW9E- Received: from [60.52.184.45] by web33307.mail.mud.yahoo.com via HTTP; Sun, 20 Apr 2008 19:21:38 PDT Date: Sun, 20 Apr 2008 19:21:38 -0700 (PDT) From: Simon Sew Subject: Re: [S2] IE 7 - Secure and non-secure pop up message when using https To: Struts Users Mailing List In-Reply-To: <48088D5C.3010506@blueskyminds.com.au> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1898115610-1208744498=:99644" Content-Transfer-Encoding: 8bit Message-ID: <951040.99644.qm@web33307.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1898115610-1208744498=:99644 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Jeromy, The solutions provided doesn't work for me. I still have the pop up message. One more thing. I found out that struts2 dojo have some missing files. I used fidler to check : /struts/dojo/src/i18n/calendar/nls/en-us/gregorian.js /struts/dojo/src/i18n/calendar/nls/en/gregorianExtras.js /struts/dojo/src/i18n/calendar/nls/en-us/gregorianExtras.js /struts/dojo/src/widget/nls/en/TimePicker.js /struts/dojo/src/widget/nls/en-us/TimePicker.js /struts/dojo/src/widget/nls/en/DropdownTimePicker.js /struts/dojo/src/widget/nls/en-us/DropdownTimePicker.js Will this be the problem. I'm using struts2-core-2.0.9.jar Jeromy Evans wrote: Simon Sew wrote: > Hi, > I'm trying to create a simple ajax using struts2. The ajax is running fine.But I'm trying to fix this error message when using https server. The alert message is "This page contains both secure and nonsecure items. > > Do you wish to display the nonsecure items?". > ... > > > > > > > > Anyone knows what am I doing wrong here? > > Unfortunately it's a bug in dojo 0.4 [Ticket#2390]. You have no option but to patch it manually or upgrade to a new version. It's possible that it's fixed in Struts 2.1 (using Dojo0.4.3) but is definitely present in Struts 2.0.x (Dojo 0.4.0). I don't use Dojo any more, but remarkably I kept notes about how I patched it. You will need to extract dojo, modify it and recompress using the instructions at : http://cwiki.apache.org/S2WIKI/creating-a-custom-dojo-profile-for-struts-20x.html http://trac.dojotoolkit.org/ticket/2390 To prevent the "This page contains both secure and nonsecure items" issue present in IE7. When you read the ticket and find the following file it will be obvious what the change is: src/html/iframe.js var html=""; if (dojo.render.html.ie70) { html=" + " style='position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;" + "z-index: -1; filter:Alpha(Opacity=\"0\");' " + ">"; } else { html=" + "' style='position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;" + "z-index: -1; filter:Alpha(Opacity=\"0\");' " + ">"; } Good luck, Jeromy Evans --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. --0-1898115610-1208744498=:99644--