PDA

View Full Version : [CLOSED][3.x r5738] Error on rendering Ext.form.TwinTriggerField inside a toolbar



marcing
7 Dec 2009, 7:12 AM
Please unpack attached example to /examples and run:

/examples/triggerfieldbug/test.html

Error: t.getWidth is not a function

Cheers,
Marcin

Animal
7 Dec 2009, 7:39 AM
With my latest build I see

http://i131.photobucket.com/albums/p286/TimeTrialAnimal/fixed.jpg

marcing
7 Dec 2009, 7:47 AM
Hi Animal,

I'm using latest build, also tried r5690.
Browser is Firefox 3.5.
Tested on 2 computers, Windows 7 & Vista.

Please check your error messages.

I see the same as you after resizing the window (doLayout?)

Cheers,
Marcin

Jamie Avins
7 Dec 2009, 7:51 AM
Works fine here as well, are you using JSBuilder2/ (http://www.extjs.com/products/jsbuilder/)?

marcing
7 Dec 2009, 7:54 AM
Hi Jamie,

I'm using JSBuilder v.1.1.2.

Worked so far without problems.

Jamie Avins
7 Dec 2009, 7:56 AM
Can you try with JSBuilder 2.0.0.

marcing
7 Dec 2009, 8:11 AM
Funny, but with JSBuilder2 it seems to work.
No idea what's the difference.

I will do more testing and if necessary make new report.
I think we can close this one.

Thanks!
Marcin

Animal
7 Dec 2009, 8:19 AM
You cannot use the old jsbuilder with Ext 3. You must use jsbuilder2.

marcing
7 Dec 2009, 8:21 AM
Hi Animal,

I used that one up till now:
http://code.google.com/p/js-builder/

Worked fine.

Please remove .jsb files from svn is this is unsupported anymore.

Cheers,
Marcin