It's not a secret anymore!
The moose likes JSF and the fly likes Data table error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Data table error" Watch "Data table error" New topic

Data table error

jyothi sanka
Ranch Hand

Joined: Aug 27, 2001
Posts: 39
I have hard coded data in a data table. when I want to sort the column or edit the row. that time I am getting error like


javax.servlet.ServletException: org.apache.myfaces.component.html.ext.HtmlDataTable.refresh(Ljavax/faces/context/FacesContext V

java.lang.NoSuchMethodError: org.apache.myfaces.component.html.ext.HtmlDataTable.refresh(Ljavax/faces/context/FacesContext

Can anyblody advice me why I am getting this error?

Thank you
Naveen Mishra
Ranch Hand

Joined: Nov 20, 2005
Posts: 75
Better try this approach .....
List result = null;
try {
Query query = session.createQuery(findEndedTaskInstancesByActorId);
query.setString("actorId", userBean.getUserName());
result = query.list();
}catch (Exception e) {}

JsfHelper.setSessionAttribute("urForm:urdatatableid",result );

U decide ur query and fire . rest is done here.
This fixes all ur problem. Cheers !!!
I agree. Here's the link:
subject: Data table error
It's not a secret anymore!