Did anybody [b]ever[/b] manage to use the JSTL core library in Magnolia 4.4.5 
successfully? I searched a long time in the web and couldn't find anything. At 
least I found out that the version of the web.xml is fairly important for that. 
In Magnolia 4.4.5 it's as I said version 2.4. And you need to copy standard.jar 
and jstl.jar into the WEB-INF/lib directory. I did that, but it isn't working 
the tiniest bit. When I run the page I get the error that the source file is 
missing which is completly rubbish because it's definitely correct. And 
sometimes after refreshing the page without altering it, it just ignores the 
JSTL section and displays the rest of it without the Tomcat error message.
Again, my JSP code:

[code]<%@ taglib prefix="cms" uri="cms-taglib" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"; %>


<cms:editBar />


<cms:out nodeDataName="xmlSourceDmsUUID" uuidToLinkRepository="dms" 
uuidToLink="absolute" var="xmlUrl"/>
Quelle: ${pageContext.request.contextPath}${xmlUrl}<br/>
<c:import url="${pageContext.request.contextPath}${xmlUrl}"
                  var="inputDoc" />
                  
<cms:out nodeDataName="xslSourceDmsUUID" uuidToLinkRepository="dms" 
uuidToLink="absolute" var="xslUrl"/>
<c:import url="${pageContext.request.contextPath}${xslUrl}"
                  var="stylesheet" />
                 

<x:transform xml="${inputDoc}" xslt="${stylesheet}">
  
</x:transform>[/code]

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=35c62a29-777c-4787-93c9-5215b7823acd


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to