You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Sven Homburg (JIRA)" <ji...@apache.org> on 2017/12/23 06:24:00 UTC

[jira] [Commented] (TAP5-2594) Tapestry doesn't clear page values, even if they are not persistent?

    [ https://issues.apache.org/jira/browse/TAP5-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16302233#comment-16302233 ] 

Sven Homburg commented on TAP5-2594:
------------------------------------

therefor use @CleanupRender like this

{code}
@CleanupRender
void cleanupRender(){
   pagelist.clear();
}
{code}

> Tapestry doesn't clear page values, even if they are not persistent?
> --------------------------------------------------------------------
>
>                 Key: TAP5-2594
>                 URL: https://issues.apache.org/jira/browse/TAP5-2594
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4.1
>            Reporter: Luca Arzeni
>            Priority: Minor
>         Attachments: Start.java, Start.tml
>
>
> If I add a list to a page, even if the list is not persistent, its values are persisted on the page, and are shown even to different users and session (they are in the global)
> Steps to reproduce:
> biuld an app with the start page and start tml attached.
> 1) invoke the start page with no parameter on the activation context (eg, simply calling "start")
> the page will show "empty"
> 2) invoke the start page with some parameter (eg,  calling "start/a/b")
> the page will show "filled"
> 3) from now on, the page will no more show "empty", even if invoked with no parameters
> Regards,
> larzeni



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)