[opencms-dev] It's not possible to get the String value... error

jacek grzebyta (RRes-Roth) jacek.grzebyta at bbsrc.ac.uk
Wed Mar 24 14:23:51 CET 2010


Hi Achim,

Thanks a lot. My mine template is very simple like 'hello world' (bellow) but the parsing template is just a copy of article.jsp without changes. I'll try to create some v simple nested element and see what happen.

Cheers,
Jacek

######################## main.jsp ###############################

<%@ page session="false" import="org.phibase.web.support.*"%>
<%@ taglib uri="http://www.opencms.org/taglib/cms" prefix="cms" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
MainSupport sup = new MainSupport(pageContext, request, response);
pageContext.setAttribute("sup", sup);
%>

<cms:template element="head">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=${sup.requestContext.encoding}" />
<meta http-equiv="Keywords" content="<cms:property name="Keywords" file="search" />">
<cms:editable/>

<cms:jquery dynamic="true"/>
<cms:jquery dynamic="true" js="jquery"/>
<title><cms:property name="Title" file="search"/></title>

</head>
<body>
</cms:template>

<cms:template element="body">
	<cms:include element="body" editable="true"/>
</cms:template>

<cms:template element="foot">
</body>
</html>
</cms:template>

###################### end ###################################################



More information about the opencms-dev mailing list