View Full Version : Extjs window body content

2 Jul 2009, 3:14 AM
I need to get the content of body of a window.I tried the following:

But this is giving a blank value only. Can anyone please let me know how to get the body content of a window?

2 Jul 2009, 3:15 AM

2 Jul 2009, 4:55 AM
Just an FYI

That URL opens a new tab in my browser and just shows loading image forever.

I'm using FF 3.5 under Ubuntu.

2 Jul 2009, 4:59 AM
works for me without problem.

2 Jul 2009, 5:07 AM
See attached.

2 Jul 2009, 5:08 AM
Clear your browser cache. That's the latest Ext API docs!

2 Jul 2009, 5:11 AM
Cleared cache, same errors.

Loading the docs from my WWW server, it works.

2 Jul 2009, 5:14 AM
I shrunk my browser and took a new snapshot. Hopefully you can read the text.

2 Jul 2009, 5:18 AM
There is nothing wrong with the page. It works.

You will have to debug using Firebug.

It looks like your proxy server might have interfered with some of the requests.

You will have to examine the NET tab, and peek into the responses.

2 Jul 2009, 5:23 AM
There's no proxy server here.

2 Jul 2009, 5:26 AM
And now it's working, probably because I restarted my browser.

If clearing the browser cache is going to cause problems, a simple fix is to modify the script tags so they look something like:

<script src="ext/ext-all.js?version=3.0-rc3-svn-version#"></script>

(where svn-version# is the actual svn rev)

2 Jul 2009, 5:31 AM
Do I remeber seeing sometime an article which says that when <scripts> are in the <head> each one is fully evaluated before the next one is loaded and evaluated, but when in the <body> they are loadedand evaluated all at once (or as far as is possible given concurrent connection limits)

Could be that the Ext.extend is trying to extend ComboBox to create the SelectBox before ext-all-debug.js has fully evaluated.

2 Jul 2009, 9:07 PM
I am using EXTJS 2.2 and please let me know how to get the body content of window in the same.

2 Jul 2009, 9:12 PM
Looking at the API docs, what is the body element of a Window?