Leonardo,
Thanks for the suggestion. I did try out what you said, but saw the
same results. I am getting the dubug trace listed below with an error
in dojo.js line 224 NS_ERROR_INVALID_POINTER. Interesting, when I leave
off the comma after 'isDebug: false' the debug console gets it's full
CSS look. Any ideas on the line 224 error?
Thanks,
Joseph
Leonardo Quijano Vincenzi wrote:
This is my preferred approach to baseRelativePath, though:
<html jwcid="@Shell" title="ognl:'SomeTitle">
<script type="text/javascript">
djConfig = {
parseWidgets: false,
isDebug: false,
baseRelativePath: '<span jwcid="@Insert" value="ognl:baseURL +
'/js/dojo/'" />'
};
</script>
<script jwcid="@Any" type="text/javascript" src="ognl:baseURL +
'/js/dojo/dojo.js'"></script>
And in Border.java:
@InjectObject("infrastructure:request")
public abstract WebRequest getWebRequest();
public String getBaseURL() {
return getWebRequest().getContextPath();
}
Dojo would be of course, inside /js/dojo under the context root.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel