You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Thiago H. de Paula Figueiredo (JIRA)" <ji...@apache.org> on 2014/03/18 20:58:42 UTC

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

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

Thiago H. de Paula Figueiredo closed TAP5-1659.
-----------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4

> 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
>              Labels: pagelink
>             Fix For: 5.4
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)