Hi

In 5.1.0.6 a parameter zone was added to Select. So in your case both Select
component and mixin ZoneUpdater have 'zone' as parameter.In tapestry, if
both component and mixin have the same parameter name, the parameter is
assigned to the component and mixin does not get the parameter.

As ZoneUpdater does not get any value for 'zone' and 'zone' parameter is
required , it complains.

You can specify the parameter for zoneupdater as zoneupdater.zone='whatever'

http://tapestry.apache.org/component-mixins.html

regards
Taha


On Thu, Apr 14, 2011 at 8:42 PM, Dmitriy Vsekhvalnov <dvsekhval...@gmail.com
> wrote:

> Hi all,
>  just upgraded application to 5.1.0.8-SNAPSHOT, and got weird error for
> components that includes ZoneUpdater (
> http://tinybits.blogspot.com/2010/03/new-and-better-zoneupdater.html)
>
> org.apache.tapestry5.ioc.internal.util.TapestryException: Parameter(s)
> 'ZoneUpdater.zone' are required for
> org.apache.tapestry5.corelib.components.Select, but have not been bound.
>
> But it bound :)    If i change parameter definition to:
>
>  @Parameter(defaultPrefix = BindingConstants.LITERAL, required = false)
>  private String zone;
>
>
> it works perfectly.
>
> Is it something known (5.1.0.5 was working as expected) ?
>

Reply via email to