Hi.
Am trying to set/push in some properties on a domain object in a managed
bean from an input form.
So on the input form, I got some fields like this,
<h:inputText id="someProperty"
value="#{managedBean.domainObject.property}"/>
And in the managed bean and domain object,
class ManagedBean {
private DomainObject domainObject;
public ManagedBean() {
domainObject = new DomainObject();
}
setters/getters...
}
class DomainObject {
private String property;
setters/getters...
}
The property doesn't get set. What is missing?
If the property in the domain object is moved in to the managed bean and
the view changed to,
<h:inputText id="someProperty" value="#{managedBean.property}"/>
It works okay. This is using JSF + JSP.
TIA.
Amit.