Torsten Curdt wrote:
> 
> For some strange reason ;) I'd like to call an action from within an action.
> The only way I could think of is to obtain a SitemapComponentSelector from
> the ComponentManager and then select the desired action.
> 
> Did I miss something or is this the way to go?


ComponentSelector selector = (ComponentSelector) manager.lookup(Action.ROLE + 
"Selector");
Action action = (Action) selector.select("action-type");

Map objMap = action.act(.....);

selector.release(action);
manager.release(selector);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to