Hey

I was actually going to use it to place an " " in a cell of a table if
a certain bean attribute didn't exist.

I've settled on using <logic:equals> instead, which is fine with me. 6 of
one.....13 of another.....

Is there a better way to do this that I'm missing?

John

John Mattos
Sr. Developer and Architect
iNDEMAND
345 Hudson St. 16th Floor
New York, New York
10014



-----Original Message-----
From: Adam Hardy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 12:54 PM
To: [EMAIL PROTECTED]
Subject: RE: "if" tag


How many pages do you need an If tag / scriplet for? Why not switch the
Action forward to choose the right page? Just have 2 pages with no Ifs.
Perhaps I'm being too simplistic.

On Tue, 12 February 2002, "Knoll, Zach" wrote:

> 
> I totally agree with you. The only issue/desire that I have is that
because
> scriplets can get easily out of hand by developers with little patience or
> time to learn tags, I would love it if we could enforce the JSP compiler
to
> only compile XML compliant JSP's thereby forcing the developer to not code
> with scriplets. Of-course the downside is that if we do this we will have
to
> use tags for everything including simple "if's" on the other hand though,
we
> will guarantee that the JSP's will not have 100's of lines of un-readable
> scriplets which outweighs the negatives by an exponential factor.
Therefore
> if my dream should ever come true we will need the "if" tag. 
> 
> -----Original Message-----
> From: Jonathan Gibbons [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 12, 2002 12:06 PM
> To: Struts Users Mailing List
> Subject: RE: "if" tag
> 
> 
> 
> How can
> 
> <logic:if   name="blah" value="xxx">
> 
> <logic:else>
> </logic:else>
> </logic:if>   (or whatever)
> 
> be better.  It's just different, but not better, and scriptlets are evil
> when they go mad and get out of hand, they are not evil of themselves.
> 
> Jonathan
> 
> 
> ---------------------------------------- Message History
> ----------------------------------------
> 
> 
> From: "Mattos, John" <[EMAIL PROTECTED]> on 12/02/2002 11:52 EST
> 
> Please respond to "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> 
> To:   "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> cc:
> Subject:  RE: "if" tag
> 
> 
> Ya think?
> 
> Well, if that's true, forget it. I'll just use scriptlets, although I feel
> like we're mixing too much java that way.
> 
> John
> 
> -----Original Message-----
> From: Jonathan Gibbons [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 12, 2002 11:38 AM
> To: Struts Users Mailing List
> Subject: Re: "if" tag
> 
> 
> 
> If there are plans for an if then else tag can they please be dropped.
> 
> Scriptlets are far cleaner than inventing a tag which exactly mimics java.
> 
> Jonathan
> 
> 
> 
> ---------------------------------------- Message History
> ----------------------------------------
> 
> 
> From: "Mattos, John" <[EMAIL PROTECTED]> on 12/02/2002 10:59 EST
> 
> Please respond to "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
> 
> To:   "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> cc:
> Subject:  "if" tag
> 
> 
> Hi all
> 
> Are there any plans in the next release of Struts to have a logic:if tag?
> 
> John
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> 
> --
> 
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> 
> --
> 
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the postmaster at [EMAIL PROTECTED]
> 
> 
> www.sothebys.com
> **********************************************************************
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com

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

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

Reply via email to