Hey Daniel :-)

I really can't remember, why I had a hack inside my foo.js and
onLoad-func was basically just calling something.
Glad it now works for you.

-M

On Nov 27, 2007 3:48 PM, Daniel Niklas <[EMAIL PROTECTED]> wrote:
>
> Hi Matthias,
>
> thanks a lot, dojo is running know in my trinidad environment. I'm using
> Version 1.0.1, a very simple example looks like this:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <tr:document
>   inlineStyle="width:100%; height:100%;"
>   xmlns:ui="http://java.sun.com/jsf/facelets";
>   xmlns:h="http://java.sun.com/jsf/html";
>   xmlns:f="http://java.sun.com/jsf/core";
>   xmlns:tr="http://myfaces.apache.org/trinidad";
>   title="Dojo Integration to Trinidad">
>
> <f:facet name="metaContainer">
>
> <link rel="stylesheet" type="text/css"
> href="#{facesContext.externalContext.requestContextPath}/dojo-release-1.0.1/dijit/themes/tundra/tundra.css"
> />
> <link rel="stylesheet" type="text/css"
> href="#{facesContext.externalContext.requestContextPath}/dojo-release-1.0.1/dojo/resources/dojo.css"
> />
>
> <script type="text/javascript"
> src="#{facesContext.externalContext.requestContextPath}/dojo-release-1.0.1/dojo/dojo.js"
> djConfig="parseOnLoad: true"></script>
>
> <script>
>        dojo.require("dijit.layout.ContentPane");
>        dojo.require("dijit.layout.LayoutContainer");
> </script>
>
> </f:facet>
>
> <tr:form inlineStyle="width:100%; height:100%;">
>
> <div dojoType="dijit.layout.LayoutContainer"
>         style="width: 100%; height: 100%; padding: 0; margin: 0; border: 0;">
>
> <div dojoType="dijit.layout.ContentPane" layoutAlign="top"
>         style="background-color:red">
>         Toolbar
> </div>
>
> <div dojoType="dijit.layout.ContentPane" layoutAlign="client"
>         style="background-color:yellow">
>         <p>Test for scrollable Area.</p>
>         <p>Test for scrollable Area.</p>
>         <p>Test for scrollable Area.</p>
>         <p>Test for scrollable Area.</p>
>         <p>Test for scrollable Area.</p>
>         <p>Test for scrollable Area.</p>
>         <p>Test for scrollable Area.</p>
> </div>
> </div>
>
> </tr:form>
> </tr:document>
>
> btw: My first name is Daniel ;-)
>
> Greetings
> Daniel
>
> --
> View this message in context: 
> http://www.nabble.com/-Trinidad--Use-Dojo-with-Trinidad-tf4880858.html#a13972207
>
> 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

Reply via email to