I want to know if there is a way to ovewrite silverstripe Core classes, od tell the cms to use my classes.
if i put a core template in mysite/templates/TableListField.ss the cms will use my template
I want to achieve the same with the class it self eg : "MyTableListField extends TableListField" and tell the cms to use this class MyTableListField instead. or use the same technique as the DataObjectDecorator but I can't seem to find a way.
Yeah, Object::use_custom_class only replaces objects created with Object::create. So, I guess we should be writing SS code using Object::create all the time, but no one does :/ so it is of limited use.