You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Reinhold Gruber (JIRA)" <ji...@apache.org> on 2011/09/21 12:38:09 UTC

[jira] [Created] (TAP5-1659) PageLink: page parameter should accept page-classes and page-instances

PageLink: page parameter should accept page-classes and page-instances
----------------------------------------------------------------------

                 Key: TAP5-1659
                 URL: https://issues.apache.org/jira/browse/TAP5-1659
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
            Reporter: Reinhold Gruber
            Priority: Minor


The page parameter of PageLink does only accept a string. This means that the page containing this PageLink has to know the corresponding logical page name. Accepting a page-class would be more typesafe and refactoring friendly. Further if we could use an injected and propely configured page instance for the page parameter, the PageLink component could easily calculate the activation context from the corresponding onPassivate() method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira