|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
DWR popup issue in IEHi
Lance,
I tried
using window.opener to register dwr with parent window, but it didnt
work.
In my application
the data is pushed directly to the browser, let say if i open multiple pop-ups
and i register the DWR in each pop-up then i can only
open maximum 2-3
pop-ups after that it just hangs.
I tried registering the child
window using window.opener with parent window but the data is not pushed into
child window, looks like
it still pusing the
data into parent window. Server pushes the data based on the div id's. since the
div id is present in child window and not in the parent window
the
values are not
updated.
You said that we cannot have more than 2 connections in
IE, is it for specific version of IE or for any IE.
do you have any
workaround for my issue. Thanks for your help.
>Date: Wed, 28 Oct 2009 21:49:25
+0000 >From: Lance Java <lance.java@...> >Content-Type: multipart/alternative; boundary=00032555b366b3d549047705c49b >Subject: [dwr-user] DWR popup issue in IE > > >window.open() returns a reference to the new window which can be stored in a >list on the parent page. Why do you think this will be slow? IE only allows >a maximum of 2 connections to a server so I think this is your best solution >for having multiple windows with reverse ajax. Each window also has a >window.opener property if you want to register with the parent window this >way. > >2009/10/28 Munipati, Bala Mahesh <BalaMahesh.Munipati@...> > > I dont want to use client side script to find the child windows, bcaz > this will slow down the data update on the popup page. > > Is there any other workaround? > > ========================================================================= > > Date: Wed, 28 Oct 2009 17:54:19 +0000 > From: Lance Java <lance.java@...> > Content-Type: multipart/alternative; boundary=0015175cf8a0ef965a0477027b2b > Subject: [dwr-user] DWR popup issue in IE > You could change the model so that there is only 1 reverse ajax poll. Each > popup registers itself as a listener to the parent window (see > window.opener). The parent window receives reverse ajax messages and farms > them out to it's child windows. > > 2009/10/28 Munipati, Bala Mahesh <BalaMahesh.Munipati@...> > > > Hi, > > > > I have a main web page and when i click a link in that page it opens > > another page in popup window. I call > dwr.engine.setActiveReverseAjax(true); > > onload in the popup page. > > The issue is if i open multiple pop-up windows of same JSP page it will > > open very slowly. If dont call the dwr.engine.setActiveReverseAjax(true); > > then popup opens normally. > > > > Any idea what is the issue. > ********************* NOTICE OF CONFIDENTIALITY This communication including any information transmitted with it is intended only for the use of the addressees and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you receive this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium. If the above disclaimer is not properly readable, it can be found at www.td.com/legal AVERTISSEMENT DE CONFIDENTIALITE Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement aux destinataires susmentionnés, est confidentiel. Si vous n'êtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution, ou autre utilisation d'une partie de ce courriel est strictement interdit de même que toute intervention ou abstraction à cet égard. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement l'expéditeur par retour de courriel ou par un autre moyen et supprimer immédiatement cette communication entière de tout système électronique. Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous pouvez le consulter à www.td.com/francais/legale |
|
|
Re: DWR popup issue in IETake a look at the example html file that I have attached... you can borrow some of this logic. Each window registers itself with the top level window when it is opened. The top level window is mocking a reverse ajax function call every 2 seconds and calls a function on all of it's child windows (or listeners).
I'm not sure of what versions of IE have what number of connections but I can say that having multiple open windows, each with their own reverse ajax poll is going to drain resources and require lots of (potentially unnecessary) requests / network traffic.
Cheers,
Lance.
2009/11/6 Munipati, Bala Mahesh <BalaMahesh.Munipati@...>
another window --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |