Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2100

DynamicImageResouce blocks loading of AjaxLazyLoadPanel

    XMLWordPrintableJSON

    Details

      Description

      The loading process of an image which loads its contents from a DynamicImageResource blocks changing of an AjazLazyLoadPanel from indicating image to content. "respond(...)" method of AbstractDefaultAjaxBehavior from AjaxLazyLoadPanel is never called.

      Within the attached quick start there is a forced delay because the image is too small and loads too quick to force the error. I think the problem is that loading the first dynamic resource changes state of the page from "domready" to "load" and attached AjaxLazyLoadPanel script ignores it's execution.

        Attachments

        1. TestPanel.java
          0.4 kB
          Sergio Garcia
        2. TestPanel.html
          0.3 kB
          Sergio Garcia
        3. TestPage.java
          3 kB
          Sergio Garcia
        4. TestPage.html
          0.5 kB
          Sergio Garcia

          Issue Links

            Activity

              People

              • Assignee:
                knopp Matej Knopp
                Reporter:
                sgarcia Sergio Garcia
              • Votes:
                2 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: