You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Matthew Broadhead (JIRA)" <ji...@apache.org> on 2015/10/12 17:19:05 UTC
[jira] [Commented] (TOMEE-1476) ManagedProperty annotation seems to
be broken
[ https://issues.apache.org/jira/browse/TOMEE-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14953206#comment-14953206 ]
Matthew Broadhead commented on TOMEE-1476:
------------------------------------------
this seems to work ok in 1.7.2
> ManagedProperty annotation seems to be broken
> ---------------------------------------------
>
> Key: TOMEE-1476
> URL: https://issues.apache.org/jira/browse/TOMEE-1476
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 1.7.2
> Reporter: Matthew Broadhead
> Attachments: test.war, test.war
>
>
> If a ManagedBean is set in faces-config.xml and a ManagedProperty declared it does not seem to get set.
> {code}
> import javax.faces.bean.ManagedProperty;
> public class Test {
> @ManagedProperty("#{param.id}")
> private int id;
> public int getId() {
> return id;
> }
>
> public void setId(int id) {
> this.id = id;
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)