Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@apache.org Received: (qmail 60039 invoked from network); 12 Sep 2002 16:34:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Sep 2002 16:34:39 -0000 Received: (qmail 25939 invoked by uid 97); 12 Sep 2002 16:35:11 -0000 Delivered-To: qmlist-jakarta-archive-taglibs-user@jakarta.apache.org Received: (qmail 25923 invoked by uid 97); 12 Sep 2002 16:35:11 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Users List" Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@jakarta.apache.org Received: (qmail 25911 invoked by uid 98); 12 Sep 2002 16:35:10 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3D80C26F.F30D1DC6@labs.gte.com> Date: Thu, 12 Sep 2002 12:35:59 -0400 From: peter lin X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Tag Libraries Users List Subject: Re: incorporating EL support References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N the proposed final draft and early access implementation has been posted on http://java.sun.com/products/jsp/ There's been a lot of activity on tomcat-dev dealing with JSP2.0. I have no idea when it will be released. Perhaps one of the members in the expert group can answer that question. peter Henri Yandell wrote: > > Any idea on when we should expect JSP2.0 Peter? > > Whether we all bother to EL things really depends on whether JSP2.0 is > around the corner or not gonna happen til Spring 2004. Especially as we > have to add in time for when we can expect JSP2.0 in servers. > > Does Craig's code in anyway tie him to JSP 1.2? Or can you use > ExpressionEvaluatorManager and its dependencies in JSP 1.1? > > Hen > > On Thu, 12 Sep 2002, peter lin wrote: > > > > > > > You should know that JSP2.0 includes EL built in. the early access > > implementation of JSP2.0 uses JSTL's el. > > > > You may want to look at the draft spec to familiarize yourself with the > > changes that will occur when JSP2.0 is released. > > > > peter lin > > > > Craig Longman wrote: > > > > > > hi there, > > > > > > i'm just starting out with jsp/taglibs, and have decided to focus on > > > using the jstl as the basis for my efforts. it seems to provide exactly > > > what i needed, some basic, compatible tags to get started. > > > > > > it is clear, however, that i'm going to have to write my own tags to get > > > any serious work done. > > > > > > my question is this, i figure that if i'm going to standardize on the > > > jstl, then it only makes sense to standardize on the EL stuff also, i > > > prefer its style to the scriplet thingies, and its less typing. but, > > > i'm wondering what the preferred/recommended method is for doing this. > > > > > > i see in the src dist for the reference jstl that there are a couple of > > > classes that look promising to use. one is an interface > > > (ExpressionEvaluator) and then an implementing class > > > (ExpressionEvaluatorManager). using it appears to be as simple as this > > > (from tag/el/core/ForEachTag.java): > > > > > > if( begin_ != null ) > > > { > > > Object r = ExpressionEvaluatorManager.evaluate( > > > "begin", begin_, Integer.class, this, pageContext ); > > > if (r == null) > > > { > > > throw new NullAttributeException("forEach", "begin"); > > > } > > > begin = ((Integer) r).intValue(); > > > validateBegin(); > > > } > > > > > > it is acceptable to utilize this class in this manner for custom tags? > > > or is there a better/standard way. i have been unable to find any docs > > > that talk about using the standard EL in your own tags, but if anyone > > > has any pointers, i would greatly appreciate it. > > > > > > thanks, > > > > > > -- > > > > > > CraigL->Thx(); > > > Be Developer ID: 5852 > > > > > > ------------------------------------------------------------------------ > > > Name: signature.asc > > > signature.asc Type: application/pgp-signature > > > Description: This is a digitally signed message part > > > > -- > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: