This content has been marked as final.
Show 4 replies
-
1. Re: How to add your own EL Resolver
rebody Jun 24, 2010 8:52 PM (in response to jochen_mader)Hi Jochen,
Now, there is no extension entry for doing that. if you want to add an addition elResovler, you have to re-write org.jbpm.pvm.internal.script.JuelScriptEngine. There is a method named makeResovler().
private ELResolver makeResolver() { CompositeELResolver chain = new CompositeELResolver(); chain.add(new ArrayELResolver()); chain.add(new ListELResolver()); chain.add(new MapELResolver()); chain.add(new ResourceBundleELResolver()); chain.add(new BeanELResolver()); return new SimpleResolver(chain); }
Add whatever you want to.
Good Luck.
-
2. Re: How to add your own EL Resolver
jochen_mader Jun 25, 2010 4:28 AM (in response to rebody)Thanks for your reply, I will do that.
I was just hoping there would be a way to avoid that.
cheers
Jochen
-
3. Re: How to add your own EL Resolver
rebody Jun 25, 2010 9:08 PM (in response to jochen_mader)Hi Jochen,
Do you have any good idea for handle this? If you have a good plan, please open an issue on jira for it. Then we could achieve it in the next version. Thank you very much.
-
4. Re: How to add your own EL Resolver
jochen_mader Jun 29, 2010 4:04 AM (in response to rebody)Sorry for the long delay.
I am starting to look into this right now.
If I find a good solution I will definitely submit it back.