aspose file tools*
The moose likes Struts and the fly likes FreeMarker error when trying to use AJAX Theme Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "FreeMarker error when trying to use AJAX Theme" Watch "FreeMarker error when trying to use AJAX Theme" New topic
Author

FreeMarker error when trying to use AJAX Theme

Vipuli Gupti
Greenhorn

Joined: Feb 24, 2010
Posts: 2
I am trying small application for AJAX in struts 2.1.6. when i am giving the <s:head theme="ajax" /> tag in jsp getting the following error. Please tell me the procedure how to use AJAX in struts 2.1.6 or how to use dojo in struts 2.1.6.

FreeMarker template error!



Expression parameters.parseContent is undefined on line 45, column 28 in template/ajax/head.ftl.
The problematic instruction:
----------
==> ${parameters.parseContent?string} [on line 45, column 26 in template/ajax/head.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression parameters.parseContent is undefined on line 45, column 28 in template/ajax/head.ftl.
Anbarasu Aladiyan
Ranch Hand

Joined: Jun 02, 2009
Posts: 182

Hi Vipuli Gupti ,
As of struts 2.1.x versions,
must be replaced by


A.A.Anbarasu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FreeMarker error when trying to use AJAX Theme