You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <de...@tapestry.apache.org> on 2007/11/11 22:21:50 UTC

[jira] Resolved: (TAPESTRY-1394) @InitialValue("null") sets property to empty collection not null

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

Andreas Andreou resolved TAPESTRY-1394.
---------------------------------------

    Resolution: Won't Fix
      Assignee: Andreas Andreou

I believe that the @Cached annotation from tacos is what you can use here.
https://tacos.svn.sourceforge.net/svnroot/tacos/tacos-4.1/trunk/tacos-annotations/src/java/net/sf/tacos/annotations/Cached.java

It does transparent caching for method results (during a single requests) and resets values to null

> @InitialValue("null") sets property to empty collection not null
> ----------------------------------------------------------------
>
>                 Key: TAPESTRY-1394
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1394
>             Project: Tapestry
>          Issue Type: Bug
>            Reporter: Patrick Moore
>            Assignee: Andreas Andreou
>             Fix For: 4.1.4
>
>
> This :
>     @InitialValue("null")
>     public abstract List<BroadcastProviderUrl> getCachedUrls();
> results in cachedUrls being set to an empty list instead of null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org