0
我想將一個布爾變量傳遞給包含頁面,但是我收到的錯誤並沒有幫助。我對JSP也很新,所以我正在適應閱讀基於Java的錯誤日誌。Jsp:包含拋出的非特定錯誤
<%
boolean publications = false;
%>
<jsp:include page="scopusfeed.jsp">
<jsp:param name="publications" value="<%= publications %>" />
</jsp:include>
我收到的錯誤是:
Error Message:
org.apache.sling.api.scripting.ScriptEvaluationException:
Processing Info:
Page = /content/tju/population_health/faculty/abatemarco
Resource Path = /content/tju/population_health/faculty/abatemarco/jcr:content/facultymember
Cell = facultymember
Cell Search Path = facultymemberpage|popuppage|standardpage|page/facultymember|parbase
Component Path = /apps/tju/components/content/faculty/facultymember
Sling Request Progress:
0 (2012-02-01 12:33:03) TIMER_START{Request Processing}
0 (2012-02-01 12:33:03) COMMENT timer_end format is {,}
0 (2012-02-01 12:33:03) LOG Method=GET, PathInfo=/content/tju/population_health/faculty/abatemarco.html/publications
0 (2012-02-01 12:33:03) TIMER_START{ResourceResolution}
0 (2012-02-01 12:33:03) TIMER_END{0,ResourceResolution} URI=/content/tju/population_health/faculty/abatemarco.html/publications resolves to Resource=JcrNodeResource, type=cq:Page, superType=null, path=/content/tju/population_health/faculty/abatemarco
0 (2012-02-01 12:33:03) LOG Resource Path Info: SlingRequestPathInfo: path='/content/tju/population_health/faculty/abatemarco', selectorString='null', extension='html', suffix='/publications'
0 (2012-02-01 12:33:03) TIMER_START{ServletResolution}
0 (2012-02-01 12:33:03) TIMER_START{resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/content/tju/population_health/faculty/abatemarco)}
0 (2012-02-01 12:33:03) TIMER_END{0,resolveServlet(JcrNodeResource, type=cq:Page, superType=null, path=/content/tju/population_health/faculty/abatemarco)} Using servlet /libs/foundation/components/primary/cq/Page/Page.jsp
0 (2012-02-01 12:33:03) TIMER_END{0,ServletResolution} URI=/content/tju/population_health/faculty/abatemarco.html/publications handled by Servlet=/libs/foundation/components/primary/cq/Page/Page.jsp
0 (2012-02-01 12:33:03) LOG Applying Requestfilters
.......... more of the same
事實證明,到目前爲止,Adobe CQ5與標籤不協調。所以這個帖子目前無法回答。謝謝,不過。 –
2012-02-02 14:32:05