Title: 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="">
        <!-- In the body -->
        <a href="" return false;">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="">
        <!-- At the top of the body -->
        <script type="text/_javascript_" src="">         <script type="text/_javascript_" src="">         <script type="text/_javascript_" src="">         <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="" return false;">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


-------------------------------------------------------------------------
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