Hi there,
i am trying to use AJAX theme to use sx:datetimepicker tag but whether or
not I use that tag I am getting the following error only by adding the ajax
header:
<sx:head debug="true" cache="false" compressed="false" />
I thought it was caused by the date picker, but it happens on every page (I
use Tiles2 with struts2.1)
Thanks for any help/directions:
FreeMarker template error!
Expression parameters.pushId is undefined on line 24, column 6 in
template/ajax/a-close.ftl.
The problematic instruction:
----------
==> if parameters.pushId [on line 24, column 1 in
template/ajax/a-close.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression parameters.pushId is
undefined on line 24, column 6 in template/ajax/a-close.ftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.isTrue(Expression.java:145)
at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:237)
at
org.apache.struts2.components.template.FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:182)
at org.apache.struts2.components.UIBean.mergeTemplate(UIBean.java:559)
at org.apache.struts2.components.UIBean.end(UIBean.java:513)
at
org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:42)
at
org.apache.jsp.include.admin.path_jsp._jspx_meth_s_005fa_005f1(path_jsp.java:651)
at
org.apache.jsp.include.admin.path_jsp._jspx_meth_s_005felse_005f1(path_jsp.java:605)
at
org.apache.jsp.include.admin.path_jsp._jspx_meth_s_005fiterator_005f1(path_jsp.java:513)
at org.apache.jsp.include.admin.path_jsp._jspService(path_jsp.java:125)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
--
View this message in context:
http://www.nabble.com/FreeMarker-error-when-trying-to-use-AJAX-Theme-tp22179332p22179332.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]