I am wondering if you don't have the right jar file in your application. After you compiled the source, did you move the jar file that is generated into your application? The jar file that is generated is in the target directory under the displaytag directory that you get when you check out the source from cvs. The jar file is called displaytag-1.1-SNAPSHOT.jar (or that's what it was when I checked out the code and compiled it). I put this jar file (I renamed it displaytag-1.1.jar) in my WEB-INF/lib directory. But as long as it was somewhere in your classpath, I would think that it would work.
You might also check the taglib directive in your jsp. I use <%@ taglib uri=http://displaytag.sf.net/el prefix="display" %>. That is the expression language(el) version. If you're not using the el version, I think you can just leave the /el off of the uri. Or if you reference the tld directly, you need to move the appropriate tld from the target/tld directory to your application. Hope that makes sense. I seem to remember posting something about tlds and taglib directives to the mailing list. Maybe you can find that. Good luck. Debbie -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stempfel, Angela Pia Sent: Monday, July 25, 2005 5:17 AM To: [email protected] Subject: RE: [displaytag-user] Newest CVS Source: comparator tag I still don't succeed in this case...now i'm getting the following error: [ERROR] InsertTag - -ServletException in '/pages/settings/listClusters.jsp': /pages/settings/listClusters.jsp(28,1) Unable to find setter method for attribute: comparator <org.apache.jasper.JasperException: /pages/settings/listClusters.jsp(28,1) Unable to find setter method for attribute: comparator>org.apache.jasper.JasperException: /pages/settings/listClusters.jsp(28,1) Unable to find setter method for attribute: comparator at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand ler.java:39) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java :376) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java :150) Could somebody explain me how to use these comparators correctly? Some help would be appreciated. Thanks a lot angela -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stempfel, Angela Pia Sent: Montag, 25. Juli 2005 09:55 To: [email protected] Subject: [displaytag-user] Newest CVS Source: comparator tag Hi all I checked out the newest CVS source in order to use the comparator tag on a column: <display:column property="clusterName" title="Cluster Name " sortable="true" headerClass="sortable" comparator="com.hp.iapm.vs.dlswebgui.settings.CaseInsensitiveComparator" /> If i try to display the site i get the following error: [ERROR] InsertTag - -ServletException in '/pages/settings/listClusters.jsp': org.displaytag.tags.ColumnTag.setComparator(Ljava/lang/Object;)V <javax.servlet.ServletException: org.displaytag.tags.ColumnTag.setComparator(Ljava/lang/Object;)V>javax.s ervlet.ServletException: org.displaytag.tags.ColumnTag.setComparator(Ljava/lang/Object;)V at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCont extImpl.java:825) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex tImpl.java:758) at org.apache.jsp.pages.settings.listClusters_jsp._jspService(listClusters_ jsp.java:189) Has anybody already used this tag and has some ideas about the error? Thanks & Kind regards Angela ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

