cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schmid <>
Subject Using eldap logicsheet with cocoon 2
Date Mon, 19 Aug 2002 07:28:33 GMT

trying to use the eldap logicsheet with cocoon 2 I wrote an xsp-page 
that contains the eldap-tags to execute an ldap-query and includes the 
eldap logic-sheet:

<?xml version="1.0"?>
<?xml-logicsheet href="/logicsheets/eldap.xsl"?>
<xsp:page language="java"
<eldap:execute type="Query">

In the sitemap I use the serverpages-generator to generate the document, 
after that I apply a stylesheet to transform the results to html.

<map:match pattern="test.html">
<map:generate type="xsp" src="test.xml"/>
<map:transform src="../html/htmlcontent.xsl"/>
<map:serialize type="html"/>

Unfortunately cocoon just produces java source code (for the ldap-query) 
by executing the <map:generate type="xsp" src="test.xml"/> line within 
the sitemap instead of compiling the page and executing the ldap query.

I don't want to use the LDAP-transformer provided by cocoon 2 (which 
acutally works), because I need the results of the LDAP query to execute 
an SQL-query (which used to work with cocoon 1, esql and eldap). 
Combining those queries does not work with the LDAP-transformer provided.

Any ideas on what's wrong here?



Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message