Specifically, in your trinidad-config.xml, include <skin-family>someSkin</skin-family>
in your trinidad-skins.xml, include something like <skin> <id>some.desktop</id> <family>someSkin</family> <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id> <style-sheet-name>skins/skin-1/skin-1.css</style-sheet-name> </skin> Bill On Thu, Jul 10, 2008 at 10:57 AM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > Trinidad isn't really setup to include individual CSS files. It is > made to develop skins and set the skin for a particular application, > view or whatever. > > On Thu, Jul 10, 2008 at 9:45 AM, Mathias Walter <[EMAIL PROTECTED]> wrote: >> Ah sorry! I missed that point. I only saw this component a while ago and >> thought it could be used in this way. >> >> -- >> Regards, >> Mathias >> >>> -----Original Message----- >>> From: Richard Yee [mailto:[EMAIL PROTECTED] >>> Sent: Thursday, July 10, 2008 5:35 PM >>> To: MyFaces Discussion >>> Subject: Re: [Trinidad] How to use <tr:document>? >>> >>> >>> trh:styleSheet won't work. trh:styleSheet doesn't include a >>> user-defined stylesheet. From the documentation: "The styleSheet >>> component generates the style sheet link reference to a generated >>> Apache Trinidad style sheet." >>> >>> -Richard >>> >>> On 7/10/08, Mathias Walter <[EMAIL PROTECTED]> wrote: >>> > >>> > Hi Henry, >>> > >>> > why don't you use just <trh:styleSheet>? >>> > >>> > -- >>> > Kind regards, >>> > Mathias >>> > >>> > -----Original Message----- >>> > From: Henry Chang [mailto:[EMAIL PROTECTED] >>> > Sent: Thursday, July 10, 2008 3:41 AM >>> > To: MyFaces Discussion >>> > Subject: [Trinidad] How to use <tr:document>? >>> > >>> > >>> > >>> > >>> > Hi all, >>> > >>> > >>> > >>> > Can anybody show me the correct way of using the >>> <tr:document> with a link >>> > to an external CSS style sheet and JavaScript file? The >>> documentation says >>> > that it will automatically create each of the standard root >>> elements of an >>> > HTML page such as <html>, <body> and <head>. But there is >>> no attribute in >>> > controlling any of these tags. For example, I would like to write: >>> > >>> > >>> > >>> > < head title="Page Title"> >>> > >>> > <link href="css/app.css" rel="stylesheet" type="text/css" /> >>> > >>> > </head> >>> > >>> > >>> > >>> > This links to an external CSS style sheet. How do I do that >>> with only >>> > <tr:document>? Currently all my pages do not use >>> <tr:document>, but instead >>> > use the following: >>> > >>> > >>> > >>> > <f:view> >>> > >>> > <trh:html> >>> > >>> > <trh:head title="Page Title"> >>> > >>> > <link href="css/app.css" rel="stylesheet" type="text/css" /> >>> > >>> > </trh:head> >>> > >>> > <trh:body> >>> > >>> > ... >>> > >>> > </trh:body> >>> > >>> > </trh:html> >>> > >>> > </f:view> >>> > >>> > >>> > >>> > Is this the right way to use Trinidad? >>> > >>> > >>> > >>> > Best Regards, >>> > >>> > Henry Chang >>> > >>> > >> >> >