Title: Glacier
Hi,
 
I am an absolute newbie to Cocoon. Being from a JSP background, I suspect there are some fundamental differences in the way a database driven web site is designed for Cocoon (with XSP/XML/XSL).
 
Let's say the users enter the site by the way of "index". This page draws its content from several other component pages, namely header, majorTabs, toolBar and contentPage. The requirement is: The active majorTab must be highlighted, each majorTab has a different toolBar associated with it, and the contentPage can be either a static XML file or a database search results page.
 
In the JSP world, I would create an index.jsp page that took in a bunch of request parameters like 'toolBarName', etc., and dynamically include the jsp components specified therein.
 
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!
 
 
Best Regards,

Sreedhar Chintalapaty
Consultant,
PTC – 140 Kendrick St., Needham MA 02494
__________________________________________________________________________________________
A computer is like an Old Testament god, with a lot of rules and no mercy - Joseph Campbell

 

Reply via email to