Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4866 | minor | always | 11-22-11 13:36 | 11-28-11 11:50 | |
|
|||||
Reporter: | rickHigh | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.25 | ||
|
|||||
Summary: | 0004866: Basic Roo app causes SAX exception, jspx problem | ||||
Description: |
This issue seems to be with jspx. To reproduce this, create a simple roo app. There is an issue with roo including an old jstl.jar file. It seemed like this issue went away before by just removing the jstl jar file. Now however, this does not seem to fix it. The error is as follows: {{{ 500 Servlet Exception file:/var/www/webapps/blog/WEB-INF/tags/util/panel.tagx:1: org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 40; The prefix "c" for element "c:if" is not bound. 1: <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" [^] xmlns:fn="http://java.sun.com/jsp/jstl/functions" [^] xmlns:spring="http://www.springframework.org/tags" [^] xmlns:c="http://java.sun.com/jsp/jstl/core" [^] version="2.0"> 2: <jsp:output omit-xml-declaration="yes" /> 3: }}} Here is the actual jspx (tagx really) {{{ $ cat /var/www/webapps/blog/WEB-INF/tags/util/panel.tagx <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" [^] xmlns:fn="http://java.sun.com/jsp/jstl/functions" [^] xmlns:spring="http://www.springframework.org/tags" [^] xmlns:c="http://java.sun.com/jsp/jstl/core" [^] version="2.0"> <jsp:output omit-xml-declaration="yes" /> <jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)" /> <jsp:directive.attribute name="title" type="java.lang.String" required="true" rtexprvalue="true" description="The page title (required)" /> <jsp:directive.attribute name="render" type="java.lang.Boolean" required="false" rtexprvalue="true" /> <jsp:directive.attribute name="openPane" type="java.lang.String" required="false" rtexprvalue="true" description="Control if the title pane is opened or closed by default (default: true)" /> <jsp:directive.attribute name="z" type="java.lang.String" required="false" description="Used for checking if element has been modified (to recalculate simply provide empty string value)" /> <c:if test="${empty render or render}"> <c:if test="${empty openPane}"> <c:set value="true" var="openPane" /> </c:if> <c:set var="sec_id"> <spring:escapeBody javaScriptEscape="true" >${id}</spring:escapeBody> </c:set> <c:set var="sec_openPane"> <spring:escapeBody javaScriptEscape="true" >${openPane}</spring:escapeBody> </c:set> <c:set var="sec_title"> <spring:escapeBody javaScriptEscape="true" >${title}</spring:escapeBody> </c:set> <script type="text/javascript">dojo.require('dijit.TitlePane');</script> <div id="_title_${sec_id}_id"> <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : '_title_${sec_id}_id', widgetType : 'dijit.TitlePane', widgetAttrs : {title: '${sec_title}', open: ${sec_openPane}}})); </script> <jsp:doBody /> </div> </c:if> </jsp:root> }}} |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|