Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      Targeting Click release 0.21

      Description

      Add a Page onRender() method which is invoked immediately after the onPost() or onGet() method is executed (if page controls have allowed processing to continue).

      ClickServlet processPage() method:
      ..

      if (continueProcessing) {
      if (isPost)

      { page.onPost(); }

      else

      { page.onGet(); }

      page.onRender();
      }

      ..

      ---------------------------------------------------------

      From Stephen's "click hacks" email:

      5. onRender event hook

      For just before the template is rendered, to do interesting stuff like
      throwing in some tools into our model, hook up Links (see next point), etc.

      Otherwise we had people having both doGet/doPost, and just having doPost
      call doGet, when all they were doing was some pre-render logic.

        Attachments

          Activity

            People

            • Assignee:
              medgar Malcolm Edgar
              Reporter:
              click_stephen Stephen Haberman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: