velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "White, Tim" <>
Subject RE: design template based on user requirement
Date Wed, 02 Jul 2008 13:41:36 GMT
If I understand your question correctly, you have your own template, and
you want to let the user override it with their own customized version.

One way to do this is with resource loaders.

For example, if your templates are inside the .war file, you could set
the resource loader configuration to check a file system location first,
and then inside the .war.

If it finds a version of the template it's looking for (same exact name)
in the file system location, it will use that.  Otherwise, it will use
the version from the .war.

Hope this helps,


-----Original Message-----
From: KumarE [] 
Sent: Wednesday, July 02, 2008 3:32 AM
Subject: design template based on user requirement


     I am using velocity template, which i use to display output. But i
requires customization of existing template  and also  if user needs to
design a new template, he can design it according to his/her
requirement, is there any tool available along with the library so that
customization of an existing template  (or new template design) is
possible, or any one have idea regarding or is there any methods of
programming to be followed in order  to achieve  template customization.

Kumar E
View this message in context:
Sent from the Velocity - User mailing list archive at

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

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

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

View raw message