addInitializer only calls on the Tapestry.Initializer object. addScript calls
global functions.

So:
Tapestry.Initializer.createDroppable = function() {
     Droppables.add('rightContent');
     alert('added RightContent to droppables');
};


And:
addInitializerCall("createDroppable");

--
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Using-JavascriptSupport-addInitializerCall-tp6348185p6348372.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to