You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Rui Alberto L. Gonçalves" <ru...@ptinovacao.pt> on 2003/11/07 18:38:20 UTC

The parameter does not contain a value

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 <ru...@ptinovacao.pt>
PT Inovação


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