cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rui Alberto L." Gonçalves <rui-l-goncal...@ptinovacao.pt>
Subject The parameter does not contain a value
Date Fri, 07 Nov 2003 17:38:20 GMT
Hi all,
i'am having problems passing parameters to my component!

My component implements the interface 
org.apache.avalon.framework.parameters.Parameterizable

//
public void parameterize(Parameters parameters)
                  throws ParameterException
{
..
   param1 = parameters.getParameter("myParameter");
...
}

and in my sitemap I have:
<map:generate type="mygenerator">
     <map:parameter name="myParameter" value="SOMEVALUE"/>
</map:generate>

but when the parametrize method is invoked, an exception 
is thrown with the message:

The parameter 'myParameter' does not contain a value.

Does anyone have any idea why this is happening?

Thanks to all!

Rui Alberto



-- 
Rui Alberto L. Gonçalves <rui-l-goncalves@ptinovacao.pt>
PT Inovação


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


Mime
View raw message