Any Idea on the Solutions for this JSF Hibernate Problem

I try to pupolate a list showReports.

I try to compute the difference of 2 dates in unit hours..

The compilation throws error after this code...

temp = oocDataDet.getDetailId().getTimestamp();

log.debug("temp = "+ temp);

Here are the succeeding code:

showReports.add(oocDataDet);

=========================================================

27-07-2007 10:07:19 CST,ERROR,Application,org.apache.catalina.core.ApplicationDispatcher,,,"Servlet.service() for servlet jsp threw exception"

javax.faces.el.EvaluationException: Cannot get value for expression '#{ReportsBean.showReports}'

at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:397)

at javax.faces.component.UIData.getValue(UIData.java:779)

at javax.faces.component.UIData.createDataModel(UIData.java:545)

at javax.faces.component.UIData.getDataModel(UIData.java:534)

at javax.faces.component.UIData.getRowCount(UIData.java:103)

at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:124)

at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:94)

at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319)

at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:444)

[1396 byte] By [neoLanza] at [2007-11-27 11:52:44]
# 1

Your ReportsBean class has bugs for property access or your faces-config.xml is not properly written for manageg-bean configuration.

hiwaa at 2007-7-29 18:46:19 > top of Java-index,Java Essentials,Java Programming...