You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Winkelmann (JIRA)" <de...@myfaces.apache.org> on 2006/01/10 13:45:20 UTC
[jira] Created: (MYFACES-1017) can't use or
without an appropriate getter
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
[jira] Commented: (MYFACES-1017) can't use or
without an appropriate getter
Posted by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-1017?page=comments#action_12362336 ]
Dennis Byrne commented on MYFACES-1017:
---------------------------------------
Duplicate of http://issues.apache.org/jira/browse/MYFACES-889?page=all , fixed in SVN .
> 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
[jira] Closed: (MYFACES-1017) can't use or
without an appropriate getter
Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
[ 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