PDA

View Full Version : Performance Issue. WQO agent running twice



Fredric Berling
5 Jun 2008, 6:19 AM
Hi all happy programmers. Nice to see the activity in the forums and the splendid work everyone is doing.

To my point...ehrmm...
I have noticed that the Web Query Open agents are running twice when opened from a View. I can understand why (creating iframe dom object and so on), but there must be some way to eliminate this. Somtimes i do some crazy stuff in those agent. Anyone have any ideas or alternatives?

RWaters
5 Jun 2008, 9:42 AM
I don't recall running into this issue, and it seems odd since we're really just opening up the form in an iFrame. I'll try to test and see if I can reproduce the problem.

Fredric Berling
9 Jun 2008, 6:07 AM
Create a new agent in the demodatabase and run it on WQO in the sample form.

Just make a simple Msgbox "Foo" in the agent and look for the output on the Domino console.

I now discovered it only happens in Firefox. I guess it has something todo with domhelper creating the iframe. Maybe it fires the event both on creating the iframe and then showing it?

Fredric Berling
15 Jun 2008, 10:43 PM
Is it still just me having this problem?