those ace logic jsp tags

2003-02-10 Thread Caoilte O'Connor
Hi,
I've been using the if/else/case/switch tags for a while and love them. Is 
there any chance that they'll ever be incorporated into Struts proper?

I've also found one slightly annoying bug. In most languages you can do an,

if X and X.Y then

where X.Y doesn't get evaluated if X fails (thinks back to uni, possibly 
making them LR languages?).

anyway, I can't do that with the if/else tags, ie I have to do

alogic:if name=oldusersportaccess op=present
alogic:then
alogic:if name=oldusersportaccess property=sportAccess.access 
value=true op=equal/
alogic:then

instead of  

alogic:if name=oldusersportaccess op=present
alogic:and name=oldusersportaccess property=sportAccess.access
value=true op=equal/
alogic:then

which would be neater.


Do you know about this/ is there anything that can be done about it?

cheers again. I've had no other problems so far,

caoilte

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




Re: those ace logic jsp tags

2003-02-10 Thread Taylor Cowan
there any chance that they'll ever be incorporated into Struts proper?

The direction for struts seems to be conformance/reliance on the JSTL as
much as possible, therefore, you'd use the JSTL tags with matching
functionality.

Taylor Cowan


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




Re: those ace logic jsp tags

2003-02-10 Thread Caoilte O'Connor
On Monday 10 February 2003 1:03 pm, Taylor Cowan wrote:
 there any chance that they'll ever be incorporated into Struts proper?

 The direction for struts seems to be conformance/reliance on the JSTL as
 much as possible, therefore, you'd use the JSTL tags with matching
 functionality.


eh?
that'll teach me to stop reading the mailing list. Where can I find out more 
about Struts integration with JSTL?

c

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




Re: those ace logic jsp tags

2003-02-10 Thread Craig R. McClanahan


On Mon, 10 Feb 2003, Caoilte O'Connor wrote:

 Date: Mon, 10 Feb 2003 10:27:58 +
 From: Caoilte O'Connor [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
  [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: those ace logic jsp tags

 Hi,
 I've been using the if/else/case/switch tags for a while and love them. Is
 there any chance that they'll ever be incorporated into Struts proper?


It would certainly be possible, but my recommendation is that people
switch to using JSTL tags instead.  The expression syntax supported by
JSTL (now) and JSP 2.0 (when it's done) is much more powerful and concise
than what it takes to accomplish the same thing with the existing Struts
logic tags, or with the proposed ones you show.


Craig

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




Re: those ace logic jsp tags

2003-02-10 Thread Craig R. McClanahan


On Mon, 10 Feb 2003, Caoilte O'Connor wrote:

 Date: Mon, 10 Feb 2003 12:38:43 +
 From: Caoilte O'Connor [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
  [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: those ace logic jsp tags

 On Monday 10 February 2003 1:03 pm, Taylor Cowan wrote:
  there any chance that they'll ever be incorporated into Struts proper?
 
  The direction for struts seems to be conformance/reliance on the JSTL as
  much as possible, therefore, you'd use the JSTL tags with matching
  functionality.
 

 eh?
 that'll teach me to stop reading the mailing list. Where can I find out more
 about Struts integration with JSTL?


Grab a recent nightly build of Struts and check out the struts-el
package in the contrib directory.  It includes a recasting of all the
useful Struts tags with EL handling that is compatible with JSTL.

You can get the code for JSTL itself from the Jakarta Taglibs Project at
http://jakarta.apache.org/taglibs.

Craig

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