Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1855

JavaScript callback on grid inplace update

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • tapestry-core

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            slonm Mihail Slobodyanuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: