Dietrich Streifert schrieb:
> Well after digging around in Class.js if found that there is a method 
> named patch. So instead doing:
> 
> qx.Class.include(qx.ui.form.TextField,qx.visionet.ui.form.MTextField);
> 
> I have to do
> 
> qx.Class.patch(qx.ui.form.TextField,qx.visionet.ui.form.MTextField);

Please be careful when using patch. You can break the default behavior 
using this method. "include" will protect you regarding these 
modifications. If you have only small things which needs to be patched, 
think about splitting your Mixins to only use "patch" for the really 
wanted things.

Sebastian



> 
> 
> Dietrich Streifert schrieb:
>> Hello List,
>>
>> I tried to refine a property within a mixin. This failed with the error 
>> message:
>>
>> Class qx.ui.form.TextField already has a property: backgroundColor!
>> http://nra/qooxdoo.dev/frontend/framework/source/class/qx/Class.js
>> Line 1177
>>
>> Why is this not allowed?
>>
>>
>>   
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to