Hi Rick, Is there any chance you can email a bit of your source about how you trigger the Window to Open? I have tried to do it but to no avail.
Any help would be muchly appreciated Regards Mark --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" <[EMAIL PROTECTED]> wrote: > > one you create the window instance, do: > > winRef.dataModel = eInfo; > > Where dataModel is a variable name on the TitleWindow > > Dimitrios Gianninas > RIA Developer > Optimal Payments Inc. > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Root > Sent: Monday, November 06, 2006 10:33 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Launching a details window > > > > In my app, I'm looking up information on users within our database. > > the search results are loaded into a datagrid in the main application. > > When you click on one of those results, I'm using a popup title window > component to show details about that user. the init function (via the > creationcomplete event) loads all of the details about that user into an > object and populates the overview screen. > > There are also 20+ windows that will contain all kinds of detailed > information about the user - for example, addresses. > > Since I've already got the data completely loaded into an object in the > overview window... How to I reference that object in the subsequent > popup window? > > The overview window declares a private variable eInfo like this: > > private var eInfo:Object = null; > > A user can have more than one open overview window .. but the details > windows will be modal. > > I'm launching the Details window like this: > > dataWindow = PopUpManager.createPopUp(tnDetails, DataSummary, true); > > In the details window (another titlewindow component, named > DataSummary), I don't know how to properly access the eInfo object from > the calling overview window. > > How do I connect the two? > > Rick > > > > > -- > WARNING > ------- > This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. > > AVIS IMPORTANT > -------------- > Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. >