I'm not really a fan of synchronous ajax requests, however I think the approach that
you've taken is fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103539#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...