Hi David,

Thank you very much for your reply!!!! 

What I did was: I modified "\jetexpress\decorations\layout\turbo\header.vm"
adding these lines before the "</head>" :
-----------------------------
    <link rel="stylesheet" type="text/css"
href="#BaseHref()javascript/dojo-release-1.4.3/dijit/themes/tundra/tundra.css"
/>
    <link rel="stylesheet" type="text/css"
href="#BaseHref()javascript/dojo-release-1.4.3/dojo/resources/dojo.css" />
    <script type="text/javascript"
src="#BaseHref()javascript/dojo-release-1.4.3/dojo/dojo.js"
djConfig="parseOnLoad: true" > </script>
-----------------------------

With this I can use dojo 1.4.3 in all the portlets :D

And in the portlets I call the required dojo elements that I need, for
example:
-----------------------------
<script type="text/javascript">
      dojo.require("dojo.parser");
      dojo.require("dijit.form.TextBox");
      dojo.require("dijit.form.ValidationTextBox");
      dojo.require("dijit.form.Button"); 
      dojo.require("dijit.form.CheckBox");
    </script>
-----------------------------

With this I don't have to import the dojo.js, dojo.css or the tundra.css in
any of the JSPs

Thanks again for taking the time to respond!

Horacio A Antonelli 

-- 
View this message in context: 
http://old.nabble.com/Jetspeed-and-Dojo-tp19354980p28941425.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-user-h...@portals.apache.org

Reply via email to