Re: Trinidad: how to include javascript files

2008-08-15 Thread Daniel Niklas
Hi Matthias, Matthias Wessendorf-4 wrote: > > On Fri, Aug 15, 2008 at 10:07 AM, Daniel Niklas <[EMAIL PROTECTED]> wrote: > If you want to have it inside Trinidad (I'd not do that), > you have to register your script file here: > -CoreCommonScriptsResourceLoader (you need to "patch" it) > I do

Re: Trinidad: how to include javascript files

2008-08-15 Thread Matthias Wessendorf
On Fri, Aug 15, 2008 at 10:07 AM, Daniel Niklas <[EMAIL PROTECTED]> wrote: > > Hi, > > we have own custom trinidad components. How can i add the needed javascript > in another way? > > Trinidad seems to do this in another way, each component has its own > javascript-file. This is aggregated to one

Re: Trinidad: how to include javascript files

2008-08-15 Thread Daniel Niklas
Hi, we have own custom trinidad components. How can i add the needed javascript in another way? Trinidad seems to do this in another way, each component has its own javascript-file. This is aggregated to one js-resource an delivered automatically without using metaContainer for tr:document or t

Re: Trinidad: how to include javascript files

2008-08-12 Thread Matthias Wessendorf
or, use the metaContainer facet of 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,

Re: Trinidad: how to include javascript files

2008-08-12 Thread Frank Nimphius
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 i

Trinidad: how to include javascript files

2008-08-12 Thread Aldo Vadillo Batista
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 a