Martin's right -- that's currently the best interface. The internal organization of the EL (where it's going to end up being distributed from, what the precise language-level interface will be) are still somewhat in flux, so I've refrained, for the moment, from documenting its current state too heavily.
ExpressionEvaluatorManager, however, is the class that will likely remain as the easiest, static interface to the expression language; the attempt is to abstract all EL operations -- coercions, validations, and evaluations -- behind it. The evaluate() method, as Martin points out, is the simplest, most straightforward interface for simply evaluating an expression and returning its result. -- Shawn Bayern "JSP Standard Tag Library" http://www.jstlbook.com (coming this summer from Manning Publications) On Mon, 6 May 2002 [EMAIL PROTECTED] wrote: > At 02:41 PM 5/6/2002, Henri Yandell wrote: > >This is probably for Shawn, but maybe another JSTL implementor. > > > >Is there any documentation describing how to add JSTL-EL support to a > >taglib? > > None yet published that I'm aware of. Also, since this isn't part of the > JSTL standard, it would necessarily be implementation specific. However, > for the RI, you might take a look at: > > ExpressionEvaluatorManager.evaluate() > > in the org.apache.taglibs.standard.lang.support package. The methods are > static, and the usage looks fairly straightforward. > > >That's one of the requests I have had for the String taglib that seem more > >JSP 1.2/JSTL like. Others involve If-type tags and Iterator-type tags > >which I think JSTL supports me in. > > Yep. See ConditionalTagSupport and LoopTagSupport in the JSTL PFD. > > -- > Martin Cooper > > > > >Hen > > > > > >-- > >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]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
