Re: Caution, a traitor in our midst!

Lane Sharman <[email protected]>
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
Hi Marc,

this is an intriguing idea and does not seem like such a bad way to 
circumvent the politics of "we use JSP".

Furthermore, it would allow you to refactor existing JSPs into a WM 
system over time. This would be really helpful.

In short, JSPs are an utter left turn on the road to productive and 
extreme development. It boggles and bambles my mind where Sun has taken 
Java during the last 7 years.

-Lane

Marc Palmer wrote:

> Hi all,
>
> Continuing my JSP/JSF/EJB journey a little more today... I thought 
> that probably we should have a WM tag library for JSP to help those 
> poor JSP people out.
>
> Has somebody already done this? It should be relatively simple.
>
> I notice Velocity has it already:
>
> http://jakarta.apache.org/velocity/veltag.html
>
> Basically we're talking a simple tag or two to render WM content 
> within a JSP page, or to render an external WM template - i.e. in JSP 
> land pages could be reduced to a variant of:
>
> <%@ taglib uri="/WEB-INF/webmacro.tld" prefix="wm" %>
>
> <wm:template name"/mytemplates/rendertemplate.wm" />
>
> You'd need a couple of helpers like Velocity's, to provide access to 
> scoped variables (JSP's #bean-like scoping mechanism) and wrap up the 
> context.
>
> What does the community think?
>
> I'd love to be able to go somewhere and "use JSP" but really be using 
> WM :)
>
> Cheers
>

-- 
Lane Sharman
Providing Private and SPAM-Free Email
http://www.opendoors.com
858-755-2868



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.