Tapestry
  1. Tapestry
  2. TAPESTRY-1923

ComponentClassResolver can/should provide access to all known page names

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.15
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      ComponentClassResolver knows about all pages in the application. It has been requested that this be explpoited as a usable feature provided by the implementing service, as it may be useful to access such a list.

      This issue is a response to this thread on the mailing list:
      http://www.nabble.com/T5-How-to-get-all-page-names--tf4839337.html#a13848595

        Activity

        Hide
        Chris Lewis added a comment -

        Here is a simple patch that adds a method to the interface (ComponentClassResolver#getLogicalPageNames), as well as an implementation to the internal service. Its a simple implementation (the work was already done) that follows the concurrency measures taken in other similar methods. What may be in question is if the naming and return types follow convention as I don't know what they are.

        Show
        Chris Lewis added a comment - Here is a simple patch that adds a method to the interface (ComponentClassResolver#getLogicalPageNames), as well as an implementation to the internal service. Its a simple implementation (the work was already done) that follows the concurrency measures taken in other similar methods. What may be in question is if the naming and return types follow convention as I don't know what they are.
        Hide
        Chris Lewis added a comment -

        I forgot to mention that this patch is against r596535 (5.0.7).

        Show
        Chris Lewis added a comment - I forgot to mention that this patch is against r596535 (5.0.7).

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Chris Lewis
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development