I can't get views to work, at all.

I followed the instructions here:
http://cocoon.apache.org/2.1/userdocs/concepts/views.html

First of all, there is a repeated typo in the documentation that needs to be
fixed: There is a missing ending tag </map:views> on most of the examples.
Also, the link to edit or comment on the document, doesn't work:
http://cocoon.zones.apache.org/daisy/legacydocs/577

If I follow the examples and add the code with the missing </map:views>
inside the <map:pipeline> area, then I get an error "Cannot invoke views"
when trying to invoke it at
http://localhost:8889/my/pipeline?cocoon-view=my_view

If I remove the wrapper of <map:views> and </map:views> then I get this
error:
"Must set a generator before setting serializer 'xml' "
What? You aren't allowed to to use a generator in a view -- I thought that¹s
the whole point! 

If I put the view *after* the pipeline in question (instead of before) then
it seems to have no effect.

If I put the <map:views> section inside the <map:components> instead of
inside <map:pipelines>, then I get the error "Unknown component type 'views'
"

Am I missing something?


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
                                        

Reply via email to