Re: Using Sitemesh Tags from a Veloticy Template
Scott Farquhar <[email protected]>
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Mar 16, 2004 at 09:49:37AM -0500, Frank Febbraro wrote: > I have some custom panels that I developed using Sitemesh > > I include them in my JSP using (for example): > > <page:applyDecorator name="scrollPane"> > <page:param name="width">300</page:param> > <page:param name="height">150</page:param> > > ....stuff to be in scroll pane.... > > </page:applyDecorator> > > On a new project I was considering using Velocity as the UI rendering > mechanism and I was wondering if it was possible to use these prebuilt > panels from within a Velocity Template. I would not even mind (too much ;-)) > If I had to rewrite the panels in Velocity. I just dont see anything that > leads me in the direction of this possiblity. There is some code in CVS for VelocityDecorator servlets, but AFAIK, there isn't any code foe page:applydecorator. Is there a way of grabbing the contents of a block in velocity? Cheers, Scott ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click