Return-Path: Delivered-To: apmail-jakarta-taglibs-dev-archive@apache.org Received: (qmail 24793 invoked from network); 21 Jan 2003 01:16:12 -0000 Received: from exchange.sun.com (192.18.33.10) by 208.185.179.12.available.above.net with SMTP; 21 Jan 2003 01:16:12 -0000 Received: (qmail 1247 invoked by uid 97); 21 Jan 2003 01:17:40 -0000 Delivered-To: qmlist-jakarta-archive-taglibs-dev@jakarta.apache.org Received: (qmail 1196 invoked by uid 97); 21 Jan 2003 01:17:39 -0000 Mailing-List: contact taglibs-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Developers List" Reply-To: "Tag Libraries Developers List" Delivered-To: mailing list taglibs-dev@jakarta.apache.org Received: (qmail 1184 invoked by uid 98); 21 Jan 2003 01:17:39 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Mon, 20 Jan 2003 17:16:06 -0800 (PST) From: "Craig R. McClanahan" To: Tag Libraries Developers List Subject: Re: Instanceof operator in if tag In-Reply-To: <20030120102845.45320.qmail@web40905.mail.yahoo.com> Message-ID: <20030120171306.Q36360-100000@icarus.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N On Mon, 20 Jan 2003, Emmanuel Boudrant wrote: > Date: Mon, 20 Jan 2003 11:28:45 +0100 (CET) > From: Emmanuel Boudrant > Reply-To: Tag Libraries Developers List > To: taglibs-dev@jakarta.apache.org > Subject: Instanceof operator in if tag > > Hi, > > I post a bug in Struts bugzilla about the creation of a tag . > An user said the instanceof is a reserved word in the JSTL and it's recommended to deprecate the > struts BEAN and LOGIC tag and switch to JSTL. > > Here the bug repport : http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15829 > > I'm volunteer to implement the instanceof operator in Jakarta JSTL. > The challenge is that the Jakarta JSTL library (standard.jar) implements the JSTL spec -- you can't just arbitrarily modify it to add new functionality without the spec being changed as well. The other thing you should be aware of is that the EL language definition is getting absorbed into JSP 2.0, so you'll be able to use it everywhere in your page (not just as attribute values to JSTL tags). > Is there a quickstart to create an operator ? > I'd look at the sources for the EL interpreter. > I need to create the InstanceofOperator class and update the > ELParser.jj, isn't it ? > > BTW: Where I can see that instanceof word is reserved in JSTL ? > The JSTL 1.0 spec, Appendix A defines the exact language. Section A.4 has the set of reserved words, including "instanceof". > Thx, > -emmanuel Craig -- To unsubscribe, e-mail: For additional commands, e-mail: