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 js-resource an delivered > automatically without using metaContainer for tr:document or trh:script. > > Can you give me a hint how to to this?
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) Otherwise a simple option is the <trh:script /> or writing a custom resourceLoader. -Matthias > > Best regards > Daniel > -- > View this message in context: > http://www.nabble.com/Trinidad%3A-how-to-include-javascript-files-tp18942502p18995253.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > -- 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

