Problems with creating component.
Hi there,
I am using SmartGWT2.4, with Chrome.
My problem is with dealing with the new component inside load_skin.js.
My new component is described as the following :
But I am unable to skin this component because it is still treated as a TabSet component inside load_skin.js.
I tried to do the following to make sure :
but it isc.XTabSet is undefined.
Deriving an available component -like I did- should create the new component with its new name in the client code.
Or do I have to declare that somewhere ?
Hi there,
I am using SmartGWT2.4, with Chrome.
My problem is with dealing with the new component inside load_skin.js.
My new component is described as the following :
Code:
public class XTabSet extends TabSet{ public XTabSet(){ scClassName ="XTabSet"; } //some extra logic }
I tried to do the following to make sure :
Code:
//load_skin.js if(isc.XTabSet){ alert("An XTabSet is here."); }
Deriving an available component -like I did- should create the new component with its new name in the client code.
Or do I have to declare that somewhere ?
Comment