Tapestry
  1. Tapestry
  2. TAPESTRY-2363

Overload method ComponentSource.getPage to accept a page class as parameter

    Details

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

      Description

      The method ComponentSource.getPage(String logicalPagename) is used to get a page. It would be nice if there was a Method ComponentSource.getPage(Class pageClass). Using a class object instead of a String would make refactoring a bit easier. When I change a class name my IDE changes it everywhere automatically in the code whereas I would have to change a logical page name by hand. As it is possible to return page classes as well as logical page names from event handler methods, I was thinking it might be possible in this method as too.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development