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

append AjaxTimerBehavior script to component markup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0 branch (discontinued), 1.2.2, 1.2.3
    • wicket
    • None

    Description

      AbstractAjaxTimerBehavior appends itself to the body onload attribute in renderHead. This does not work when the behavior is added to a component that is rendered by an AjaxRequestTarget. As suggested by Igor, this can be fixed by injecting the script directly into the response after the component has been rendered, in onComponentRendered

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            jimmclaughlin Jim McLaughlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: