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

        nillehammer created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Summary overload method ComponenSource.getPage to accept a page class as parameter Overload method ComponentSource.getPage to accept a page class as parameter
        Howard M. Lewis Ship made changes -
        Fix Version/s 5.0.15 [ 12313350 ]
        Fix Version/s 5.1 [ 12312964 ]
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12429404 ] Default workflow, editable Closed status [ 12568714 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568714 ] jira [ 12591741 ]

          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