You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2006/01/10 17:28:23 UTC
[jira] Closed: (MYFACES-1017) can't use or
without an appropriate getter
[ http://issues.apache.org/jira/browse/MYFACES-1017?page=all ]
Mike Kienenberger closed MYFACES-1017:
--------------------------------------
Resolution: Duplicate
Thanks, Dennis.
> can't use <map-entries> or <list-entries> without an appropriate getter
> -----------------------------------------------------------------------
>
> Key: MYFACES-1017
> URL: http://issues.apache.org/jira/browse/MYFACES-1017
> Project: MyFaces
> Type: Bug
> Versions: 1.1.1
> Reporter: Martin Winkelmann
> Priority: Minor
>
> Initializing a bean property from <map-entries> or <list-entries> elements only work's if there is a appropriate getter (otherwise a PropertyNotFoundException is thrown). According to JSF specification a getter should be optional.
> The JSF specification for initialization bean properties from <map-entries> elements says:
> 1. Call the property getter, if it exists.
> 2. If the getter returns null or doesn't exist, create a java.util.HashMap,
> otherwise use the returned java.util.Map.
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira