This is where I'm not exactly sure how tightly things are integrated between Javascript and most frameworks. I know that Rails supports jQuery and Prototype, I believe, but I don't know exactly where they have them integrated and for what purpose.
The only integration I have so far is in a proc called ss_button that creates a button widget, and you can do things like: ss_button delete -text "Delete This" -confirm "Are you sure you want to delete this?" The -confirm option links into jQuery and pops up a confirmation dialog before proceeding with the button if it exists. Otherwise it just returns and does nothing. So far that's about the only actual integration I've managed to come up with. I'm using jQuery extensively on the site, but it's just pure jQuery and has little or nothing to do with the Tcl code on the backend. D On Jan 27, 2011, at 12:22 PM, Clif Flynt wrote: > I've got some sort of javascript interfacing in my future. In a > post-FaceBook era, folks don't like the http 2.0 look & feel any more > than they like Mosaic. > > I've looked at WubTk briefly - the idea is clever (rework Tk widgets to > generate javascript (JQuery, I think) widgets), but it's tied more > tightly to Wub than a quick survey was going to disentangle. > > I think a One-True-Supported javascript thing in Rivet (or as a Rivet > add-on) would be great. > > I can offer to test and complain. I'm not sure just how much I'll be > able to actually contribute. > > Clif > > -- > ... Clif Flynt ... http://www.cwflynt.com ... [email protected] ... > .. Tcl/Tk: A Developer's Guide (2nd edition) - Morgan Kauffman .. > .... 18'th Annual Tcl/Tk Conference: 2011, Manassas, VA USA .... > ............. http://www.tcl.tk/community/tcl2010/ ............ > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
