HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"How to add your own EL Resolver"

To view the discussion, visit: http://community.jboss.org/message/549594#549594

--------------------------------------------------------------
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.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/549594#549594]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to