This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
Struts2JQuery plugin problem
How to use Struts 2 UI Tags in GAE?
struts 2: ajax theme problem
Ajax them
struts 2.1.6 with ajax