RE: writing a custom tag that can use EL

2003-09-04 Thread Karr, David
-Original Message- From: Eric W Hauser [mailto:[EMAIL PROTECTED] On Wed, 3 Sep 2003, Felipe Leme wrote: - you *have* to add the code that evaluates the expression. With JSP 2.0 you won't need to, it's done automatically Although this is obviously a valid point, waiting

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
On Wednesday 03 September 2003 06:39 am, Adam Hardy wrote: it will interpret the EL specified. I assume there must be some classes in some jar somewhere, something I need to implement or extend? Yes, something like that. Take a look in this past message:

Re: writing a custom tag that can use EL

2003-09-03 Thread Adam Hardy
Hi Felipe, that is a highly useful article that you link to there. I was able to achieve exactly what I wanted. Actually I dropped the idea of using EL completely and by-passed the need for an extra attribute by calling to the parent ForEachTag direct to obtain its base class LoopTag via

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
On Wednesday 03 September 2003 11:00 am, Adam Hardy wrote: From the LoopTag I could obtain the LoopTagStatus object via the getLoopStatus() method. Yes, that would solve your problem too. It would even be a more elegant solution for the problem. It seems that implementing EL will be a

Re: writing a custom tag that can use EL

2003-09-03 Thread Eric W Hauser
I'm not sure why implementing ExpressionEvaluatorManager is that difficult. It is fairly simple to add this to existing tag libraries. Not to mention that this is the way that all of the standard taglibs evaluate their EL expressions. If you are looking for a good way to implement this, look at

RE: writing a custom tag that can use EL

2003-09-03 Thread Chen, Gin
AM To: Tag Libraries Users List Subject: Re: writing a custom tag that can use EL I'm not sure why implementing ExpressionEvaluatorManager is that difficult. It is fairly simple to add this to existing tag libraries. Not to mention that this is the way that all of the standard taglibs evaluate

Re: writing a custom tag that can use EL

2003-09-03 Thread Pierre Delisle
Adam Hardy wrote: Does J2EE 1.4 include JSP2.0? Yes. Is JSTL part of JSP2.0? No. JSTL 1.1 is the version that synchronizes with JSP 2.0. JSTL 1.0 requires at least a JSP 1.2 container. JSTL 1.1 requires at least a JSP 2.0 container. JSTL is not currently part of the J2EE platform. --

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
Pierre, Now that you mention it, is there any plans to officially include it on J2EE1.4? I think JSTL is not in the current J2EE 1.4 specification, even though its implementation is included on j2sdkee1.4. Felipe On Wednesday 03 September 2003 01:36 pm, Pierre Delisle wrote: JSTL is not

RE: writing a custom tag that can use EL

2003-09-03 Thread Chen, Gin
to get to us? -Tim -Original Message- From: Felipe Leme [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Re: writing a custom tag that can use EL Pierre, Now that you mention it, is there any plans to officially include it on J2EE1.4

Re: writing a custom tag that can use EL

2003-09-03 Thread Pierre Delisle
Felipe Leme wrote: Pierre, Now that you mention it, is there any plans to officially include it on J2EE1.4? JSTL 1.1 is bundled with the J2EE 1.4 RI (Reference Implementation), but it is not part of the J2EE platform per se. I think JSTL is not in the current J2EE 1.4 specification, even

Re: writing a custom tag that can use EL

2003-09-03 Thread Eric W Hauser
On Wed, 3 Sep 2003, Felipe Leme wrote: - you *have* to add the code that evaluates the expression. With JSP 2.0 you won't need to, it's done automatically Although this is obviously a valid point, waiting for JSP 2.0 is not really a good solution for the present. Especially if you are

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
On Wednesday 03 September 2003 02:44 pm, Chen, Gin wrote: Why should JSTL be included in JSEE1.4? Maybe I'm misunderstanding here but I think of JSTL as this set of taglibs that I use. It's a set of taglibs. But as the name implies, it's the standard taglibs. So I think it would make sense to

Re: writing a custom tag that can use EL

2003-09-03 Thread Felipe Leme
Eric, Although this is obviously a valid point, waiting for JSP 2.0 is not really a good solution for the present. Especially if you are someone who I thinks you misunderstood my posts. I didn't say we should wait for JSP 2.0 to use EL; I just said it will be much easier to develop tags when