I should have put the smiley face closer to the conspiracy statement.  That
was a joke.

I think having $ in a tag is a skewed perception of a tag.  I have only ever
seen such things in scripts or macros.  I can't remember using a $ in
anything but a scripting language (personally).

Anyway, I just look at those tags and cringe.  Wonder why they couldn't have
been written like, well, a real tag?

I am just trying to understand and play devil's advocate kinda like Ranko
did and therefore why I mentioned him in my original message.  Just
something I don't see the point in (these untags) and so wondered what
others thought.

I guess I should have waited until Friday when people are in a more jovial
mood.

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2003 10:27 AM
To: Struts Users Mailing List
Subject: Re: Ranko like question: What is the sense of some of these tags
libs ?

--- "Bailey, Shane C." <[EMAIL PROTECTED]> wrote:
>  
> 
> As Ranko asked, about the redundancy of Struts I would like to know that
> the
> heck is the deal with SOME of these tag libs out there?
> 
> I mean, look at this: <c:if test="${index%2==0}"> and look at this: <%
> if(index.intValue()%2==0){ %>
> 
> I like NOT to use Java scriptlets in my JSPs and I am pretty decent at
> achieving that but
> 
> if my only resolve of using a "tag" is to have it look like CODE and not
> a
> true tag why
> 
> have people (code maintainers and the original coder in the first place)
> learn a new "language"
> 
> and just use a scriptlet?

If you extend your example to use nested properties, maps, lists, etc you
will start to see why the <c:if> tag is easier.

>
> Seeing $var like tag code that makes me think this is some sort of
> conspiracy so that all the 
> 
> UNIX admins, with their UNIX scripts, who needed new jobs, since WinTel
> is
> taking over, 

This is a rather skewed perception of reality.

David

> starting
> 
> writing "tag" libraries.
> 
>  
> 
> I mean really, what is the deal with these so called "tags" that aren't
> tags?
> 
> JavaScript was cool when it came out (and wasn't developed by Sun)
> because
> if you knew Java then 
> 
> you were about 90% there to being a great JavaScripter.
> 
>  
> 
> So I say Ranko, are you just as bewildered at this as I am?
> 
>  
> 
> :-)
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

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

Reply via email to