cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bradley Lee <Bradley....@kaz-group.com>
Subject cinclude attributes in websphere become blank
Date Wed, 11 Feb 2004 01:09:17 GMT
Hi all,

I am running cocoon 2.1.1 with websphere 5, J2EE Level 1.2, Servlet
Specification level of 2.2 and a JSP Specification level of 1.1. .
I have a problem related to xsp cinclude. 
All the attributes after the first attribute in the cinclude statement
become blank.  
All the attributes in subsequent cinclude statements also become blank.  

I have tested the cocoon cinclude sample code, it works fine in tomcat, but
not in websphere.

Any ideas?

Thanks
Brad Lee

=====================================================

eg: my.xsp

======================================================

<xsp:page language="java"
xmlns:xsp="<http://apache.org/xsp>"
xmlns:esql="<http://apache.org/cocoon/SQL/v2>"
xmlns:xsp-request="<http://apache.org/xsp/request/2.0>"
xmlns:log="<http://apache.org/xsp/log/2.0>"
xmlns:string-replace="<http://cocoon/PRD/common/stylesheets/logicsheets>"
xmlns:xsp-session="<http://apache.org/xsp/session/2.0>"
xmlns:util="<http://apache.org/xsp/util/2.0>"
xmlns:cinclude="<http://apache.org/cocoon/include/1.0>"
>

<xsp:structure>
<xsp:include>au.gov.hic.prdesktop.common.*</xsp:include>
<xsp:include>au.gov.hic.utils.PopupUrlBuilder</xsp:include>
<xsp:include>au.gov.hic.prdesktop.requestBeans.ActivityItems.AiRequestBean</
xsp:include>
<xsp:include>org.apache.cocoon.webapps.authentication.user.*</xsp:include>
<xsp:include>au.gov.hic.logger.*</xsp:include>
</xsp:structure>

<page>

<cinclude:include src="cocoon:/ai_copen.xsp" element="page"/>

<cinclude:include src="cocoon:/ai_load.xsp" element="page"/>

</page>

</xsp:page>

======================================================

output from browser (<http://aaa.com/my.xsp?cocoon-view=query>)

=====================================================

<?xml version="1.0" encoding="UTF-8"?>
<page
xmlns:xsp="<http://apache.org/xsp>"
xmlns:util="<http://apache.org/xsp/util/2.0>"
xmlns:xsp-session="<http://apache.org/xsp/session/2.0>"
xmlns:xspdoc="<http://apache.org/cocoon/XSPDoc/v1>"
xmlns:esql="<http://apache.org/cocoon/SQL/v2>"
xmlns:xsp-request="<http://apache.org/xsp/request/2.0>"
xmlns:log="<http://apache.org/xsp/log/2.0>"
xmlns:string-replace="<http://cocoon/PRD/common/stylesheets/logicsheets>"
xmlns:cinclude="<http://apache.org/cocoon/include/1.0>"
>

<cinclude:include src="cocoon:/ai_copen.xsp" element=""/>
<cinclude:include src="" element=""/>

</page>






************************************************************************
MIMEsweeper has been used to check this email for security
************************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message