Hi Steve, thanks. I tried your version but without success. If I look at the source I see that skin:minimal.desktop is used.
<!--Created by Apache Trinidad (Apache MyFaces Trinidad API - 1.2.10/Apache MyFaces Trinidad Impl - 1.2.10), skin:minimal.desktop--> Best regards, Lars 2009/2/24 Steve Horne <[email protected]> > The <tr:document> tag will automatically include <html>, <head> and <body> > tags... If you view source, do you see multiple <body> tags? Just as a > suggestion, try removing the <html> and <body> tags in your page. > Try this: > > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> > <%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%> > <%@ taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh"%> > <f:view> > <tr:document> > <tr:form> > <tr:panelFormLayout> > <tr:inputText labelAndAccessKey="&Firstame" > required="true"></tr:inputText> > <tr:inputText labelAndAccessKey="&Lastname"></tr:inputText> > </tr:panelFormLayout> > </tr:form> > > </tr:document> > </f:view> > > > “Many men go fishing all of their lives without knowing it is not fish they > are after.” > - Henry David Thoreau > > > On Tue, Feb 24, 2009 at 4:43 PM, Lars Vogel <[email protected]>wrote: > >> Hi Steve, >> thank you. Attached my JSP file which I believe contains correctly the >> <tr:document> tag. >> >> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> >> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> >> <%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%> >> <%@ taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh"%> >> <html> >> <f:view> >> <body> >> <tr:document> >> <tr:form> >> <tr:panelFormLayout> >> <tr:inputText labelAndAccessKey="&Firstame" >> required="true"></tr:inputText> >> <tr:inputText labelAndAccessKey="&Lastname"></tr:inputText> >> </tr:panelFormLayout> >> </tr:form> >> >> </tr:document> >> </body> >> </f:view> >> </html> >> >> Best regards, Lars >> >> >> >> 2009/2/24 Steve Horne <[email protected]> >> >> I'm guessing that you are using JSP and are NOT using the <tr:document> >>> tag... >>> >>> <tr:document> will include the proper meta tags in the head that will get >>> the correct skin. >>> >>> HTH >>> >>> >>> “Many men go fishing all of their lives without knowing it is not fish >>> they are after.” >>> - Henry David Thoreau >>> >>> >>> >>> On Tue, Feb 24, 2009 at 3:55 PM, Lars Vogel >>> <[email protected]>wrote: >>> >>>> Hi, >>>> >>>> my little example application does not pickup the skinning. I followed: >>>> http://myfaces.apache.org/trinidad/devguide/skinning.html >>>> >>>> I have two file in WEB-INF: trinidad-skins.xml and trinidad-config.xml. >>>> I believe for skinning no change in web.xml and faces-config.xml is >>>> necessary >>>> >>>> trinidad-skins.xml >>>> >>>> <?xml version="1.0" encoding="ISO-8859-1"?> >>>> <skins xmlns="http://myfaces.apache.org/trinidad/skin"> >>>> <skin> >>>> <id>aqua.desktop</id> >>>> <family>aqua</family> >>>> <render-kit-id> >>>> org.apache.myfaces.trinidad.desktop >>>> </render-kit-id> >>>> <style-sheet-name>skins/aqua/aqua.css >>>> </style-sheet-name> >>>> </skin> >>>> </skins> >>>> >>>> trinidad-config.xml >>>> >>>> <?xml version="1.0"?> >>>> <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config"> >>>> <!-- Enable debug output --> >>>> <debug-output>true</debug-output> >>>> <accessibility-mode>default</accessibility-mode> >>>> <skin-family>aqua</skin-family> >>>> </trinidad-config> >>>> >>>> aqua.css in directory WebContent /skins/aqua/ >>>> >>>> body { >>>> background-color: black; >>>> font-size: 60px; >>>> } >>>> >>>> >>>> From Matts answer earlier I see that skin:minimal.desktop is used as a >>>> skin for the JSP. >>>> >>>> Any obvious mistake I'm making? >>>> >>>> Best regards, Lars >>>> >>>> >>>> >>>> >>>> >>> >> >> >> -- >> Lars >> http://www.vogella.de - Tutorial about Java, Eclipse and Web programming >> > > -- Lars http://www.vogella.de - Tutorial about Java, Eclipse and Web programming

