You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by oceatoon <t....@systheo.com> on 2005/05/03 22:57:57 UTC

Flow Input Module Access

Hello Every one 

I can't seem to get the result of the realpath input module within Flow ?

I tried this out of the hat but the hat is out of its magic ;-)
var gcomp =
cocoon.getComponent("org.apache.cocoon.components.modules.input.RealPathModule");
var path2webapp = gcomp.getAttribute("/",null,null);
cocoon.releaseComponent(gcomp);

Thanks 
Regards
Tibor


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Flow Input Module Access

Posted by oceatoon <t....@systheo.com>.
Dan Durkin wrote:

> Have you tried using the RealPath inputmodule in the sitemap and
> passing in the result to you flow function as a parameter?
It would be my final option if It is not possible, but I would really like
to do this from FLow ?? But how ? :)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Flow Input Module Access

Posted by Dan Durkin <dd...@scilearn.com>.
Have you tried using the RealPath inputmodule in the sitemap and
passing in the result to you flow function as a parameter?

oceatoon wrote:
> Hello Every one 
> 
> I can't seem to get the result of the realpath input module within Flow ?
> 
> I tried this out of the hat but the hat is out of its magic ;-)
> var gcomp =
> cocoon.getComponent("org.apache.cocoon.components.modules.input.RealPathModule");
> var path2webapp = gcomp.getAttribute("/",null,null);
> cocoon.releaseComponent(gcomp);
> 
> Thanks 
> Regards
> Tibor


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org