Hi,
I've not tested it, but i also used own JS files in my Trinidad application and it should
work exactly the same way as in plain HTML.
Also you can try to have an "importDojo.js" file where you do the import stuff, and import
this file with
<trh:script source="/importDojo.js" />
Greetings
Markus
-----Ursprüngliche Nachricht-----
Von: Daniel Niklas [mailto:daniel.niklas@continentale.de]
Gesendet: Dienstag, 27. November 2007 11:27
An: users@myfaces.apache.org
Betreff: [Trinidad] Use Dojo with Trinidad
Hi,
i want to use the dojo-widges "LayoutContainer" and "ContentPane" in my
trinidad-pages. How do i configure dojo correct?
(I'am using facelets 1.1.14.)
In a plain HTML page i would do something like this:
<style type="text/css">
@import "dojo-release-1.0.1/dijit/themes/tundra/tundra.css";
@import "dojo-release-1.0.1/dojo/resources/dojo.css"
</style>
<script type="text/javascript" src="dojo-release-1.0.1/dojo/dojo.js"
djConfig="parseOnLoad: true"></script>
<script type="text/javascript">
dojo.require("dijit.layout.ContentPane");
dojo.require("dijit.layout.LayoutContainer");
</script>
Has anybody used dojo within a trinidad application? How did you do that?
How did you make your own dojo-Build?
Thanks in advance
Daniel
--
View this message in context: http://www.nabble.com/-Trinidad--Use-Dojo-with-Trinidad-tf4880858.html#a13968204
Sent from the MyFaces - Users mailing list archive at Nabble.com.
|