You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andrew Dahl <an...@venses.us> on 2012/03/01 01:57:24 UTC

Re: First mixin attempt question

Thanks! Tiny things like that can really hold up us noobs. I could not 
find anything in jumpstart that actually showed using a custom mixin, 
just how to build one.

Andy\rew

On 2/29/2012 3:08 PM, Christian Riedel wrote:
> Hi Andrew,
>
> try mixins="venses/EventBind"
> you need to specify the namespace if the mixin is coming from another library
>
> Cheers
> Christian
>
>
> Am 29.02.2012 um 09:48 schrieb Andrew Dahl:
>
>> I am getting an error for which I can't find any documentation.
>>
>> Exception assembling root component of page venses/ComponentTest: Mixin id for parameter 'eventbind.event' not found. Attached mixins: DiscardBody, RenderDisabled, Selector.
>>
>>
>> <t:textfield
>> 17 	value="literal:test field"
>> 18 	mixins="eventbind"
>> 19 	eventbind.event="click"
>> 20 	eventbind.eventType="click"
>> 21 	eventbind.callback="function (event,ui,url){alert('This is the call back function');}">
>> 22 	
>> 23 	</t:textfield>
>>
>>
>> On server startup I get
>>
>> [INFO] TapestryModule.ComponentClassResolver Available mixins (26):
>>           .....
>>        venses/EventBind: us.venses.common.mixins.EventBind
>>
>> so I think the mixin ix available.
>>
>> I have tried numerous variations but I get this same message every time with one exception
>>
>> I get mixin not found when I try
>> <t:textfield
>>        value="literal:test field"
>>        t:mixins="eventbind"
>>        eventbind.event="click"
>>        eventbind.eventType="click"
>>        eventbind.callback="function (event,ui,url){alert('This is the call back function');}">
>>
>> -- 
>> Andrew Dahl
>> Venses Software Foundation
>> 614.325.4523
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
> .
>


-- 
Andrew Dahl
Venses Software Foundation
614.325.4523


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