On 5/25/06, Peter Svensson <[EMAIL PROTECTED]
> wrote:
Hi! I'm having a small problem which is driving me up against walls and any furniture not smart enough to get out of the way.
I have downloaded tacos 4b2 demo war and copied the provided js/ directory to my context/WEB-INF/ directory, and also copied the provided tacos jar to my lib directory.
I ahev copied the Border.html/jwc with the taco/dojo inits, and it seems as if it doesn't find or deign to notice the dojo.js.
My Border.html;
<!-- generated by Spindle, http://spindle.sourceforge.net -->
<html jwcid="@Shell" title="Trails" stylesheet="ognl:assets.stylesheet">
<script type="text/_javascript_">
djConfig = { isDebug: true,
baseRelativePath: "js/dojo",
preventBackButtonFix: false,
parseWidgets: false
};
</script>
<script jwcid="@Any" type="text/_javascript_" src="" + '/js/dojo/dojo.js'"></script>
<body jwcid="@Body">
<div align="right">
[ <span jwcid="@trails:LocaleLink" linkText="portuguese" language="pt" imageAsset="asset:brFlag"/> |
<span jwcid="@trails:LocaleLink" linkText="english" language="en"imageAsset="asset:usFlag" /> |
<span jwcid="@trails:LocaleLink" linkText="argentino" language="es" country="AR" imageAsset="asset:arFlag"/> ]
</div>
<span jwcid="@RenderBody" />
</body>
</html>
I get the JS error "dojo is not defined".
What is my glaring mistake?
Please! Argh!
Thanks!
Cheers,
PS
--
Jesse Kuhnert
Tacos/Tapestry, team member/developer
Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
