Java Mailing List Archive

http://www.junlu.com/

Home » users.myfaces »

no parallel ajax requests anymore with JSF 2.1?

Michael Heinen

2012-03-29

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi all,

I'm still converting my application (mayfaces, tomahawk and richfaces)
from JSF 1.2 to 2.1.

Now I noticed that parallel ajax requests are not working at all!
E.g. a long running request which calculates something and parallel poll
requests to fetch status or partial results until the first request is
finished.

I stumbled over Werner's Blog (at
http://werpublogs.blogspot.de/2011/07/apache-myfaces-jsfjs-queue-control.html)
which contains following statement:
"The official spec enforces following behavior: if you submit an Ajax
post it is either sent directly if no other submit is running or
enqueued until the running ajax submit has terminated and then the
submit is issued."

Question:
Are there any workarounds to allow parallel requests?
Or do I have to start new threads manually in my backing beans, which I
really do not like?

Is there something like a migration guide available?
I read many documents and ppts about JSF 2 but never read anything about
this new queing so far.

Michael

©2008 junlu.com - Jax Systems, LLC, U.S.A.