tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TAP5-1386) Marking page variables @Persist gives strange error message
Date Wed, 27 Aug 2014 22:30:58 GMT

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

Howard M. Lewis Ship closed TAP5-1386.
--------------------------------------

    Resolution: Won't Fix

> Marking page variables @Persist gives strange error message
> -----------------------------------------------------------
>
>                 Key: TAP5-1386
>                 URL: https://issues.apache.org/jira/browse/TAP5-1386
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Tnuspik
>            Priority: Trivial
>              Labels: bulk-close-candidate
>
> You cannot mark a page @Persist in 5.2:
> public class TestFile {
>     @Persist
>     private TestFile nextPage;
> }
> It gives this error: "java.lang.RuntimeException: Class application.pages.TestFile contains
field(s) (_$resources) that are not private. You should change these fields to private, and
add accessor methods if needed."
> Recommend changing the error message to something like "pages and components may not
be persistent".



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

Mime
View raw message