Hello,
I'm currently using displaytag 1.0b3 in a servlet 2.4/JSP 2.0 web
application which also uses JSTL and the Struts 1.1 and Tiles frameworks,
running on Jboss 3.2.5. I use the non-EL version of displaytag, as EL is
completely integrated in JSP 2.0 and thus doesn't require that version to
benefit from EL syntax.
Because of some problems I was having with dynamically generated links
(mentioned in my other post here today), I wanted to try out a newer build
of displaytag to see if that improved my situation, and strangely enough, I
can't get my current JSPs to compile with either the rc1-SNAPSHOT or an
rc2-SNAPSHOT nightly I pulled off cvs on Oct. 1 (and whose unit tests all
passed).
Here is the kind of error I got from rc1 & rc2, non-EL:
===================================
2004-10-04 02:38:53,029 DEBUG [org.apache.struts.taglib.tiles.InsertTag]
[ServletException in:/pages/contacts/list_client.jsp] Unable to compile
class for JSP
An error occurred at line: 24 in the jsp file:
/pages/contacts/list_client.jsp
Generated servlet error:
/Users/jpw/Documents/development/bunker/jboss-3.2.5/server/sage/work/jboss.w
eb/localhost/SAGE/org/apache/jsp/pages/contacts/list_005fclient_jsp.java:128
: setDefaultsort(int) in org.displaytag.tags.TableTag cannot be applied to
(java.lang.String)
_jspx_th_display_table_0.setDefaultsort("3");
^
<snip>
^
6 errors
===================================
The line 24 mentioned above is:
<display:table name="sessionScope.searchResults" id="row" defaultsort="3"
defaultorder="ascending"
pagesize="20" export="true"
requestURI="${pageContext.request.requestURL}">
I also tried using the EL version of rc1/2, just in case, but simply got a
different set of errors:
===================================
2004-10-04 02:46:38,915 ERROR [org.jboss.web.localhost.Engine]
ApplicationDispatcher[/SAGE] Servlet.service() for servlet jsp threw
exception
java.lang.NoSuchMethodError: org.displaytag.tags.TableTag.setDefaultsort(I)V
at
org.displaytag.tags.el.ELTableTag.evaluateExpressions(ELTableTag.java:259)
at org.displaytag.tags.el.ELTableTag.doStartTag(ELTableTag.java:225)
at
org.apache.jsp.pages.contacts.list_005fperson_jsp._jspService(list_005fperso
n_jsp.java:141)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
24)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
<snip>
===================================
The 'org.displaytag.tags.TableTag.setDefaultsort(I)V' part is very strange
indeed. Can't figure out what that 'V' is doing there. Or the 'I', for that
matter.
Any suggestions as to how to get 1.0 rc1 or rc2 working for me would be
most appreciated. I upgraded all dependencies as documented for rc2, and
these work fine with the 1.0b3 which I reinstated just to get things
somewhat working again.
Regards,
Patterson Waltz
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user