You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/05/13 15:23:21 UTC

[jira] [Closed] (TAP5-676) Getting the page from a ProperyEditor

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

Jochen Kemnade closed TAP5-676.
-------------------------------

    Resolution: Not a Problem

Another year has passed since the last comment. Therefore, we assume this issue has either been resolved in the meantime or it is no longer relevant to you.
If recent versions of Tapestry (i.e. 5.4 betas and 5.3.7) are still affected, please reopen the issue and adjust the "Affected Version/s" property.

> Getting the page from a ProperyEditor
> -------------------------------------
>
>                 Key: TAP5-676
>                 URL: https://issues.apache.org/jira/browse/TAP5-676
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.18
>            Reporter: José Paumard
>              Labels: bulk-close-candidate
>
> As of now, it is not possible to get a reference on the page served to the client from a PropertyEditor component. The method componentResources.getPage returns the page in which this PropertyEditor is declared, and so does the container annotated with @InjectContainer. A side effect is that a method annotated with @PageAttached / @PageDetached is never called in a PropertyEditor component. 
> It would be nice to see those two improvments : 
> - componentResources.getPage returns the page sent to the client, or having another way to get a reference to that page from a PropertyEditor
> - @PageDetached / @PageAttached called in PropertyEditor components



--
This message was sent by Atlassian JIRA
(v6.2#6252)