cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Hartmann" ...@cocooncenter.de>
Subject Problem with Views
Date Mon, 16 Sep 2002 13:13:22 GMT

Hi cocoon-users,

I want to create a Lucene index, but it doesn't work - no index
is generated.
The source of the problem seems to be that the views are
not presented correctly. When I access a page with

http://<host>:<port>/path/to/resource?cocoon-view=content

I get the finished HTML page instead of the content.
My views declaration:

 <map:views>
  <map:view from-label="content" name="content">
   <map:serialize type="xml"/>
  </map:view>

  <map:view from-position="last" name="links">
   <map:serialize type="links"/>
  </map:view>
 </map:views>

My pipeline:

    <map:match pattern="documents/**/*.html">
      <map:generate src="xml/{1}/{2}.xml"/>
      <map:transform src="xslt/page.xsl">
        ... (some parameters)
      </map:transform>
      <map:serialize/>
    </map:match>
    
I hope someone can help me.

Andreas
--------------------------------------------------------------------
   www.cocooncenter.org
   Your Guide to Apache Cocoon
--------------------------------------------------------------------

Mime
View raw message