Hello
1) Do I this correct?
The problem is the managed property is not set.
I know the parameter catId is set because getExternalContext().
getRequest() returns the value.
2) I would like to a have property type long, can I simple declare
it as long?
Thanks
faces-config.xml entry
<managed-bean>
<managed-bean-name>category</managed-bean-name>
<managed-bean-class>org.troedel.bean.CategoryBean</managed-
bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>catId</property-name>
<value>#{param.catId}</value>
</managed-property>
</managed-bean>
The property declaration in the bean class
public class org.troedel.bean.CategoryBean {
private String catId;
public String getCatId() {
return catId;
}
public void setCatId(String catId) {
this.catId = catId;
}
}