In firefox the folliowing line:121 produces NPE after clicking link in
application after bootstrap of webapp ... this line...
.append(_tapestryPath.buildURL()).append("\");\n");
str.append("\n<script type=\"text/javascript\">\n")
.append("dojo.registerModulePath(\"tapestry\", \"")
.append(_tapestryPath.buildURL()).append("\");\n");
str.append("</script>\n");
???
Best regards
Ken in nashua
----Original Message Follows----
From: "Ken nashua" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], users@tapestry.apache.org
Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
Date: Fri, 20 Jul 2007 13:02:22 -0400
dojo undefined occurs at
dojo.require("dojo.logging.Logger"); in the markup below.
Why would this happen i IE if the following was rendered before it?
<script type="text/javascript">djConfig =
{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"}
</script>
<script type="text/javascript" src="/js/dojo/dojo.js"></script>
Best regards
Ken in nashua
----Original Message Follows----
From: "Ken nashua" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], users@tapestry.apache.org
Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
Date: Fri, 20 Jul 2007 12:44:20 -0400
Ok, I mader some ground...
I made my CustomHead.JAVA look/act like ScriptIncludes.JAVA but had to
replace this...
<asset name="defaultDojoSource" path="classpath:/dojo/dojo.js" />
<asset name="defaultDojoPath" path="classpath:/dojo/" />
<asset name="defaultTapestrySource" path="classpath:/tapestry/core.js"
/>
<asset name="defaultTapestryPath" path="classpath:/tapestry/" />
for this...
@Asset("/js/dojo/dojo.js")
public abstract IAsset getDefaultDojoSource();
@Asset("/dojo/")
public abstract IAsset getDefaultDojoPath();
@Asset("/tapestry/core.js")
public abstract IAsset getDefaultTapestrySource();
@Asset("/tapestry/")
public abstract IAsset getDefaultTapestryPath();
here is the output... but I still get DOJO UNDEFINED message box in IE.
Jesse can you validate this markup for me? Why is dojo still undefined for
IE?
<!-- Application: trails -->
<!-- Page: Home -->
<!-- Generated: Fri Jul 20 12:39:16 EDT 2007 -->
<html renderContentType="false" doctype="">
<head>
<meta name="generator" content="Tapestry Application Framework, version
4.1.2" />
<title>Best WEB Application on the planet!</title>
<link rel="stylesheet" type="text/css" title="don't select"
href="/styles/tapestryskin/theme.css" />
<script type="text/javascript">djConfig =
{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"}
</script>
<script type="text/javascript" src="/js/dojo/dojo.js"></script>
<script type="text/javascript">
dojo.require("dojo.logging.Logger");
dojo.log.setLevel(dojo.log.getLevel("WARNING"));
</script>
<script type="text/javascript">
dojo.registerModulePath("tapestry", "/assets/static/tapestry");
</script>
<script type="text/javascript"
src="/assets/static/tapestry/core.js"></script>
<script type="text/javascript">
dojo.require("tapestry.namespace");
tapestry.requestEncoding='UTF-8';
</script>
</head>
Best regards
Ken in nashua
_________________________________________________________________
Need a brain boost? Recharge with a stimulating game. Play now!
http://club.live.com/home.aspx?icid=club_hotmailtextlink1
_________________________________________________________________
Local listings, incredible imagery, and driving directions - all in one
place! http://maps.live.com/?wip=69&FORM=MGAC01
_________________________________________________________________
Local listings, incredible imagery, and driving directions - all in one
place! http://maps.live.com/?wip=69&FORM=MGAC01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]