I am having a problem with the way the dojo.js is included under IE.

My Border.html looks similar to the demo app, with the following code:

MainBorder.html:

<html jwcid="mainShell">
<script jwcid="dojoScript"/>
<head jwcid="$remove$">
  <title>ESMART</title>
  <link rel="stylesheet" href="../../css/ocean.css" type="text/css">
  <link rel="stylesheet" href="../../css/customer.css" type="text/css">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body jwcid="@Body" leftmargin="0" topmargin="0" marginwidth="0" 
marginheight="0">


MainBorder.xml:

    <component id="dojoScript" type="Any">
        <binding name="element"  value="literal:script"/>
        <binding name="type"     value="literal:text/javascript"/>
        <binding name="src"      value="asset:dojoScript"/>
    </component> 
    
    <asset name="dojoScript"  path="context:javascript/dojo/dojo.js"/>



The problem I am having is that this, like the tacos demo, generates an 
invalid html in tapestry, where the dojo script element is placed after the 
</head> tag and before the <body> tag. Firefox handles this ok, but under IE 
it has intermittent problems. It appears to sometimes interfere with the 
loading of the other scripts in the Body, so one for example gets errors like 
'Tapestry.js not found' or similar.

Has anyone else experienced these problems when using IE with the tacos 
libraries?

regards,
Scott


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to