Drew - you must have misunderstood what I wanted to do with OGNL. I merely want to offer it as an optional expression language for the displaytag - I *don't* want to replace the existing expression evaluator or JSTL's EL. ;-)
So what Fabrizio is saying sounds great to me - a way to configure the displaytag to use both. As an initial thought-provoking activity - I suggest we allow users to configure it the following way: 1. By URI - adding "/el" to the end of the URI indicates that the user wants to use the EL-enabled library. This is how Struts does it and it seems to work pretty well. The main difference is they distribute 2 jars - one that is struts-el.jar. I like the 2 TLDs and one JAR approach we're doing - especially since the current JSTL implementation is only 3 classes. 2. To use JSTL's EL, simply wrap your value with property="${...}" and for OGNL use property="ognl:...". Isn't this how WebWork does it - with the "ognl:" prefix? I'd like to use something that is familiar to OGNL users (Tapestry and WW users). Another option might be to use property="[...]" - but the closeness in syntax might be confusing to users. Thoughts? Fabrizio - I just tried to build the latest JAR (with your EL modifications), but had no luck. I'm on OS X with JDK 1.4.2/Maven 1.0 RC1 and I get the following error: Attempting to download tools-1.3.jar. WARNING: Failed to download tools-1.3.jar. The build cannot continue because of the following unsatisfied dependency: tools-1.3.jar (try downloading from http://java.sun.com/j2se/1.4.2/download.html) I'll try it on my Windows box when I get home later tonight. Thanks, Matt > Well, my plans are to have a pluggable, user-configurable, > expression evaluator. > > In this way we can include an "old style" displaytag evaluator, an > EL evaluator and, in future, maybe an OGNL evalutor. Users should be > able to choose it in the properties file or to implement a custom evaluator... > > AFTER 1.0 > > fabrizio > > > From: Drew Davidson > Sent: Thu 11/03/2004 0.25 > To: [EMAIL PROTECTED] > Subject: Re: [displaytag-devel] EL tags > > Fabrizio Giustina wrote: > > > [deleted] > > > > I'm going to definitively kill this in the EL version of table tag... > > This means that the el tag will never work in replacement of the > > standard tag without at least replacing the sintax of the name > > attribute (usually a couple of {} will be enough to fix it). > > Since al EL version has never been released, neither in beta, this is > > the right time to do it... I'm sorry for users who downloaded the > > snapshot waiting for a release with a similar implementation, but > > since I didn't see any comment on this absurd thing I'm pretty > > confident most people will not care about it. > > Useful though it might be, I've been in contact with Matt Raible > about using the OGNL expression and binding language > (http://www.ognl.org) as a replacement for the expression language > in displaytag instead of EL. OGNL supports extensions which make it > a more robust EL than JSP EL. > > Do you have any thoughts on this? > > - Drew > > -- > +---------------------------------+ > < Drew Davidson | OGNL Technology > > < Professional Open Source > > +---------------------------------+ > | Email: [EMAIL PROTECTED] / > | Web: http://www.ognl.org / > | Vox: (520) 531-1966 < > | Fax: (520) 531-1965 \ > | Mobile: (520) 405-2967 \ > +---------------------------------+ > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > displaytag-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/displaytag-devel -- Open WebMail Project (http://openwebmail.org) ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel