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

Flow inputModule

Hi everyone
Sorry to still bother with this InputModuel thing,
 I managed finally to declare my component in Flow
 but the realpath module getAttributeNames("") returns an attribute called
requestURI and when I getAttribute("requestURI", null,null), I get a null
pointer exception ??

Here's my code:

var gcomp =
cocoon.getComponent("org.apache.cocoon.components.modules.input.InputModuleSelector");
var path2webapp =
gcomp.select("realpath").getAttributeNames("requestURI",null,null);
print("print 2 webapp :"+path2webapp);
cocoon.releaseComponent(gcomp);

Thanks for any ideas 
Tibor