I am using JSF 2.0
with tomahawk 2.0
and websphere v8.5
. I am getting an error with t:dataTable
when ever i fill values from database it throws an exception java.io.NotSerializableException: org.apache.myfaces.component.html.ext.HtmlDataTable
my backing beans implements serialization
and it is @ViewScope
public class Templates implements Serializable
{
...
}
faces-config.xml
<managed-bean>
<managed-bean-name>templates </managed-bean-name>
<managed-bean-class>cms.Templates</managed-bean-class>
<managed-bean-scope>view</managed-bean-scope>
</managed-bean>
I solved this problem ref : here, Since the class was serialized and HtmlDataTable
is variable of class that should not be serialized so just i have to make this transient