cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: Please tell the solution.
Date Fri, 06 Aug 2004 06:06:12 GMT
This is now the 3rd post of the same message - spam?

>>> 2004/08/06 07:57:54 AM >>>
Dear all, 

I am developing my application using Cocoon framework following the
D:\cocoon-2.1.5\build\webapp\samples\blocks\forms\form1.This sample is
CForm for the view purpose. I wrote my Form Definition and Form
Template in
XML using CForm. I modified the forms-samples-styling.xsl file for
formatting and also to include the images and static documents of the
So forms-samples-styling.xsl will change for each page. 

We have our own libraries (Javascript and CSS files) to use for
styling. We
are facing the following problems. 

1. We want to divide the whole page into 3 areas - header, main content
and footer. Header and footer will be constant for all the pages. So
decided to keep the code for header and footer in a seperate xsl and
include that xsl in forms-samples-styling.xsl for each page. This
header and
footer is writen using JavaScript. 

2. The effect of the css and js files are not coming in the page.
JavaScript error ("_page undefined", where _page is a javascript
which is used to display header and footer).

3. Images are not displayed (Though path of the image in the browser
properties is correct).

I am giving the directory structure in Cocoon installation under this
path -


where CForm Definition and Template files are kept under Login folder,
file is kept under css folder, JavaScript file is kept under js folder,
images are kept under img folder, xsl files are kept under resources

*        I saved the html source from the browser after running the
from Cocoon. On running that html source I am getting the output with
correct images and formatting. 

*        Even if I include all codes for header, content area and
footer in
forms-samples-styling.xsl file, I am facing the same problem, output is
coming properly.


I am using Cocoon 2.1.5, JDK 1.4.1, IE 6.x, OS - Windows 2000
Professional/Windows XP and Servlet Engine - Cocoon Servlet Engine.

Please send a solution ASAP.


Thanks & Regards,

Soujanya Gottumukkala




This email (including any attachments) is intended for the sole use of
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying or
distribution or forwarding of any or all of the contents in this
message is
STRICTLY PROHIBITED. If you are not the intended recipient, please
the sender by email and delete all copies; your cooperation in this
is appreciated.

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message