-
1. Re: Ajax tooltip causing Seam Remoting conversation timeouts
carlhecker Dec 21, 2010 12:52 PM (in response to carlhecker)
@WebRemote
@Begin(nested=true)
public String getTooltip() {}
@WebRemote
@End
public void endConvo() {}Formatting:
@WebRemote @Begin(nested=true) public String getTooltip() {} @WebRemote @End public void endConvo() {}
-
2. Re: Ajax tooltip causing Seam Remoting conversation timeouts
lvdberg Dec 22, 2010 4:04 AM (in response to carlhecker)Hi,
If possible use the rich:tooltip element which has
rich
support to render the tooltip with ajax and it has all the needed attributes to prevent concurrent calls.Leo
-
3. Re: Ajax tooltip causing Seam Remoting conversation timeouts
carlhecker Dec 22, 2010 1:34 PM (in response to carlhecker)Thanks for the reply Leo!
Unfortunately, with the AJAX implementation of rich:tooltip I am still getting concurrent calls. This occurs when a user mouses over to load the tooltip, and mid-request clicks on another component to start another request.
I really think the Remoting version I have is the way to go, if only I can bring the application conversation back into the foreground. Any other ideas?
-
4. Re: Ajax tooltip causing Seam Remoting conversation timeouts
kragoth Dec 22, 2010 8:49 PM (in response to carlhecker)Have you tried looking at the a4j:queue?
-
5. Re: Ajax tooltip causing Seam Remoting conversation timeouts
lvdberg Dec 23, 2010 2:50 AM (in response to carlhecker)Hi,
As already mentioned by Tim, to make rich components work without problems you need serialize requests. The Rich faces documentation contain all the information you need. but unfotunately the demo's on the Rich page could need an update to include better examples.
you need to configure correctly the following attributes:
- eventsQueue (define a queue with the ajax-tag and give it a name)
- ignoreDupResponse
- timeout
Furthermore you should restrict the updating of other parts of the page. This is basically done using ajax-region tag and limiting the updates with limitToList.
Leo
-
6. Re: Ajax tooltip causing Seam Remoting conversation timeouts
carlhecker Dec 28, 2010 8:25 AM (in response to carlhecker)Thanks for the help Leo, I'll continue my research.