tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TAP5-1855) JavaScript callback on grid inplace update
Date Mon, 12 Jan 2015 08:10:39 GMT

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

Jochen Kemnade closed TAP5-1855.
--------------------------------
    Resolution: Invalid

We assume this is no longer relevant and therefore close it.
If you still have this issue in a recent Tapestry version (such as 5.3.8 or the latest 5.4
preview release), feel free to provide the necessary information and reopen.

> 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.3.4#6332)

Mime
View raw message