Hi Kumar, Velocity doesn't come with any Hibernate-specific resource loaders, but there is a DatasourceResourceLoader that can load a template directly from a database. Check the Javadocs.
Also, it is possible to write your own ResourceLoader to load templates. You could definitely create one to load from a Hibernate session. Look at the source code for the DatasourceResourceLoader in the Velocity source as an example, or read my Powerpoint slides "Hacking Velocity" available on our wiki. WILL On Thu, Jul 3, 2008 at 6:24 AM, KumarE <[EMAIL PROTECTED]> wrote: > > > yes but the thing is that user has to design a new template and store in > database, but this design and all things should happen in running mode of > web application, ie it should be possible to design all the web > components > like text box, combo box, check box in running web application and once > the > new template is created that template should store inside the database up > on clicking suppose save button, > > and for programming i am using JSP,Hibernate for database connection, how > it > is possible. do u know any tools available so that one can dynamically > create template and store inside database. > > > thanks > Kumar > > > > > > > > > > > > > > > > > > KumarE wrote: > > > > Hi, > > > > 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. > > > > > > thanks > > Kumar E > > > > -- > View this message in context: > http://www.nabble.com/design-template-based-on-user-requirement-tp18233609p18259091.html > Sent from the Velocity - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Forio Business Simulations Will Glass-Husain [EMAIL PROTECTED] www.forio.com
