This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Ext JS Ext.Window autoLoad url render problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ext JS Ext.Window autoLoad url render problem" Watch "Ext JS Ext.Window autoLoad url render problem" New topic
Author

Ext JS Ext.Window autoLoad url render problem

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Hi,

I am novice in using Ext JS and facing a problem in the first example I am trying to execute from Manning's Ext JS In Action book.

Following is the codebase directory structure on my machine



and following is the code in my files mentioned about above.

firstExample.html


firstExample.js


sayHi.html



I can see a window with the given title 'My First Ext JS Window' but instead of the message there in sayHi.html 'Hello from the world of AJAX!' getting displayed a progress bar with text Loading...''is displayed.

Can anybody please point out where I am wrong and help me get out of this?

Regards,
Jignesh

The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Have you used a tool such as the Firebug or Fiddler to see the Ajax calls going out? Is the call a 404 or 500?

Eric
Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Thanks Eric for the reply.

Yes I use firebug.But there was no error reported in it when refreshing the changes.
Dew Ghosh
Greenhorn

Joined: Mar 20, 2010
Posts: 1
Hi,

Is your problem solved?
I am facing the same problem could you please tell me the solution.

Thanks in advance.
Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Hi Dew,

No. The problem still persists.Since I am not able to find any solutions I have kept this aside for the time being and moved ahead.

It would be great if anyone from the community could look into this.

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Have you asked this question on the extJS forums?

No one here really uses ExtJS.

Eric
carlos pertusi
Greenhorn

Joined: Apr 01, 2011
Posts: 1
Hi,
In order for AJAX to work, a web server is required. In order to have server-side code running, you need a web server. I've put the examples files on my www folder of apache2 server and works fine.

Best.
Elliot Fielstein
Greenhorn

Joined: Apr 05, 2011
Posts: 1
I too am an ExtJs newbie, and am having trouble with this example. When I invoke it, the new window is generated, but there is no Ajax call to retrieve text to display within the window. I've tried this on two servers, one using Apache and the other using Apache2 - same failed result. I've tried it on Firefox 3.5 and Chrome 9, and used both firebug and Google dev tools and see no errors or problems. Any assistance would be greatly appreciated!
ali kamran
Greenhorn

Joined: Apr 25, 2010
Posts: 29
carlos pertusi wrote:Hi,
In order for AJAX to work, a web server is required. In order to have server-side code running, you need a web server. I've put the examples files on my www folder of apache2 server and works fine.

Best.


Sir if you may be kind enough to share the Directory structure and how you deployed it .
For instance did you put the whole extjs folder(containing the html,js) inside the web content of the project ? or does it need to be in a paticular layout for it to work.
Thanks
Kam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ext JS Ext.Window autoLoad url render problem
 
Similar Threads
jQuery AJAX display issue
Prototype Ajax.Request error - Function Expected Options
DOJO Grid and JSON
Accordion-Default value
Struts action mappings not working correctly