overload method ComponenSource.getPage to accept a page class as parameter
--------------------------------------------------------------------------

                 Key: TAPESTRY-2363
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2363
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0.11
            Reporter: nillehammer
            Priority: Minor
             Fix For: 5.1


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to