Joe Germuska wrote:
> Whether the "classic" and "el" taglibs are one chunk or two isn't

 hugely important to me either -- I would prefer that this decision be
 made by developers who've done more work on that code to date.
 However, I did find that when I patched
 o.a.s.t.html.JavascriptValidator, I had to go and make a
 corresponding change in the EL version.  I suspect that changes in
 those two libraries are going to track pretty tightly.  But like I
 said, I'm not pushing for this; just floating it...


Is there any reason that the EL tags wouldn't replace the existing tags
for Struts 2.0?  Also, IMO, many of the tags can be removed entirely for
2.0 because they've been replaced by more powerful counterparts in the
JSTL.


As I've been saying (a lot, it seems, lately) on struts-user, I think there are legitimate Struts JSP tags like "html:messages" that are not best replaced by JSTL. Any time Struts tools put resources in special locations in request or session scope, I think it's nice to have tags which know the special locations, instead of expecting people to dig in and find them. And, for example with html:messages, the message-property filtering is a useful feature that would require a lot of verbose JSTL to achieve the same goal.

So, I'd suspect even in 2.0 there will be arguments for a small Struts taglib. But I am 100% on board with pushing people to use the JSTL where it is really equivalent.

Joe


All


+1 Some Struts tags are indeed very great.

I also found the original <html:options> tag to really be useful last year
at RBS generating HTML OPTIONS elements. Repeating the same thing JSTL
<c:if> or <c:when> statment is verbose. If there not EL equivalent
of <html:options>, it will be on my todo list.

I presume there are some other Struts HTML tags that are favourites with
other people too.

--
Peter Pilgrim
           __ _____ _____ _____
          / //__  // ___// ___/   +  Serverside Java
         / /___/ // /__ / /__     +  Struts
        / // ___// ___// ___/     +  Expresso Committer
     __/ // /__ / /__ / /__       +  Independent Contractor
    /___//____//____//____/       +  Intrinsic Motivation
On Line Resume
   ||
   \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to