| Author |
Cant set managed bean property
|
Henrique Ordine
Ranch Hand
Joined: Sep 03, 2004
Posts: 127
|
|
JSF says that my managed bean does not have a setter method for my id property. But my managed bean class does implements: Long getId(); void setId(Long); the problem is, my managed bean class implements an interface which declares this method: Object getId(); I thought that maybe because getId() in the interface returned Object, JSF might have been looking for a setter method which took an Object. So I had the managed bean class not implement this interface anymore and it worked fine. Anybody have any idea why that happens?
|
J2EE Architect/Developer
|
 |
 |
|
|
subject: Cant set managed bean property
|
|
|