You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Seth Shikora <ss...@rocketmail.com> on 2007/04/02 19:27:01 UTC

confusion on javascript library integration with T4.1 and T5

Hi All,

  I have a question that I'm sure has been discussed
to death but I can't seem to find the answer I'm
looking for. 

  I've been lurking on the list for awhile now, and
have been creating tapestry applications for a few
months but consider myself a newbie to tapestry still.
I've worked through the "Tapestry 101" and the latest
version of "Enjoying web development with tapestry".
I've also been looking at the developments in T5 and
am trying to figure out the best way to integrate Dojo
or potentially some other javascript library into my
Tapestry development. 

The options as I can figure out so far are the
following. 

1) Stay with T4.0 and use the components in the Tacos
library.
2) Use T4.1 and work with Dojo (or some other
javascript library) directly in my html, then use the
EventListener annotation to link the created
javascript with the java classes on the server.
3) Wait till T5 development supports the integration,
however that will work.

I've done some of option 1 in the "Tapestry 101" book
examples. 

I've been trying to do option 2 since it seems to
allow use of the newest versions of Dojo and the full
spectrum of widgets, but can't find any examples of
how this would work in practice. I also can't seem to
get the dojo examples (i.e. 
http://dojo.jot.com/WikiHome/Tutorials/HelloWorld) to
work correctly within the tapestry framework. Any
links for this would be awesome. 

Ultimately I'd like to be using T5 since that's the
latest and greatest, but I need to have something in
place in a few weeks, so waiting a few months for
something isn't the best option of me. Please correct
me if I'm just confused. 

Given all that, what's the best option for me at the
moment? 

Any / all help is much appreciated. 

Thanks,
Seth. 




 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org