You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Graeme Steyn <g....@cqu.edu.au> on 2008/07/06 06:25:07 UTC

[Trinidad] Compatibility with JavaScript Libraries

Hi,

I was wondering if there is any information available on Trinidad's
(1.2.8) compatibility with various JavaScript libraries.

Are the any known issues with using one of the following in a Trinidad
project:

- prototype
- scriptaculous
- jquery (e.g. jquery autocomplete)

Does Trinidad make use of any of these libraries?

Thank you.

Graeme.



RE: [Trinidad] Compatibility with JavaScript Libraries

Posted by Graeme Steyn <g....@cqu.edu.au>.

> -----Original Message-----
> From: Matthias Wessendorf
> Sent: Sunday, 6 July 2008 8:15 PM
> To: MyFaces Discussion
> Subject: Re: [Trinidad] Compatibility with JavaScript Libraries
Matthias,

Thank you.  The information is great.

Graeme.

> 
> On Sun, Jul 6, 2008 at 6:25 AM, Graeme Steyn <g....@cqu.edu.au>
> wrote:
> > Hi,
> >
> > I was wondering if there is any information available on Trinidad's
> > (1.2.8) compatibility with various JavaScript libraries.
> >
> > Are the any known issues with using one of the following in a
> Trinidad
> > project:
> >
> > - prototype
> > - scriptaculous
> 
> not that I know. I know there are issue with those libs, since
> they don't use namespacing, but haven't heard about anything
> regarding Trinidad.
> 
> > - jquery (e.g. jquery autocomplete)
> 
> jQuery is pretty neat. I like it . Haven't used it with Trinidad,
> but I think it should work.
> 
> >
> > Does Trinidad make use of any of these libraries?
> 
> Trinidad doesn't use any of these libs. It has a tiny JS lib,
> written by the Trinidad community.
> 
> But... you can integrate 3rd party JS libs to your Trinidad-based
> application.
> I gave a talk about Trinidad at the New York AjaxWorld. One topic was
> the
> integration of 3rd party JS libs. Perhaps the slides give you an idea
> on
> integration:
> 
> http://www.slideshare.net/mwessendorf/ajax-world-east-2008
> 
> I did it with Dojo and YUI, and it worked. Even integrating their JS +
> our, like combining
> YUI slider + Trinidad's client side validators worked fine.
> 
> I put one of my example to my little FacesGoodies project:
> -
>
http://code.google.com/p/facesgoodies/source/browse/trunk/src/main/weba
> pp/dojo.xhtml
> -
>
http://code.google.com/p/facesgoodies/source/browse/trunk/src/main/weba
> pp/WEB-INF/facelets/components/accordionPane.xhtml
> -
>
http://code.google.com/p/facesgoodies/source/browse/trunk/src/main/weba
> pp/WEB-INF/facelets/components/accordionContainer.xhtml
> 
> HTH,
> Matthias
> 
> >
> > Thank you.
> >
> > Graeme.
> >
> >
> >
> 
> 
> 
> --
> Matthias Wessendorf
> 
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org

Re: [Trinidad] Compatibility with JavaScript Libraries

Posted by Matthias Wessendorf <ma...@apache.org>.
On Sun, Jul 6, 2008 at 6:25 AM, Graeme Steyn <g....@cqu.edu.au> wrote:
> Hi,
>
> I was wondering if there is any information available on Trinidad's
> (1.2.8) compatibility with various JavaScript libraries.
>
> Are the any known issues with using one of the following in a Trinidad
> project:
>
> - prototype
> - scriptaculous

not that I know. I know there are issue with those libs, since
they don't use namespacing, but haven't heard about anything
regarding Trinidad.

> - jquery (e.g. jquery autocomplete)

jQuery is pretty neat. I like it . Haven't used it with Trinidad,
but I think it should work.

>
> Does Trinidad make use of any of these libraries?

Trinidad doesn't use any of these libs. It has a tiny JS lib,
written by the Trinidad community.

But... you can integrate 3rd party JS libs to your Trinidad-based application.
I gave a talk about Trinidad at the New York AjaxWorld. One topic was the
integration of 3rd party JS libs. Perhaps the slides give you an idea on
integration:

http://www.slideshare.net/mwessendorf/ajax-world-east-2008

I did it with Dojo and YUI, and it worked. Even integrating their JS +
our, like combining
YUI slider + Trinidad's client side validators worked fine.

I put one of my example to my little FacesGoodies project:
-http://code.google.com/p/facesgoodies/source/browse/trunk/src/main/webapp/dojo.xhtml
-http://code.google.com/p/facesgoodies/source/browse/trunk/src/main/webapp/WEB-INF/facelets/components/accordionPane.xhtml
-http://code.google.com/p/facesgoodies/source/browse/trunk/src/main/webapp/WEB-INF/facelets/components/accordionContainer.xhtml

HTH,
Matthias

>
> Thank you.
>
> Graeme.
>
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org