Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: PopUp and DataProvider Issue  (Read 3780 times)
samer_sadek
Newbie
*
Posts: 3


View Profile Email
« on: March 31, 2008, 07:04:08 »

Hello,
I am facing this strange behavior with a popup. I have an application that
pops a new window, and when the user clicks on a button in that popup, it
goes and gets some data from the database, then the mediator updates the
dataProvider of a combobox and calls the function combobox.open().  The
issue is if the user opens and closes the window 2 or 3 times, there are 2
or 3 data providers on top of each other. To see this clearly,  open a
popup, and move it somewhere, then close it, do this 2 or 3 times, every
time moving the popup window somewhere different on the screen, then press
the getdata button, you will see the strange behavior attached in the screen
shot. I am not sure if I am doing something wrong or is this a pureMVC issue
or a flex issue. I created a simple project (attached) demoing that issue.
Logged
Rhysyngsun
Courseware Beta
Sr. Member
***
Posts: 51

Nathan Levesque

 - rhysyngsun@gmail.com  - rhysyngsun
View Profile WWW Email
« Reply #1 on: April 16, 2008, 09:58:07 »

Samer,

Sorry I didn't catch your post earlier.

The first thing I noticed is that you are using an older version of PureMVC, you can download the latest version here:

http://puremvc.org/component/option,com_wrapper/Itemid,144/

You can view release notes here to see what code changes you need to make to incorporate the update:

http://trac.puremvc.org/PureMVC_AS3/wiki/ReleaseNotes

I updated your app on my copy, and I don't get the same problems, so I would suggest updating and see if that resolves the issue.
« Last Edit: April 16, 2008, 10:01:18 by Rhysyngsun » Logged

samer_sadek
Newbie
*
Posts: 3


View Profile Email
« Reply #2 on: April 25, 2008, 06:40:55 »

Thanks,
I will try that.
Logged
Pages: [1]
Print