• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FreeMarker error when trying to use AJAX Theme

 
Vipuli Gupti
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 182
Chrome Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vipuli Gupti ,
As of struts 2.1.x versions,
must be replaced by
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic