On Feb 5, 2007, at 6:32 PM, Damjan wrote:
> > I've created this Genshi markup for a project of mine > http://groups.google.com/group/pylons-discuss/web/edit.html ... now I > have this tagging widget there that works with Mochikit. It shows the > tags associated with a page, and allows for AJAX adding and removing > of the tags (with all the bells and whistles). > > So the input to the widget is, the initial taglist, addtag and > removetag URL's and a url for the activity indicator. It would be nice if those parameters could be passed to a constructor in a single js call, that would make wraping it in a TW quite easy and it would allow having multiple "taggers" in the same page. > > Now I thinks it would be great if this was a ToscaWidget, that I could > reuse in other pages.. but I don't know anything about ToscaWidgets > (yet) ... so maybe if someone can create a ToscaWidget of this example > it would be an interesting and helpfull tutorial? Indeed :) I'm having the same problem as David mentioned, quite a few widgets made for projects but none simple, yet interesting enough ones to use as examples (well, apart from all the crappy late-hour rushes which I'm too embarrased to share ;). I'm pretty short of time lately but if you could rearrange the js to be initialized with a single call I'll try to provide a widget with commented code soon. Thanks, Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@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-discuss?hl=en -~----------~----~----~----~------~----~------~--~---