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

