PDA

View Full Version : No access to Fieldset public methods (it's not loaded in the object)



samax
15 Jun 2009, 1:05 AM
Hello,
I've a big problem with the fieldset object: when I create a new instance of it, I haven't access to its public methods. When I do a console.log on it (to view its content in firebug), its methods are not present (I can see only its properties): they are not loaded in it.
I tried to access it after the render of the FormPanel which contains it, just in case, but the problem persists.

Does someone have an idea of how to solve this?

Thanks.

Animal
15 Jun 2009, 1:36 AM
You haven't created an instance then.

samax
15 Jun 2009, 1:47 AM
Thank you for your answer, but when I do this:


new Ext.form.Fieldset({
xtype: 'fieldset',
...
});


I have the following error: "Ext.form.Fieldset is not a constructor".

evant
15 Jun 2009, 1:48 AM
http://extjs.com/deploy/ext-3.0-rc2/docs/?class=Ext.form.FieldSet

Look at the classname carefully ;)

samax
15 Jun 2009, 1:56 AM
Thank you! I'm not enough awaken I think ;)