Hi,

I've just run into this myself, my Mixin attaches to a Grid and needs
the rowIndex parameter from the embedded GridRows component.

Is there a JIRA number for this so I can track the changes and perhaps
patch T5.2.6?

Steve.


On 23 September 2011 20:58, Taha Hafeez Siddiqi
<tawus.tapes...@gmail.com> wrote:
> Hi Dragan
>
> It definitely deserves a JIRA!
>
> regards
> Taha
>
> On Sep 23, 2011, at 6:13 PM, Dragan Sahpaski wrote:
>
>> Hi,
>> Currently the @BindParameter annotation (that binds a parameter of a mixin
>> to a parameter in the component the mixin is applied to),
>> can be applied only to formal parameters of the containing component and not
>> to parameters that are inherited by the containing component by embedded
>> components.
>> I think it is natural that inherited parameters are included in the search
>> for parameters to bind to with the @BindParameter annotation.
>> Here is a motivating example:
>>
>> public class MyComponent{
>> @Component(parameters =
>> "blankOption=inherit:blankOption", publishParameters="blankOption")
>> private Select select;
>> }
>>
>> public class MyMixin{
>> @BindParameter
>> private BlankOption blankOption;
>> }
>>
>> And we get:
>>
>> org.apache.tapestry5.ioc.util.UnknownValueException
>> Containing component MyComponent does not contain a formal parameter
>> matching any of (blank), blankOption.
>>
>> I'll be grateful if someone supports this and than I would be happy to
>> create a JIRA and possibly a patch for it.
>>
>> Cheers,
>> Dragan Sahpaski
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

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

Reply via email to