Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-187

Page should attach before finishLoad()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 3.0
    • None
    • Framework
    • None
    • Operating System: Other
      Platform: All
    • 29850

    Description

      Ok, I finally give. YES, the page should be attached to the request cycle and
      to the engine BEFORE finishLoad() is invoke on it, or on any of its components.

      In my case, I'm trying to make use of HiveMind; I need access to the HiveMind
      Registry to initialize some of my component properties (which will be aliases
      of services obtained from HiveMind's Registry). To get the Registry I need
      the request cycle (to get the HttpServletRequest, to get the Registry from the
      servlet context — this is using the HiveMindFilter).

      Still some room to hang yourself by initializing properties to client-specific
      values.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: