Re: Grid style after inplace update

2012-02-13 Thread Михаил Слободянюк
I do not get error in JS. Not in this case: void onInplaceUpdateFromGrid(String zone){ ajaxResponseRenderer.addCallback(new JavaScriptCallback() { public void run(JavaScriptSupport javascriptSupport) { javascriptSupport.addInitializerCall("updateGrid","");

Re: Grid style after inplace update

2012-02-13 Thread Lance Java
In your example, you are attempting to invoke JavaScriptSupport.addInitializerCall() This requires that the javascript method being invoked is in the Tapestry.Initializer namespace. In your example, it would be trying to invoke Tapestry.Initializer.updateGrid(). If you show the javascript console

Re: Grid style after inplace update

2012-02-13 Thread Михаил Слободянюк
13 февраля 2012 г. 10:32 пользователь Lance Java написал: > Try: > > jsSupport.addScript("someFunction('%s')", someVar) > > Where i must place this call? How someFunction has been called?

Re: Grid style after inplace update

2012-02-13 Thread Lance Java
Try: jsSupport.addScript("someFunction('%s')", someVar) On Sunday, 12 February 2012, Михаил Слободянюк wrote: > Hi! > > I use JQuery-UI for styling Tapestry. In JS modify styles presetted on > Grid. But after inplace update styles resetted. > I wroute method in my page > > void onInplaceUpdateFr

Grid style after inplace update

2012-02-12 Thread Михаил Слободянюк
Hi! I use JQuery-UI for styling Tapestry. In JS modify styles presetted on Grid. But after inplace update styles resetted. I wroute method in my page void onInplaceUpdateFromGrid(String zone){ ajaxResponseRenderer.addCallback(new JavaScriptCallback() { public void run(JavaScr