Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development