This should work fine:
public class SeamVariableResolver implements VariableResolver {
|
| public Object resolveVariable(String name) throws ELException {
|name = name.replace('$', '.');
|return Component.getInstance(name, true);
| }
|
| }
View the
Thanks Gavin for the response, but where do I need to put that VariableResolver?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972878#3972878
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972878
You shouldn't need to do anything, that is built in to Seam.
What I'm trying to say is that any Seam component should be auto-instantiated
by the jBPM variable resolver.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972933#3972933
Reply to the post :