tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Broadhead (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TOMEE-1476) ManagedProperty annotation seems to be broken
Date Sun, 14 Dec 2014 15:01:13 GMT
Matthew Broadhead created TOMEE-1476:
----------------------------------------

             Summary: 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


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)

Mime
View raw message