Hi,

On Tue, 5 Mar 2002, Sreedhar Chintalapaty wrote:

> How would I do something like that in Cocoon? Can one XSP page dynamically
> include other XSP pages? I would appreciate -any- examples/sample code!

As others have said, there are several ways of doing it. For some examples
and sample code, take a look at this:

http://www.cocooncenter.de/cocooncenter/tutorials/navigation/tutorial.html

 "The tutorial shows one possibility for creating the navigation elements
 of a typical website with a simple hierarchic structure. All pages
 contain a menu bar on the left, the currently selected item is
 highlighted."

You might also like to look at the way the Cocoon documentation pages are
generated, which uses aggregation to achieve a similar thing (start in
cocoon-2.0.1/src/documentation/).

Hope that helps,

Andrew.

-- 
Andrew Savory                                Email: [EMAIL PROTECTED]
Managing Director                              Tel:  +44 (0)20 8553 6622
Luminas Internet Applications                  Fax:  +44 (0)870 28 47489
This is not an official statement or order.    Web:    www.luminas.co.uk


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to