aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Data table error" Watch "Data table error" New topic
Author

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

HtmlDataTable.refresh



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: http://aspose.com/file-tools
 
subject: Data table error
 
Similar Threads
Tomahawk Error
NullpointerExceptions in portals.
Jsf Error for simple jsf program in web application.
Problem accessing web application
passing parameter from non JSF URL to JSF backing bean