tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Kuhnert (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-1394) @InitialValue("null") sets property to empty collection not null
Date Mon, 02 Apr 2007 20:27:32 GMT

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

Jesse Kuhnert commented on TAPESTRY-1394:
-----------------------------------------

Pardon me for asking, but if you want the value to be null why don't you just not provide
an InitialValue annotation? 

> @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
>             Fix For: 4.1.2
>
>
> 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


Mime
View raw message