Hi All,

I downloaded and changed the latest AdminApp 2 to try it out. This runs on webwork 2.2.2, freemarker, tomcat 5.5.12, jdk1.5 and spring.

When I try to use the displaytag in the adminapp application I run into some problems.

1. Using the <@display:table tag in freemarker works fine but the pagination does not appear on the screen.

2. Using any attribute like export="true" on the table tag throws the following exception
java.lang.IllegalArgumentException: argument type mismatch
The problematic instruction:
----------
==> user-directive display.table [on line 17, column 1 in viewOrderSearchResults.ftl]
----------

Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: java.lang.IllegalArgumentException: argument type mismatch
at freemarker.ext.jsp.TagTransformModel.getWriter(TagTransformModel.java:166)



This is my code in the ftl template:
---------------------------------------------------------------------------------
<#assign display=JspTaglibs["http://displaytag.sf.net "] />
<@ww.set name="orderlist" value="orders" scope="request"/>

<@display.table name="orderlist" class="dataTable"> 
    <@display.column property="scope" />
    <@display.column property="buyerId" />
    <@display.column property="chargePrice" />
    <@display.column property="createDate" />
    <@display.column property="paymentType" />
    <@display.column property="orderDiscount" />
</@display.table>

Also I noticed there are no styles or images in the displaytag-1.1.jar that appear like on the displaytag examples site.

What am i missing ? Someone please help !

Thanks,

Vikram
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to