Yes, the ability to disambiguate parameters in this way has always been present.

On Thu, Apr 14, 2011 at 8:50 AM, Dmitriy Vsekhvalnov
<dvsekhval...@gmail.com> wrote:
> works like a charm. thanks.
>
> Is it backward compatible with 5.1.0.5 (i mean zoneupdater.zone='whatever')
> ?
>
> On Thu, Apr 14, 2011 at 7:30 PM, Taha Hafeez <tawus.tapes...@gmail.com>wrote:
>
>> 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) ?
>> >
>>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to