Title: Tacos-beta2, Dojo 0.2.2, and Internet Explorer (IE)
Upgrade to the 9 May source snapshot of Tacos4-beta-3, available in the 'nightly' section of the tacos web site as tacos4-beta-3-20060509-1708.  Be certain to use the dojo that comes with it.  The tacos4-beta2 had many problems in IE 6.  Note: I've had problems in IE with the dojo that comes with the later source snapshots of tacos4-beta-3.  I'm currently trying to determine the right dojo to use with the 9 July source snapshot of tacos.  The version that comes with it doesn't call event.connect during the body's onload event in IE 6. 
 
Regards,
David Harvey
Ingenix, Inc. 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Long
Sent: Friday, July 28, 2006 10:44 AM
To: [email protected]
Subject: [Tacos-devel] Tacos-beta2, Dojo 0.2.2, and Internet Explorer ( IE)

I am having trouble get a simple Tacos dialog to display in IE(6) using Tacos-beta2 and Dojo 0.2.2. The exact same code works fine in Firefox 1.5.

I do not receive any error messages from IE. I also do not see the Dojo debug messages (because something is using deprecated Dojo APIs) at the end of the page as I do in Firefox.

However, if I save the generated HTML (i.e., Right-click and select "View Source") and tweak the URLs in the HTML (for images and JS libraries) to point to relative path, local copies, the dialog works as expected in IE.

Does anyone have any ideas on what may be going on? Does the Tacos-nightly and Dojo 0.3 fix this sort of problem (although, based on recent threads, I am inclined to assume not)?

Relevent Tapestry markup:
        <!-- In the head -->
        <script type="text/_javascript_">
                djConfig = { isDebug: true,
                             baseRelativePath: "scripts/dojo/",
                             preventBackButtonFix: false };
        </script>
        <script type="text/_javascript_" src=""></script>

        <!-- In the body -->
        <a href="" >Show My Dialog</a>

        <div jwcid="[EMAIL PROTECTED]:Dialog" hidden="ognl:true" class="dojoDialog">
                <!-- Snipped dialog content -->
        </div>

Generated HTML snippets:
        <!-- In the head -->
        <script type="text/_javascript_">
                djConfig = { isDebug: true,
                             baseRelativePath: "scripts/dojo/",
                             preventBackButtonFix: false };
        </script>
        <script type="text/_javascript_" src=""></script>

        <!-- At the top of the body -->
        <script type="text/_javascript_" src=""></script>
        <script type="text/_javascript_" src=""></script>
        <script type="text/_javascript_" src=""></script>
        <script type="text/_javascript_"><!--
                dojo.require("dojo.dom");
                dojo.require("dojo.html");
                dojo.require("dojo.event");
                dojo.require("dojo.widget.Dialog");
        // --></script>

        <!-- In the body -->
        <a href="" >Show My Dialog</a>

        <div id="myDialog" dojoType="dialog" class="dojoDialog">
                <!-- Snipped dialog content -->
        </div>

        <!-- At the bottom of the body -->
        <script language="_javascript_" type="text/_javascript_"><!--
                Tapestry.register_form('Form');
                Tapestry.set_focus('PropertySelection');
                Tapestry.register_form('Form_0');
                Tapestry.register_form('Form_1');
                Tapestry.onsubmit('Form_1', function(event) { Tapestry.require_field(event, 'myTypeField', 'You must enter a value for My Type.'); });

                if (!false) {
                        var dnode = dojo.byId("myDialog");
                        if (dnode) {
                                dnode.style.display = "none";
                        }
                        dojo.event.connect(window, "onload", function(e) {
                                tacos.buildDialog(false, "myDialog", true);
                        });
                }   

        // --></script></body>

--
Michael J. Long


"Secure Server GDV" made the following
annotations on 07/28/2006 05:38:33 PM
------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately."
==============================

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to