Pretty old thread, though seems to be the best place for my question.

I've been playing around with Dojo and Trinidad, I tried Daniels sample page
but for reasons I don't understand (yet) it doesn't work. The html-elements
are there but nevertheless the page appears blank. 

But I got another example working:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<tr:document xmlns:ui="http://java.sun.com/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">
                <script type="text/javascript" djConfig="parseOnLoad: true"
                
src="#{facesContext.externalContext.requestContextPath}/dojo-release-1.4.2/dojo/dojo.js.uncompressed.js"
/>
                <script>
                dojo.require("dijit.form.DateTextBox");
                </script>
                <link rel="stylesheet" type="text/css"
                
href="#{facesContext.externalContext.requestContextPath}/dojo-release-1.4.2/dijit/themes/tundra/tundra.css"
/>
        </f:facet>

        <h:form>
                <input dojoType="dijit.form.DateTextBox" />
        </h:form>
</tr:document>

What I can't understand is that the tundra.css styles are being ignored, at
least partially. The input field for the date is decorated correctly but the
calendar itself looks pretty ugly.

Anybody an idea, why's that?

Thanks
Simon
-- 
View this message in context: 
http://old.nabble.com/-Trinidad--Use-Dojo-with-Trinidad-tp13968204p28327727.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to