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","");
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
13 февраля 2012 г. 10:32 пользователь Lance Java
написал:
> Try:
>
> jsSupport.addScript("someFunction('%s')", someVar)
>
>
Where i must place this call? How someFunction has been called?
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
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