Re: [chain] add expression evaluation?

2004-12-04 Thread Sean Schofield
I too was unaware of this aspect of Digester (apparently it was added in the latest release.) I agree with Joe's take that it appears to be only helpful during the initial parsing of the rules. I have dealt with something similar myself. Basically I had some XML template that I wrote to convert

Re: [chain] add expression evaluation?

2004-12-04 Thread Joe Germuska
At 11:51 AM -0500 12/4/04, Sean Schofield wrote: The velocity engine did everything for you. If your text did not have velocity markup in it, no harm done, it just ignores it. Maybe we could use something like this. Also, VelocityContext really just wraps a HashMap, so it might be possible to

Re: [chain] add expression evaluation?

2004-12-03 Thread Ted Husted
My one comment this morning is that is looks like Martin is getting ready to tag and roll a release, so of course we should wait for that to happen before committing any changes. If for any reason Martin is tied up, and people are chaffing to commit, of course I'd be happy to step up. -Ted.

Re: [chain] add expression evaluation?

2004-12-03 Thread Matt Sgarlata
Developers List [EMAIL PROTECTED] Sent: Thursday, December 02, 2004 6:15 PM Subject: Re: [chain] add expression evaluation? At 3:08 PM -0800 12/2/04, Craig McClanahan wrote: Interestingly, Digester already supports the expression replacement mechanics (see org.apache.commons.digester.Substitutor), so

Re: [chain] add expression evaluation?

2004-12-03 Thread Martin Cooper
Yep. The only thing I'm waiting for at this point is getting the MyFaces jars up on ibiblio so that both Maven and Ant builds will work without intervention. Then I'll fix the build files and tag and roll the Chain 1.0 release. Matthias over in the MyFaces team has said he'll try to put together

[chain] add expression evaluation?

2004-12-02 Thread Joe Germuska
In a discussion on the struts-user list, I got around to describing a configuration format which made me wonder if folks would tolerate some kind of expression evaluation engine in chain. The musing repeated below: At 1:57 PM -0600 12/2/04, Joe Germuska wrote: I think you could find the view

Re: [chain] add expression evaluation?

2004-12-02 Thread Craig McClanahan
Interestingly, Digester already supports the expression replacement mechanics (see org.apache.commons.digester.Substitutor), so it ought to be really easy to do this kind of thing, and an elegant solution to boot. I'm +1 for it. Craig On Thu, 2 Dec 2004 16:40:31 -0600, Joe Germuska [EMAIL

Re: [chain] add expression evaluation?

2004-12-02 Thread David Graham
I've never used JEXL but the Mozilla Rhino javascript engine is pretty keen. Maybe this feature could start in contrib and move to the core if people find it useful? David --- Joe Germuska [EMAIL PROTECTED] wrote: In a discussion on the struts-user list, I got around to describing a

Re: [chain] add expression evaluation?

2004-12-02 Thread Joe Germuska
At 3:08 PM -0800 12/2/04, Craig McClanahan wrote: Interestingly, Digester already supports the expression replacement mechanics (see org.apache.commons.digester.Substitutor), so it ought to be really easy to do this kind of thing, and an elegant solution to boot. I'm +1 for it. Craig I hadn't seen