[opencms-dev] Opencms Macro Expressions and Jsp 2.0 ExpressionLanguage

Alexander Kandzior alex at opencms.org
Mon Dec 4 18:26:40 CET 2006


>From OpenCms 6.2.3, any macro in OpenCms can also be written as %(macro)
instead of ${macro). So one option would be to update to 6.2.3 and then use
the new format.

Kind Regards,
Alex.
 
-------------------
Alexander Kandzior
                                                               
Alkacon Software GmbH  - The OpenCms Experts                  
http://www.alkacon.com - http://www.opencms.org                 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Manuel 
> Wallnoefer
> Sent: Monday, December 04, 2006 11:06 AM
> To: OpenCMS List
> Subject: [opencms-dev] Opencms Macro Expressions and Jsp 2.0 
> ExpressionLanguage
> 
> Hi all,
> 
> i've got a problem with the OpenCms macro expression language und the 
> jsp 2.0 EL.
> 
> in my web.xml my webapp is defined like following:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" 
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
> 
> 
> and in a JSP file in OpenCms i use the following tags:
> 
> <%@ page isELIgnored="true" %>
> <%@ page session="true" import="org.opencms.jsp.*, 
> java.util.*,java.text.*" %>
> <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
> 
> I added the ELIgnored Tag for running my site.
> But now the problem is , i insertet in my file a iframe that uses the 
> JSP 2.0 expression language. And now because of the ELIgnore tag my 
> Iframe doesn't show the EL Tags.
> 
> Now my question, how can i get rid of this. I want to use the Opencms 
> macro Expressions and the jsp 2.0 EL together in my JSP.
> 
> a snipped of ma .jsp Code:
> 
>     <cms:contentload collector="allInSubTreeDateReleasedDesc" 
> param="/${property.locale}/News/emportNews_${number}.html|102|4" 
> editable="true">
>             <c:set var="releaseDate" scope="session"><cms:contentshow 
> element="Date" /></c:set> 
> 
> I use OpenCms 6.2.2 with Jboss 4.
> 
> Thanks for help !
> 
> ~manuel
> 
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list