You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mohan Ganesan <gs...@sify.com> on 2003/11/27 08:06:44 UTC

Help in Cocoon2.1.2

hi,
   we are using cocoon2.1.2,xsl with jsp. The problem that we are facing is follows.
  
   In a file called "Hoverwelcome.jsp" whilch transforming to "hoverwelcome.xsl" file through sitemap file. we used 3 frame in that xsl file. 
We added pipeline for that 3 files similar to file. 

(One of the file in the frame is "headerpage.jsp")

<map:match pattern="headerpage.jsp">
        <map:generate type="jsp" src="headerpage.jsp"/>
	     	<map:transform src="headerpage.xsl">
     		   <map:parameter name="servletPath" value="{request:servletPath}"/>
	     	   <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
     		   <map:parameter name="contextPath" value="{request:contextPath}"/>
	     	   <map:parameter name="file" value="headerpage.jsp"/>
     		</map:transform>
        <map:serialize type="html"/>
	</map:match>


IS THERE ANY SPECIAL TAG SHOULD BE ADD FOR DISPLAYING PAGES UNDER FRAMES IN SITEMAP?


PLEASE HELP ME ....THANKS


MOHAN
-------------------------------------------------
Click here to find your dream partner!
Know more at http://www.bharatmatrimony.com/partner/sify.html

Sify Power mail- a Premium Service from Sify Mail!
know more at http://mail.sify.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Help in Cocoon2.1.2

Posted by Joerg Heinicke <jh...@virbus.de>.
Sorry, but I don't understand your question/problem exactly.

But to make it clearer:

You want to generate a website with 3 frames?

What you need are exactly 4 files:
1 frameset HTML file and 3 content HTML files.
Nothing specific has to be done in the sitemap. The browser simply loads 
the frameset HTML file, reads it and knows that it needs the 3 content 
HTML files and requests them. You can not generate the frameset 
description and the content at the same time.

Joerg

On 27.11.2003 08:06, Mohan Ganesan wrote:

> hi,
>    we are using cocoon2.1.2,xsl with jsp. The problem that we are facing is follows.
>   
>    In a file called "Hoverwelcome.jsp" whilch transforming to "hoverwelcome.xsl" file through sitemap file. we used 3 frame in that xsl file. 
> We added pipeline for that 3 files similar to file. 
> 
> (One of the file in the frame is "headerpage.jsp")
> 
> <map:match pattern="headerpage.jsp">
>         <map:generate type="jsp" src="headerpage.jsp"/>
> 	     	<map:transform src="headerpage.xsl">
>      		   <map:parameter name="servletPath" value="{request:servletPath}"/>
> 	     	   <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
>      		   <map:parameter name="contextPath" value="{request:contextPath}"/>
> 	     	   <map:parameter name="file" value="headerpage.jsp"/>
>      		</map:transform>
>         <map:serialize type="html"/>
> 	</map:match>
> 
> 
> IS THERE ANY SPECIAL TAG SHOULD BE ADD FOR DISPLAYING PAGES UNDER FRAMES IN SITEMAP?
> 
> 
> PLEASE HELP ME ....THANKS
> 
> 
> MOHAN


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org