UpdateManager

Sample

<div id="msg" style="visibility: hidden"></div>
Name: <input type="text" id="name" /><br />
<input type="button" id="okButton" value="OK" />
Ext.get('okButton').on('click', function(){
  var msg = Ext.get('msg');
  msg.load({
    url: 'http://localhost:8080/j2ee-simple-servlet/resources/helloworld',
    text: 'Updating...'
  });
  msg.show();
});

Issues

Errors

When you try to load a page with UpdateManager that doesn’t exist or returns an error, the loading indicator will show forever.

The original sample includes parameters in the call to msg.load()

msg.load({
  url: [server url], // <-- replace with your url
  params: 'name=' + Ext.get('name').dom.value,
  text: 'Updating...'
});

As we can see from this forum post if you pass params to load it does an HTTP POST; otherwise it does a GET.

I used curl to do a POST on this URL and it returned an HTTP Status 405 error…

Here are a couple of forum discussions: