Hi André,
there isn't a Widget version of Dojo,
but if you download the latest version and put dojo,dijit and dojox
folder in the static/javascript subfolder of your project
you can use:
<script type="text/javascript" src="${tg.url('/static/javascript/dojo/
dojo.js')}" djConfig="isDebug: false, parseOnLoad: true"></script>
in your master.kid (or master.html using genshi) to load the dojo
toolkit in all your pages.
To use cometd you still have to use a separate a comet server as Kevin
does.
To use Ajax you have to expose your methods via json.
Bye,
Michele.
On 1 Apr, 09:31, apm <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I have been looking around for a (Tosca)Widget to use dojo [1] with
> TurboGears. Has somebody made such a thing or could you give me some
> hints on using dojo with TG? Apart from ajax, I am particulalry
> interested in using dojox graphics (gxf) and cometd.
>
> BTW I looked at Kevin's screencast (2), but it seems like he does not
> use a widget. What would be the benefit of using a widget or not,
> after all?
>
> Thanks a lot for your help
> André
>
> [1]http://dojotoolkit.org/
> [2]http://www.sitepen.com/blog/2008/03/31/rich-ui-webapps-with-turbogear...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---