----- Original Message ----- From: "Patrick Lightbody" <[EMAIL PROTECTED]> To: "os-ww" <[EMAIL PROTECTED]> Sent: 2003. janu�r 27. 9:57 Subject: [OS-webwork] Using SiteMesh for the UI tags
> As I've mentioned in the past, I wanted to explore using SiteMesh to power > the UI taglibs, at least for JSP. I know Rickard threw out the idea of using > velocity for all taglibs (regardless if your view is JSP), so what I'd like > to see happen is this: > > 1) I'll commit my sitemesh integration stuff with a simple TextFieldTag > implementation that is literally 4 lines of code, since it extends > ApplyDecoratorTag from SiteMesh while adding a few attribute elements. > > 2) Rickard or someone else commit an equally simple veloctiy > implementation -called from jsp- so that we can compare side-by-side with > the current success.jsp. > Folks, your discussion about having a separate implementation of a functionality for JSP and for Velocity motivated me to speak up. May I suggest that you take a peek at the new 2.2 version of FreeMarker (http://www.freemarker.org). FreeMarker is a template engine, but one that allows you to use JSP taglibs inside the templates. If you'd adopt it as another supported view in WebWork, you'd have a template engine view layer that could utilize all of OpenSymphony's JSP tag libraries without any extra coding or writing separate implementations. BTW, I consider OpenSymphony's JSP tag libraries a great piece of work; OSCache was my original motivation for writing FreeMarker's JSP taglib support. Few months ago I thought about adding support for OSCache into FreeMarker because I found OSCache cool, but after some thinking I instead decided to write a generic JSP taglib support. I know of people that are now writing SiteMesh decorators in a FreeMarker template. Cheers, Attila. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
