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 <[EMAIL PROTECTED]>
PT InovaÃÃo


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

Reply via email to