This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
It's not a secret anymore!