• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ext JS Ext.Window autoLoad url render problem

 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Eric for the reply.

Yes I use firebug.But there was no error reported in it when refreshing the changes.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you asked this question on the extJS forums?

No one here really uses ExtJS.

Eric
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
She'll be back. I'm just gonna wait here. With this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic