2008/5/16 Tim M <
365nice@...>:
> Hi philippe,
>
>> If you only need the dojoType you can simply make a class extentsion
>> in WATagBrush
>>
>> dojoType: aString
>> self atttrubuteAt: 'dojoType' put: aString
>> html textInput
>> html textInput
>> on: #userName of: self user;
>> dojoType: 'dijit.form.TextBox'
>
>
> Thanks for the tip - I didn't know you could do it that way. I think that
> along with Boris's pointer about overriding in a WARenderCanvas subclass
> will give me everything I need - with a plugable solution that would change
> all my code without me having to go around adding #dojoType: everywhere.
>
> I hadn't clicked on to the fact that you specify your new canvas in the
> application config screen - I keep forgetting to look there.
In one place is enough, you can add it to the root tag class
(WATagBrush) and all tags should have it.
Cheers
Philippe
_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside