1

Topic: Widget Events

From Rezvie F. Navallo:

I have found that when you put document.observe('dom:loaded', function() {}) such as autocompleter from the widget, on tooltwist designer you can't move that widget out of the page into the basket.

2

Re: Widget Events

Hi Rezvie,

In a widget's "renderForDesigner()" and "renderForPreview()" methods, it is important to not set any events. The objective
in these modes is to design the page, not to actually use the widget. Consequently, in these mode, show the appearance
of the widget (e.g. HTML), but don't put Javascript or other logic.

Save the Javascript for renderForJSP().