To be honest, I haven't tried. I imagine it would be somewhat simple though. However, since I really know nothing about OGNL, it might be a lot more difficult than I'm thinking. To add JSTL Support, I simply subclassed the two Table and Column Tags and added an ExpressionEvaluator to do the evaluation of Strings.
http://displaytag.sourceforge.net/xref/org/displaytag/tags/el/package-su mmary.html The one ugly issue right now is we are maintaining a separate TLD for the original tag library and the EL version. I suppose we could use XDoclet to generate this and that might solve the problem, but I imagine the main developers are little hesitant to adding another TLD to the mix. That being said, I'm more than willing to hack a local copy and make this work. I think if I do this same sort of logic (see below) with OGNL - it'll be a breeze. ExpressionEvaluator eval = new ExpressionEvaluator(this, pageContext); if ((s = eval.evalString("decorator", _decorator)) != null) { super.setDecorator(s); } ... Replacing Expression Evaluation with one from OGNL... Matt > -----Original Message----- > From: Drew Davidson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 09, 2004 1:40 PM > To: Matt Raible > Subject: Re: OGNL ExpressionEvaluator > > > Matt Raible wrote: > > > I apologize for the direct e-mail, please feel free to tell me to > > subscribe to a mailing list and ask this question there. I was > > wondering how hard it would be to write an ExpressionEvaluator for > > OGNL to be used in tag libraries? See my full question at the > > following URL: > > > > > http://raibledesigns.com/page/rd?> > anchor=supporting_ognl_in_tag_librari > > es > > > Did you have any success using OGNL in this tag library? > > I looked at the displaytag libraries and I must say they are > elegant. > Excellent job! I'd love for OGNL to be associated with this taglib. > Please let me know anything I can do to help you out. > > > - 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