Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Jsf Error for simple jsf program in web application.
passing parameter from non JSF URL to JSF backing bean
Tomahawk Error
Problem accessing web application
NullpointerExceptions in portals.