[opencms-dev] TLD error

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Tue Feb 26 13:28:21 CET 2008


I already got the solution by direct Email from Jordi:

${...} was changed to %{...}

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

On Tue, Feb 26, 2008 at 01:12:45PM +0100, Christoph P. Kukulies wrote:
> I copied over a few JSPs from 6.2.3 into 7.0.3, if it matters at all.
> 
> A page that is bound to a jsp template gives an error.
> The main.jsp includes a head.jsp which starts with the following:
> 
> <%@page import="org.opencms.jsp.*,org.opencms.file.*,java.util.*" %>
> <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
> <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
> <c:set var="locale"><cms:property name="locale" file="search"/></c:set>
> <fmt:setLocale value="${locale}"/>
> <fmt:bundle basename="messages">
> <cms:template element="head">
> 
> <head>
> <title>Your Page Title</title>
> <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
> 
> and the resulting error is this:
> 
> javax.servlet.jsp.JspException: org.apache.jasper.JasperException:
> /WEB-INF/jsp/offline/system/modules/org.yaml.frontend/elements/yamlhead.jsp(6,5)
> According to TLD or attribute directive in tag file, attribute value
> does not accept any expressions
> Reason:
> /WEB-INF/jsp/offline/system/modules/org.yaml.frontend/elements/yamlhead.jsp(6,5)
> According to TLD or attribute directive in tag file, attribute value
> does not accept any expressions
> 
> 
> Any clues?
> 
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> 
> _______________________________________________
> 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