This content has been marked as final.
Show 3 replies
-
1. Re: Create component from pageflow
gavin.king Sep 20, 2006 4:24 AM (in response to dgallego)This should work fine:
public class SeamVariableResolver implements VariableResolver { public Object resolveVariable(String name) throws ELException { name = name.replace('$', '.'); return Component.getInstance(name, true); } }
-
2. Re: Create component from pageflow
dgallego Sep 20, 2006 5:45 AM (in response to dgallego)Thanks Gavin for the response, but where do I need to put that VariableResolver?
-
3. Re: Create component from pageflow
gavin.king Sep 20, 2006 9:44 AM (in response to dgallego)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.