also document has an onload attribute (see [1]). -Matthias
[1] http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_document.html On Nov 27, 2007 11:48 AM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi Niklas, > > I used it last year. Inside a demo, to show the integration. > I can't find the source, but I was able to integrate it. > > I embedded the <script> inside of the tr:document's metaContainer facet > > I hadn't bothered myself to create a resourceloader ;-) > > -M > > > On Nov 27, 2007 11:27 AM, Daniel Niklas <[EMAIL PROTECTED]> wrote: > > > > 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. > > > > > > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > mail: matzew-at-apache-dot-org > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org

