Hi all,

I've got trouble defining a view in a mounted sitemap. I'm using Cocoon 2.0.5dev.
The following is the situation (simplified example):

/cocoon/sitemap.xmap : 

        <map:mount uri-prefix="" src="file://c:/foo/sitemap.xmap" check-reload="yes"/>

/foo/sitemap.xmap:
.....
        <map:views>
                <map:view from-position="last" name="data">
                        <map:serialize type="xml"/>
                </map:view>
        </map:views>
.....
        <map:match pattern="header">
                <map:generate type="file" src="resources/header.xml"/>
                <map:serialize type="html"/>
        </map:match>
.....


Now, when I call
http://unittest:8080/header
I get the corresponding HTML page (which is good).

After calling
http://unittest:8080/header?cocoon-view=data
I still get the HTML serialized version.... 
What's happening with the view? When running the same test from within the main 
sitemap, it works perfectly.

Any clues?

Regards,

Arje Cahn


---------------------------------------------------------
Arjé Cahn, Software Department
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel  +31 (0)20 6345173 
Fax +31 (0)20 6345179
arje(at)hippo(dot)nl / www.hippo.nl



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to