From: Jorg Heymans

> Nearly there :)
> 
> My transformer is extending AbstractDOMTransformer so i already have 
> access to this manager object.
> 
> So would i do:
> Component c = manager.lookup( 
> "org.apache.cocoon.components.modules.input.DefaultsMetaModule");
> 
> the Component seems like a class without any methods.. so 
> maybe do some 
> casting here?

You have to lookup the InputModuleSelector and NOT a concret
implementation. A selector offers a select method which returns the
object instance you request. There are many examples in the Cocoon
codebase that show you concret selector implementations.

--
Reinhard


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

Reply via email to