On Jan 29, 2008 12:49 AM, Alberto Valverde <[EMAIL PROTECTED]> wrote: > > Mike Orr wrote: > > (...) > > > > ToscaWidgets has too many dependencies; it almost doubles the size of > Pylons. Plus I understand the TW team wants to get rid of a couple of > those dependencies, which Pylons has already jettisoned. lxml is > required for TW's Javascript features. > > Correct. TW wants to get rid of all it's C dependencies, currently the > only "hard" ones are RuleDispatch and PyProtocols. > > You *don't need* lxml to inject javascript and css. The "lxml method" is > an experimental approach which I will probably deprecate and remove from > the codebase someday because it's more trouble than it's worth (a C > dependency plus doctype mangling). I though I made this clear in the > tutorial... [1].
> [1] > http://wiki.pylonshq.com/display/toscawidgets/Using+twForms+with+Pylons.+Part+1#a-little-theory It sounded like the injection approach was "not so experimental" and going to be the future recommendation, so that's what I tried. I didn't consult the other tutorials because they're all obsolete in different ways (Myghty, etc). As for not injecting Javascript and doing it myself, I don't know how to do that. You mean copying the Javscripts to my public directory? As for using TW without JS, that defeats one of the main purposes of using TW for me. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en -~----------~----~----~----~------~----~------~--~---