AW: WG: [opencms-dev] Making JSP Templates

Hey Patrick Patrick.Hey at sycor.de
Tue May 20 15:03:01 CEST 2003


Hello Rene,

" Use the opemcms-demo for example." Sorry for this question. In which module can I find this demo (For JSP & Frameset). 
Or is it in another documentation.

Thanks a lot.
Patrick


-----Ursprüngliche Nachricht-----
Von: Rene Hinojosa [mailto:R_Hinojosa at Cityofsouthfield.com] 
Gesendet: Dienstag, 20. Mai 2003 14:14
An: opencms-dev at opencms.org; Hey Patrick
Betreff: Re: WG: [opencms-dev] Making JSP Templates

Greetings,

I haven't used the frameset examples. Use the opemcms-demo for example.

>>> Patrick.Hey at sycor.de 05/20/03 07:51AM >>>
Hello Rene,

Do you already have a frameset-JSP-Solution?
Anybody else? An Exampple would be nice.

Regards
Patrick



-----Ursprüngliche Nachricht-----
Von: Rene Hinojosa [mailto:R_Hinojosa at Cityofsouthfield.com] 
Gesendet: Dienstag, 20. Mai 2003 13:20
An: opencms-dev at opencms.org 
Betreff: Re: [opencms-dev] Making JSP Templates

Greetings,

I pretty new to OpenCMS and have been working with it for a week now. Template creation can be done by following the JSP template development HOWTO. Follow the steps like this if you want to create your own module:

1. Create a folder structure similar to the org.opencms.templates folder.
2. Create the master template using XMLTemplate syntax( see  the howto) place in Templates folder.
3. Create a stylesheet and place in the resources folder (this is optional but makes changing the look and feel of the site a lot easier.) I've created a couple stylesheets (one for screen: this one is viewed by the browser; one for print: this one removes any navigation for printing; one for edit: this one is used by opencms to display the page content when editing.
4. Create a JSP Template following the example in step 3 of the HOWTO. Place JSP Template in jsptemplates folder.


Start with a simple layout and then build on that to add all the bells and whistles. I've added a dynamic navigation using some of the example code. The main navigation only lists the folders in the root project and a sub navigation that list all the pages and  folder of the current directory.

Hope this helps you.

Rene
>>> russell at synctank.com 05/20/03 06:27AM >>>
Sorry to bother you all with something so seemingly trivial.

I'm trying to follow the tutorial and docs to create my own templates
but Its just not happening.  I've imported all of the documentation
modules as zip files.  i have also created a master template and
jsptemplates, but I think I put them in the wrong place.  Given that
my system installed in the ~webapps/opencms directory.  Where should I
be placing these files?

Does it have to be placed in a zip file?

Thanks in advanced!

--
Best regards,
 Russell                            mailto:russell at synctank.com 


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev 

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev 
Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Inhalte haben. Bitte löschen Sie die E-Mail und benachrichtigen Sie uns sofort, wenn Sie nicht der bestimmungsgemäße Empfänger sind. Die SYCOR GmbH willigt in keine Verträge oder vertragliche Verpflichtungen ein oder übermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien vereinbart wurde.
This e-mail is confidential and may contain personal and/or priviledged material. Please delete this e-mail and inform us immediately in case you are not the directed recipient. SYCOR GmbH does not agree with contracts or contract obligations. Neither do we transmit legally binding offers by e-mail unless this has been expressly agreed upon between the parties and documented in written form.
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Inhalte haben. Bitte löschen Sie die E-Mail und benachrichtigen Sie uns sofort, wenn Sie nicht der bestimmungsgemäße Empfänger sind. Die SYCOR GmbH willigt in keine Verträge oder vertragliche Verpflichtungen ein oder übermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien vereinbart wurde.
This e-mail is confidential and may contain personal and/or priviledged material. Please delete this e-mail and inform us immediately in case you are not the directed recipient. SYCOR GmbH does not agree with contracts or contract obligations. Neither do we transmit legally binding offers by e-mail unless this has been expressly agreed upon between the parties and documented in written form.



More information about the opencms-dev mailing list