struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4254) datetimepicker's label broken
Date Thu, 02 Jan 2014 07:36:51 GMT

    [ https://issues.apache.org/jira/browse/WW-4254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860066#comment-13860066
] 

ASF subversion and git services commented on WW-4254:
-----------------------------------------------------

Commit 1554759 from [~lukaszlenart] in branch 'struts2/trunk'
[ https://svn.apache.org/r1554759 ]

WW-4254 Adds missing parent theme definition

> datetimepicker's label broken
> -----------------------------
>
>                 Key: WW-4254
>                 URL: https://issues.apache.org/jira/browse/WW-4254
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.16
>            Reporter: Stephen Koo
>            Assignee: Bruce Phillips
>             Fix For: 2.3.17
>
>         Attachments: Form_Tags_Struts2_Mvn.zip
>
>
> The first 2 works:
> <sx:datetimepicker/>
> <sx:datetimepicker name="birthdate"/>
> This won't work:
> <sx:datetimepicker name="birthdate" label="My Label"/>
> and shows the error:
> {noformat}
> Error reading included file template/~~~ajax/controlheader-core.ftl
> The problematic instruction:
> ----------
> ==> include "/${parameters.templateDir}/${parameters.expandTheme}/controlheader-core.ftl"
[on line 23, column 1 in template/xhtml/controlheader.ftl]
>  in include "/${parameters.templateDir}/xhtml/controlheader.ftl" [on line 24, column
9 in template/ajax/controlheader.ftl]
>  in include "/${parameters.templateDir}/ajax/controlheader.ftl" [on line 23, column 1
in template/ajax/datetimepicker.ftl]
> ----------
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateException: Error reading included file template/~~~ajax/controlheader-core.ftl
> 	at freemarker.core.Include.accept(Include.java:167)
> 	at freemarker.core.Environment.visit(Environment.java:221)
> 	at freemarker.core.MixedContent.accept(MixedContent.java:92)
> 	at freemarker.core.Environment.visit(Environment.java:221)
> 	at freemarker.core.Environment.include(Environment.java:1508)
> 	at freemarker.core.Include.accept(Include.java:169)
> 	at freemarker.core.Environment.visit(Environment.java:221)
> 	at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
> 	at freemarker.core.Environment.visit(Environment.java:221)
> 	at freemarker.core.MixedContent.accept(MixedContent.java:92)
> 	at freemarker.core.Environment.visit(Environment.java:221)
> 	at freemarker.core.Environment.include(Environment.java:1508)
> 	at freemarker.core.Include.accept(Include.java:169)
> 	at freemarker.core.Environment.visit(Environment.java:221)
> 	at freemarker.core.MixedContent.accept(MixedContent.java:92)
> 	at freemarker.core.Environment.visit(Environment.java:221)
> 	at freemarker.core.Environment.process(Environment.java:199)
> 	at freemarker.template.Template.process(Template.java:259)
> 	at org.apache.struts2.components.template.FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:158)
> 	at org.apache.struts2.components.UIBean.mergeTemplate(UIBean.java:593)
> 	at org.apache.struts2.components.UIBean.end(UIBean.java:547)
> 	at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:42)
> 	at org.apache.jsp._1.Person_jsp._jspx_meth_sx_005fdatetimepicker_005f0(Person_jsp.java:358)
> 	at org.apache.jsp._1.Person_jsp._jspx_meth_s_005fform_005f0(Person_jsp.java:285)
> 	at org.apache.jsp._1.Person_jsp._jspService(Person_jsp.java:144)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 	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:646)
> 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> 	at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164)
> 	at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:371)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275)
> 	at org.apache.struts2.interceptor.DeprecationInterceptor.intercept(DeprecationInterceptor.java:41)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
> 	at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:100)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:100)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
> 	at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
> 	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:249)
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
> 	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:249)
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
> 	at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
> 	at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
> 	at org.apache.struts2.interceptor.CheckboxInterceptor.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message