[opencms-dev] From TODO list: Native support for Velocity templates
Alexander Kandzior
alex at opencms.org
Wed Nov 13 12:51:28 CET 2002
Anil,
great, please go ahead, i would be more than happy to include your work.
The way I do envision the integration is as follows:
* There will be a resource type "velocity"
ie. when you press "new file" you can select "Velocity Template"
like "Page", "JSP", "Text" etc.
* A property attached to the velocity file will point to the velocity
class used to process the template
* Velocity templates will share the FlexLoader mechanism we developed
for the JSP so that they are cached according to the same rules
* Velocity templates can be sub-elements of a JSP (or an XMLTemplate)
and vice-versa
I am planning to use the work of Werner Punz as a base since he has
already solved the issue on how to load Velocity templates from the VFS.
Best Regards,
Alex.
Alexander Kandzior
OpenCms Group / Alkacon Software
> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org
> [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of Anil Patel
> Sent: Tuesday, November 12, 2002 8:11 PM
> To: opencms-dev at www.opencms.org
> Subject: [opencms-dev] From TODO list: Native support for
> Velocity templates
>
>
> Alex,
> I have done some work for providing user with option of
> creating Velocity
> template based page. I will to more then Happy to share this
> information
> with community.
> Regards
> Anil Patel
>
>
>
>
>
>
> >From: Joe Burkhart <jburkhar at tdhca.state.tx.us>
> >Reply-To: opencms-dev at www.opencms.org
> >To: "'opencms-dev at www.opencms.org'" <opencms-dev at www.opencms.org>
> >Subject: RE: [opencms-dev] Using the news module with version 5.0
> >Date: Wed, 30 Oct 2002 13:03:28 -0600
> >
> >Rod,
> >
> >You've got my undivided attention. Thanks in advance.
> >
> >--Joe
> >
> >-----Original Message-----
> >From: Rod Thorburn [mailto:rod.thorburn at pavtech.co.nz]
> >Sent: Wednesday, October 30, 2002 12:50 PM
> >To: 'opencms-dev at www.opencms.org'
> >Subject: RE: [opencms-dev] Using the news module with version 5.0
> >
> >
> >Hi Joe,
> >If you plan to us JSP's then in my opinion you should use
> v.5.0 . The
> >news module does work with v.5.0, but when I set this up I
> executed the
> >SQL statements to update the database / create tables
> "manually" (i.e.
> >don't rely on the automated setup routine) - the scripts are in the
> >news module zip file - and then afterwards import the news
> module from
> >the Administration View of opencms.
> >
> >I would add though (and again in my experience and for my purposes)
> >that I have since disposed of the news module. Whilst the concept is
> >good it is functionally inadequate from the perspective of the user
> >e.g. a news item can only appear in 1 channel / most of the
> time users
> >had to create a "page" and news item (two separate functions). As an
> >alternative I use JSP template
> >of which I can provide details if you wish.
> >
> >Rod
> >
> >-----Original Message-----
> >From: Joe Burkhart [mailto:jburkhar at tdhca.state.tx.us]
> >Sent: Thursday, October 31, 2002 7:15 AM
> >To: 'opencms-dev at www.opencms.org'
> >Subject: [opencms-dev] Using the news module with version 5.0
> >
> >
> >Can someone help me understand the best version to use?
> I'll need the
> >functionality of the news module and possibly JSPs.
> >
> >I succesfully installed the latest version 5.0 beta, but
> couldn't get
> >the news module nor the opencms website demo functioning. I
> downgraded
> >to version 4.6 and both items are installed and working now. Should
> >the news module work automatically with the 5.0 release? If not, is
> >there a way to make it work?
> >
> >Thanks for any direction you can give.
> >
> >Joe
> >
> >NOTICE: The information contained in this electronic mail
> message and
> >any attachments is confidential to Pavilion Technologies,
> Inc. or one
> >of its subsidiaries and may contain proprietary information or be
> >legally privileged. This message and any attachments are
> intended only
> >for the personal and confidential use of the designated
> recipient(s).
> >If you are not the intended recipient or an agent responsible for
> >delivering it to the intended recipient, you are hereby
> notified that
> >you have received this message in error, and that any review,
> >dissemination, distribution or copying of this message and any
> >attachments is unauthorised and strictly prohibited. If you have
> >received this message in error, please notify me immediately by
> >telephone and electronic mail, and delete this message, any
> >attachments, and all copies thereof. Thank you very much.
> >
>
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
>
More information about the opencms-dev
mailing list