+ Start a Discussion
vishal@forcevishal@force 

ActionStatus on a visualforce page for a PageReference method

I have been using actionStatus on visualforce pages since a long time but never came across a scenario where the method for which I use it is a PageReference method. AJAX, as far as I understand, is for refreshing a section of a page. In Pagereference, we move to another page, so does it still support actionStatus?

 

I tried this on a simple visualforce page - onclick of a commandbutton I call a PageReference method with Status attribute and it shows me the status but does not redirect.

 

Now, if I remove the status and try clicking on it, it redirects me to the other page.

Is this the expected behaviour or am I missing something here? Please advice.

 

Thanks in advance,

Vishal

raseshtcsraseshtcs
Can you post the code here. I ll have a look too.. Your doubt seems legit to me :)