On 5/25/06, Peter Svensson <[EMAIL PROTECTED]> wrote:
I'm sorry Jesse. I'm a little bit at sea, here. In my first post I had the configuration part of my Border.html, but that's not what you mean. Do you want me to post the contents of the dojo.js, or which file/files are you refreing to.
Cheers,
PSOn 5/25/06, Jesse Kuhnert < [EMAIL PROTECTED]> wrote:I meant what does the rendered dojo.js script include + configuration part look like.On 5/25/06, Peter Svensson < [EMAIL PROTECTED]> wrote:Thanks for the reply Jesse!
I think that this is the relevant part of the generated source in firefox;
--------------------------<h3>Bilder</
h3>
<div id="$FisheyeList" fishcontainer="true"><div id="$FisheyeList0" dojoType="FisheyeList" widgetId="$FisheyeList0" itemWidth
="40" itemHeight="40" itemMaxWidth= "80" itemMaxHeight="80" orientation="vertical"
effectUnits="2.0" itemPadding= "10.0" attachEdge="right" labelEdge="bottom" break-on= "4" item-max-height="100" effect-units="3" item-max-width="100"><div dojoType ="FisheyeListItem" id="[EMAIL PROTECTED]" class= "listItem">
<a href="/Art/action.svc?action=""> >
<img src="/Art/app?service=image&imageid=1" width="100" height="100"></img>
</
a>
</div>
<div id="$FisheyeList1"
dojoType="FisheyeList" widgetId="$FisheyeList1" itemWidth="40" itemHeight="40" itemMaxWidth="80" itemMaxHeight="80" orientation ="vertical" effectUnits="2.0" itemPadding= "10.0" attachEdge="right" labelEdge="bottom"
break-on="4" item-max-height= "100" effect-units="3" item-max-width="100">
<div dojoType="FisheyeListItem" id="[EMAIL PROTECTED]" class="listItem">
<a href="/Art/action.svc?action=""
>
<img src="/Art/app?service=image&imageid=2" width="100" height="100"></img></a>
</div>
<div id="$FisheyeList2"
dojoType="FisheyeList" widgetId="$FisheyeList2" itemWidth="40" itemHeight="40" itemMaxWidth="80" itemMaxHeight="80" orientation ="vertical" effectUnits="2.0" itemPadding= "10.0" attachEdge="right" labelEdge="bottom"
break-on="4" item-max-height= "100" effect-units="3" item-max-width="100">
<div dojoType="FisheyeListItem" id="[EMAIL PROTECTED]" class="listItem">
<a href="/Art/action.svc?action=""
>
<img src="/Art/app?service=image&imageid=3" width="100" height="100"></img>
</
a>
</div>
<div id="$FisheyeList3"
dojoType="FisheyeList" widgetId="$FisheyeList3" itemWidth="40" itemHeight="40" itemMaxWidth="80" itemMaxHeight="80" orientation ="vertical" effectUnits="2.0" itemPadding= "10.0" attachEdge="right" labelEdge="bottom"
break-on="4" item-max-height= "100" effect-units="3" item-max-width="100">< div dojoType="FisheyeListItem" id="[EMAIL PROTECTED]" class="listItem">
<a href= "/Art/action.svc?action="">>
<img src ="/Art/app?service=image&imageid=8" width="100" height
="100"></img>
</a >
</div>
< div id="$FisheyeList4" dojoType="FisheyeList" widgetId="$FisheyeList4" itemWidth="40" itemHeight ="40" itemMaxWidth="80" itemMaxHeight= "80" orientation="vertical" effectUnits="2.0"
itemPadding="10.0" attachEdge= "right" labelEdge="bottom" break-on="4" item-max-height=
"100" effect-units="3" item-max-width
= "100">
<div dojoType="FisheyeListItem" id ="[EMAIL PROTECTED]" class="listItem">
<a href="/Art/action.svc?action="">>
<img
src="/Art/app?service=image&imageid=6"
width="100"
height="100"></img></a>
</div >
<div id="$FisheyeList5" dojoType="FisheyeList" widgetId="$FisheyeList5" itemWidth
="40" itemHeight="40" itemMaxWidth= "80" itemMaxHeight="80" orientation="vertical"
effectUnits="2.0" itemPadding= "10.0" attachEdge="right" labelEdge="bottom" break-on= "4" item-max-height="100" effect-units="3" item-max-width="100">
<div dojoType= "FisheyeListItem" id="[EMAIL PROTECTED]" class="listItem"
>
<a href="/Art/action.svc?action=""
>
<img src="/Art/app?service=image&imageid=7" width="100" height="100"></img>
</
a>
</div>
</div></
div>
</ div>
</div></div></div></div></ div><script language="_javascript_" type= "text/_javascript_"><!--
if (false) {
tacos.buildFisheye(false, ["$FisheyeList0","$FisheyeList1","$FisheyeList2","$FisheyeList3","$FisheyeList4","$FisheyeList5"], {$FisheyeList0: {id:"$FisheyeList0",dojoType: "FisheyeList",widgetId: "$FisheyeList0", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList1: {id:"$FisheyeList1",dojoType: "FisheyeList",widgetId: "$FisheyeList1", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList2: {id:"$FisheyeList2",dojoType: "FisheyeList",widgetId: "$FisheyeList2", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList3: {id:"$FisheyeList3",dojoType: "FisheyeList",widgetId: "$FisheyeList3", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList4: {id:"$FisheyeList4",dojoType: "FisheyeList",widgetId: "$FisheyeList4", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList5: {id:"$FisheyeList5",dojoType: "FisheyeList",widgetId: "$FisheyeList5", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"}});
} else {
dojo.event.disconnect(window, "onload", (function() {
tacos.buildFisheye
(false, ["$FisheyeList0","$FisheyeList1","$FisheyeList2","$FisheyeList3","$FisheyeList4","$FisheyeList5"],{$FisheyeList0: {id:"$FisheyeList0",dojoType: "FisheyeList",widgetId: "$FisheyeList0", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList1: {id:"$FisheyeList1",dojoType: "FisheyeList",widgetId: "$FisheyeList1", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList2: {id:"$FisheyeList2",dojoType: "FisheyeList",widgetId: "$FisheyeList2", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList3: {id:"$FisheyeList3",dojoType: "FisheyeList",widgetId: "$FisheyeList3", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList4: {id:"$FisheyeList4",dojoType: "FisheyeList",widgetId: "$FisheyeList4", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList5: {id:"$FisheyeList5",dojoType: "FisheyeList",widgetId: "$FisheyeList5", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"}});
}));
dojo.event.connect(window, "onload", (function() {
tacos.buildFisheye(false, ["$FisheyeList0","$FisheyeList1","$FisheyeList2","$FisheyeList3","$FisheyeList4","$FisheyeList5"],{$FisheyeList0: {id:"$FisheyeList0",dojoType: "FisheyeList",widgetId: "$FisheyeList0", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList1: {id:"$FisheyeList1",dojoType: "FisheyeList",widgetId: "$FisheyeList1", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList2: {id:"$FisheyeList2",dojoType: "FisheyeList",widgetId: "$FisheyeList2", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList3: {id:"$FisheyeList3",dojoType: "FisheyeList",widgetId: "$FisheyeList3", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList4: {id:"$FisheyeList4",dojoType: "FisheyeList",widgetId: "$FisheyeList4", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"},$FisheyeList5: {id:"$FisheyeList5",dojoType: "FisheyeList",widgetId: "$FisheyeList5", itemWidth: 40, itemHeight: 40, itemMaxWidth: 80, itemMaxHeight: 80, orientation: "vertical", effectUnits:
2.0, itemPadding: 10.0, attachEdge: "right" , labelEdge: "bottom"}});
}));
}
--------------------------------
Thanks!
Cheers,
PS
// --></script></body>On 5/25/06, Jesse Kuhnert < [EMAIL PROTECTED]> wrote:What does the rendered page look like when you do view source on your browser ?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.
--
Jesse Kuhnert
Tacos/Tapestry, team member/developer
Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
--
Jesse Kuhnert
Tacos/Tapestry, team member/developer
Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
