or, use the metaContainer facet of <tr:document> to include custom resource (CSS, JS...)
see an example here: http://code.google.com/p/facesgoodies/source/browse/trunk/src/main/webapp/WEB-INF/facelets/layout/template.xhtml -M On Tue, Aug 12, 2008 at 1:30 PM, Frank Nimphius <[EMAIL PROTECTED]> wrote: > > Hi, > > look at trh:script > > http://myfaces.apache.org/trinidad/trinidad-1_2/trinidad-api/tagdoc/trh_script.html > > Frank > > Aldo Vadillo Batista wrote: > > I have a javascript file that include several validation functions. > I'm developing an application that uses apache trinidad. When I try to > include my .js file, the style of the page is not included. > I mean: it seems like the framework doesn't look for the trinidad skin > associated to it. > > Is there any way to include the .js file? > > -- > > Frank Nimphius | Principal Product Manager > Oracle Application Development Tools > Oracle is committed to developing practices and products that help protect > the environment -- Matthias Wessendorf Need JSF and Web 2.0? http://code.google.com/p/facesgoodies further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org