Tapestry 5
  1. Tapestry 5
  2. TAP5-1855

JavaScript callback on grid inplace update

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tapestry-core
    • Labels:

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mihail Slobodyanuk
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development