-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: adminapp freemarker ww2 displaytag thrws TemplateException
PostPosted: Thu Jul 20, 2006 3:12 pm 
Newbie

Joined: Thu Jul 20, 2006 10:33 am
Posts: 1
Location: Reston, VA
Hibernate version: v3.0

Name and version of the database you are using: mysql 4.x




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)

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.