You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Mihail Slobodyanuk (Created) (JIRA)" <ji...@apache.org> on 2012/02/24 07:12:48 UTC
[jira] [Created] (TAP5-1855) JavaScript callback on grid inplace
update
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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira