Yeah, but I don't really need a new one, I just wanted to reuse the parameter
passed to the label :(

/Serge
 

Lance Java wrote:
> 
> If you read the next sentence:
> "Alternately, you may prefix the name of the parameter with the
> *unqualified
> * name of the Mixin class; this eliminates the ambiguity."
> 
> So you can use
> <t:label ... mixins="mymixin" mymixin.paramName="mixinValue" />
> 
> I haven't tried this tho :)
> 
> On 17/06/2008, SergeEby <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> I am trying to use a mixin to decorate the label component based on the
>> embedded Field component.
>> Since that field is not accessible, I thought I could use a parameter
>> (like
>> in the Label component) after reading the following:
>> "If the component and a mixin both define a parameter with the same name,
>> then the component wins: the component's parameter will be bound, and the
>> mixin's parameter will be unbound."
>> from the docs:
>> http://tapestry.apache.org/tapestry5/tapestry-core/guide/mixins.html
>>
>> How can I access the bound parameter from the mixin in that scenario?
>>
>> Thanks,
>>
>> /Serge
>> --
>> View this message in context:
>> http://www.nabble.com/-T5--Using-a-Mixin-on-a-Label-component-tp17916465p17916465.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-T5--Using-a-Mixin-on-a-Label-component-tp17916465p17935143.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to