You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/09/09 00:03:44 UTC

[jira] Assigned: (TAPESTRY-2363) overload method ComponenSource.getPage to accept a page class as parameter

     [ https://issues.apache.org/jira/browse/TAPESTRY-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAPESTRY-2363:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> 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
>            Assignee: Howard M. Lewis Ship
>            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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org