You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/05/30 13:35:11 UTC

[jira] [Updated] (TAP5-1855) JavaScript callback on grid inplace update

     [ https://issues.apache.org/jira/browse/TAP5-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Kemnade updated TAP5-1855:
---------------------------------


This issue has been last updated about 1.5 years ago and has no information about the versions that are affected. That makes it hard to determine whether it is still relevant.
If the issue still persists with the current stable version (5.3.7) or the most recent development preview of Tapestry (5.4-beta-6), both of which are available from Maven Central, please update it as soon as possible, adding the respective version(s) to the issue's "Affects Version/s".

> JavaScript callback on grid inplace update
> ------------------------------------------
>
>                 Key: TAP5-1855
>                 URL: https://issues.apache.org/jira/browse/TAP5-1855
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Mihail Slobodyanuk
>            Priority: Minor
>              Labels: AJAX, Grid, javascript
>
> It's no direct way to call JS function from InplaceUpdate event handler
> Not in this case:
> void onInplaceUpdateFromGrid(String zone){
>         ajaxResponseRenderer.addCallback(new JavaScriptCallback() {
>             public void run(JavaScriptSupport javascriptSupport) {
>                 javascriptSupport.addInitializerCall("updateGrid","");
>             }
>         });
> }
> neither in this case:
>     void onInplaceUpdateFromGrid(String zone) {
>         javascriptSupport.addScript("Tapestry.Initializer.updateGrid()");
>     }
> function's call don't posted in update zone AJAX response to client.
> It should be to reinitialize styles in updated part.



--
This message was sent by Atlassian JIRA
(v6.2#6252)