passing variables between the pop-up windows

I'm moving one popup to the other variables. It works fien if I spend bvariable of main application as soon as I'm moving from variable popup to popup window it does not work here is what I am trying ro:

That works fine

hand. MXML

private function launchMoreInfo (): void {}
var win: view = PopUpManager.createPopUp (this, opinion, true) as point of view;
//

victory. AccountNum = list1.selectedItem.accountNum;
Win.User = user;

}

But if I try to pass variables to the pop-up window, created from popup component, is not ' work

View.MXML

private function dsclientevents (): void {}
var win2:view = PopUpManager.createPopUp (Thi, dsclienteventlog, true) like point of view;
//

win2. AccountNum = 'test ';

}

AccountNum is declared in dsclienteventlog.mxml

Is it possible to pass variables between the pop-up windows?

I would much apreciate your help

Thank you

Hi friend!

I have faced this kind of problem and solved using 'Public static var '.

Just, you declare a public static variable in your class Popup. Then you can directly set the value to this variable as,

ClassName.StaticVariableName = value;

In your case,.

say PopUp2.mxml or PopUp2.as

=======

In the PopUp1 script:

OnItemSelectionChange (event): void

{

PopUp2.m_iSelectedID = DatagridID.selectedItem.AccountID; It will change the value of this variable, even if the popup2 is open.

your stuff here...

}

Try this, I hope this will help you.

Thank you

Merlina.

Tags: Flex

Similar Questions

  • OOP - how to pass variables between the branches of the object, but not instances of VI

    I have a main VI where a thread object goes through some subVIs initialization and then branches off into several parallel loops. My understanding is that each branch becomes a separate instance of the object. Data is passed between the loops using global variables, wrapped in the accessors (I can change this if someone has a better approach - reducing to a minimum the memory and the CPU usage is very important).

    I need to have a large number of instances of the main VI running at the same time. What would be the best way to ensure that the data transmitted between the loops of one instance of VI do not interfere with the data transmitted between the loops of another instance of VI?

    Thank you for your understanding.

    Ah, you're right. Stupid mistake on my part. It's all working now. The corrected code is attached.

  • pass parameters to the pop-up window using skillbuilder

    All,

    I have a request of dynamic content on page 1 and for some lines ive the pop-up link another page and pass the EMPID clicked on page popupped. Ive created the link and its popping up the second page correctly, but how I have the pass of the EMPID per second / page popup?
    part of query in page1 like this,
    htp.p('<td><a href="#" class="show-summary" onclick="return false;">'||cursor-id.EMPID||'< . . . . . 
    Thank you.

    Gor_Mahia wrote:
    Jorge,

    IAM but perhaps not very clear what you did ive tried it before, but it losses the modal pop-up window and navigate to this page, I really try to have my modal popup window. Look at my request below,

    You just described a completely different problem from that of passing parameters modal page.
    Just add a more real Action "Cancel the event" after the action of modal Page.
    What that will do is replace the click of the anchor who want to access the link HREF.

    Thank you
    -Jorge

  • How can I pass variables between the areas?

    So I have a SWF8 file as a player on one area (unsecured).  It loads and plays a SWF8 from another domain (secure).  So far so good.  Problem is, I need the player to send variables to files it's play that links in this SWF will be, in addition, a link.  I also need the player to receive orders from control of film in return.  There must be a rule or two that I am violating, because even if the file is read, everything depends on a variable is just dead.

    A note: the two files started as SWF6.  I understand that I can only make what I'm trying with SWF8, I went into the code and fixed case sensitive issues and made the conversion.

    Can I do this?  If so, how?  Is the script for the variables from another domain different somehow?

    Thanks in advance.

    You can use localconnection() for communication between the two.

    If sovereign wealth funds need to both send and receive data, using 2 instances of localconnection in each swf file.

  • maybe simple question of string of the variable in the pop up window

    Hello

    I write a name who helped me in the previous question, but now the list is great and sorry, no nicks personal

    Hi all

    We have a chain

    scany_col value {{15677, 5654, 7453}, {37008, 19532 17733}, {32896, 15163 14906}, {15934, 6939, 9509}, {16705, 6682, 9252}, {38293, 39064, 40092}, {19532, 6939, 8224}, {65535, 65535 65535}, {17219, 6425, 8738}, {24158, 9509, 11051}, {14392, 5911, 8481}, {22873, 16448, 16191}, {30840, 14649, 14649}, {29041, 16191, 15934}, {12593, 5397, 8224}}

    -(this is a RGB pixels)

    Choose from the list of the scany_col with the title "what color to the first position.

    the value of result listreturn

    listreturn

    ... one one-and this script returns an error "blah - blah with chain of cant.

    Tell me please, what is the problem?

    The sublists themselves aren't of strings and numbers.

    If you wish to choose from the sublists, replace the choice of the list command with:

    Choose from list (point 1 of scany_col) with the title "what color to the first position.

    If you want to choose a specific sub-list on all of them:

    scany_col value {{15677, 5654, 7453}, {37008, 19532 17733}, {32896, 15163 14906}, {15934, 6939, 9509}, {16705, 6682, 9252}, {38293, 39064, 40092}, {19532, 6939, 8224}, {65535, 65535 65535}, {17219, 6425, 8738}, {24158, 9509, 11051}, {14392, 5911, 8481}, {22873, 16448, 16191}, {30840, 14649, 14649}, {29041, 16191, 15934}, {12593, 5397, 8224}}

    Set scany_strings to {}

    Repeat with this_item in scany_col

    the value scany_strings scany_strings & ((article 1 de la this_item as string) & "," & (article 2 of the this_item as string) & "," & (point 3 of this_item as string))

    end repeat

    Choose from the list of scany_strings with the title "what color to the first position.

    listreturn Set result

    listreturn

    (143331)

  • pass values to the pop-up window

    jdev: 11.1.1.7

    Make me NoSuchMethodException if excute the code below

    Root cause]] of ServletException.

    java.lang.NoSuchMethodException: oracle.adf.view.rich.component.rich.nav.RichCommandLink.addPopupFetchListener (oracle.adf.view.rich.event.PopupFetchListener)

    at java.lang.Class.getMethod(Class.java:1605)

    at oracle.adfinternal.view.faces.taglib.listener.SetPropertyListenerTag.doStartTag(SetPropertyListenerTag.java:194)

    at jsp_servlet.__test_jspx._jspx___tag10(__test_jspx.java:575)

    ......

    .....

    Caused by: java.lang.NoSuchMethodException: oracle.adf.view.rich.component.rich.nav.RichCommandLink.addPopupFetchListener (oracle.adf.view.rich.event.PopupFetchListener)

    at java.lang.Class.getMethod(Class.java:1605)

    at oracle.adfinternal.view.faces.taglib.listener.SetPropertyListenerTag.doStartTag(SetPropertyListenerTag.java:194)

    at jsp_servlet.__test_jspx._jspx___tag10(__test_jspx.java:575)

    at jsp_servlet.__test_jspx._jspx___tag8(__test_jspx.java:501)

    at jsp_servlet.__test_jspx._jspx___tag7(__test_jspx.java:447)

    at jsp_servlet.__test_jspx._jspx___tag4(__test_jspx.java:306)

    at jsp_servlet.__test_jspx._jspx___tag3(__test_jspx.java:241)

    at jsp_servlet.__test_jspx._jspx___tag1(__test_jspx.java:157)

    at jsp_servlet.__test_jspx._jspx___tag0(__test_jspx.java:104)

    at jsp_servlet.__test_jspx._jspService(__test_jspx.java:65)

    CODE:

    < af:table id = "t1" var = 'node'... varStatus 'vs' = >

    < af:column id = "c1" >

    < af:commandLink text = ' #{node. " ContactPhone}"id ="ot1">

    "< af:clientAttribute name ="title"value ="#{node. ContactPhone}"/ >".

    "" < af:showPopupBehavior popupId = ": bigImage" triggerType = 'action' / >

    < / af:commandLink >

    < / af:column >

    < / af:table >

    < af:popup id = "bigImage" contentDelivery = "lazyUncached" launcherVar = "source" = "pitcher" eventContext >

    < af:panelWindow id = 'pw1' >

    < af:panelGroupLayout id = "pglay" layout = "vertical" >

    < af:outputText clientComponent = "true" value = "#{viewScope. . "{ContactPhone}" inlineStyle = "' make-size: 14px;" id = "ot1" / > "

    < / af:panelGroupLayout >

    < af:setPropertyListener from = "#{source.attributes. " "{ContactPhone}" to = "#{viewScope. " "{ContactPhone}" type = "popupFetch" / >

    < / af:panelWindow >

    < / af:popup >

    Yes, but this isn't the answer to my question.

    Move


    AF: panelGroupLauoyt

    and put the same thing to be a direct child of af: popup:


      


    and see what happens...

  • How to share a variable between the Mathscript Windows and a Mathscript node

    Hello

    I'm trying to share (just) a variable between the Mathscript Windows and a Mathscript node. I don't know why, but the use of the "global" Matlab function makes the mathscript node output formats change.

    I'm looking for a "Mathscript RT V9.0.1 module" as it may seem, there is. French technical support have some difficulty to find...

    Hi patrick33,.

    The code that you have attached should not report an error, so it seems that something has gone wrong with your installation of MathScript. My best guess is that it is the problem that is described in this knowledge base article. Your signature says that you use f3 patch, which is a good start. But the KB lists some other steps to take when you see errors about MathScript, impossible to compile. Can you try the procedure described in the article and let us know if that fixes the problem?

    Thank you

    jattas

    LabVIEW MathScript R & D

  • pass the query id in the pop up window

    Hello

    I want to be able to pass the query id in the pop up window but do not know how to do it, would you please help me with this? -Thank you

    the code below (A) works very well with open the pop-up page detail but din't know how there an id in the details of the page.

    <!--A-->

    < script >

    function openWin()

    {

    Window.Open ("detail.cfm,", "_blank", "toolbar = yes, scrollbars = yes, resizable = yes, high = 500, left = 500, width = 400, height = 400");

    }

    < /script >

    < cfset foo = querynew ("id_int, aNo_var, Renew, Cancel') >

    < cfloop query = "getOrderHist" >

    < cfset queryaddrow (foo) >

    < cfset querysetcell (foo, 'id_int', getOrderHist.id_int) >

    < cfset querysetcell (foo, 'aNo_var', getOrderHist.aNo_var) >

    < cfset querysetcell (foo, 'Renew',' < a href = "javascript: void (0);" onclick = "openWin ()" > view < /a > ') >

    < / cfloop >

    <! - B - >

    I try to call the page directly such as below but got an error of "invalid character".

    < cfset foo = querynew ("id_int, aNo_var, Renew, Cancel') >

    < cfloop query = "getOrderHist" >

    < cfset queryaddrow (foo) >

    < cfset querysetcell (foo, 'id_int', getOrderHist.id_int) >

    < cfset querysetcell (foo, 'aNo_var', getOrderHist.aNo_var) >

    < cfset querysetcell (foo, 'Renew',' < a href = "javascript: void (0);" onclick = "window.open("detail.cfm?id=#id#","_blank"); > < /a > to renew '") >

    < / cfloop >

    you have a 'openWin' function, but then you try to add inline JS to do the same thing.  I suppose you're eventually loop over your query "foo" output these links to renew.  In this case, I just want to pass a URL or just the ID into the openWin function.  Much simpler than to try to add dynamic JS in a cell of the query.

    I am a bit confused why you are creating a new query, foo, if you already have the query getOrderHist that seems to have everything you need.

    function openWin (id) {}

    Window.Open ("detail.cfm? id =" + id, "_blank", "toolbar = yes, scrollbars = yes, resizable = yes, high = 500, left = 500, width = 400, height = 400");

    }

    ID: #getOrderHist.id_int #.

    aNo: #getOrderHist.aNo_var #.

    Renew

  • Passing variables between LabVIEW and TestStand

    Hello

    I'm just learning how to use TestStand and although there are a multitude of resources available, I always find me at a loss on how to pass variables between TS and LV, leaving me to think that there is one fundamental thing that I'm missing which is likely, given that I have a weeks experience with LabVIEW and a days of experience with TestStand.

    I took a glance to the example of 'Clusters' to the Code Modules in TestStand examples (I use TS 2016 if it matters) because I thought it would be quite ideal for what I hope. In this case, I hope to be able to pass a string (a file path) to LabVIEW and VI power take this string and use it as part of an order for the Exec.VI system.  Then, I would be able to pass strings back to TestStand to show the user if an error occurred, but I thought I should get the first part of work.

    I guess my question is what do I have to wait to see in clusters to the example of the Modules of Code? The Watch window displays all defined variables premise on which has the ContainerOut in the Variables pane, but I don't see any kind of update on facades (VI1.vi and VI2.vi) LabVIEW code. Should I be?

    I looked at a few other discussions of the forum here and here, as well as the document of the basis of knowledge here, but could not recreate their solutions. It seems that the connector pane would be a viable way to go, but I'm not sure on how we create and use effectively. According to this document , it makes it seem like it should be simple enough to makes these terminals, but I am still missing a key step. I was able to follow all the steps on the knowledge base document and run the sequence, but then had no idea if it worked or not; I have the report show me the values of the variables I put, but I have no idea whether or not he actually did anything with the LabVIEW VI, or how I could see that.

    Please let me know if you need further information or clarifaction everything I ask.

    Thank you for your time,
    JColvin

    Digilent, a company of National Instruments

    If you want to enter values, you must create a vi for instance dialog box

    The OK button will allow new values to pass to the output terminals.

    A Cancel button will pass just the original through the output values without alteration. The VI will close when either the OK button or cancel were pressed.

    Concerning

    Ray

  • pass variables between form

    Hello

    I use oracle forms 6i.
    How can I pass variables between Forms?
    Consider the scénarion of a login form.
    Once a user logged in successfully, a new form is displayed, where his name is to be displayed
    like '< user > welcome. '
    If name must be past form at the home page login form.

    Is this possible with Oracle?

    Adkins

    Adkins,

    For Global Variables just assign a value to that, and it's initialization. Or you can use

    DEFAULT_VALUE(NULL, 'GLOBAL.');
    

    Make sure that you assign the appropriate value to the global variable before opening the new form.

    And for the parameter, try.

    DECLARE
         Pl_Id PARAMLIST;
    BEGIN
         Pl_Id := GET_PARAMETER_LIST('tempdata');
         IF NOT ID_NULL(Pl_Id) THEN
              DESTROY_PARAMETER_LIST(Pl_Id);
         END IF;
          Pl_Id := CREATE_PARAMETER_LIST('tempdata');
          ADD_PARAMETER(Pl_Id, '', TEXT_PARAMETER, '');
          Open_form('', ACTIVATE, SESSION, Pl_Id);
    END;
    

    Kind regards

    Manu.

    If my answer or the answer to another person has been useful or appropriate, please mark accordingly

    Published by: Manu. April 14, 2010 09:16

  • Passing variables between Forms

    Hi, I am currently working on a rock, paper, scissors project in my class oracle. I was wondering if an oracle form to pass variables between them. I created a login form, and I would once a user logs on to change his user name to one opponent text fields username in the form of game. Is it possible and in this case you may be able to show me an example of passing variables between Forms? Thank you

    You can use the Globals for this purpose. I mean in your login form when your will enter its correct information then and it press OK to the newspaper by so you can for example store their username in the GLOBAL variable

    :GLOBAL.USERNAME:=:FORM.FIELD_NAME;
    

    This global variable, you can access a form any of the current session.

    -Clément

  • How to activate the pop-up windows?

    I can't fill a demand for services with ASCAP because I've not enabled popups. So, how to activate the pop-up windows?

    You can uncheck the block pop-up windows under the Orange Firefox button > Options > Options > content tab.

    See more details here

  • The Web site address does not appear on the pop-up window

    Hello

    I am running Firefox 19.0.2 on a Win 7 64 bit PC version and have noticed that on the pop-up windows, when the address bar is present, I get the message "go to a Web Site" on it rather than the address of the Web site. If I click with the right button on the icon of the little world on the address bar and choose Customize and then close this window without making any changes, the address of the site is full. Does anyone know how to get the address of the site to automatically display on the popup? My PC Win XP Pro is not this problem and popups always display the address of the Web site without having to do anything.

    Thank you

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the start safe mode window or make changes.
  • I get the pop-up windows and windows that automatically open on my browser, how can I solve this

    I get the pop-up windows and windows that automatically open on my browser, how can I solve this

    Do a scan for adware with Malwarebytes: http://malwarebytes.org/antimalware/mac.

    (copy and paste the link above into the address bar of your browser).

  • I have firefox clear history when it closes and it clears my exceptions to pop up windows whenever it closes. How firefox can erase history without deleting the exceptions to the pop-up windows?

    I have firefox clear history when it closes and it clears my exceptions to pop up every time it closes. How firefox can erase history without deleting the exceptions to the pop-up windows? Allow this makes it difficult to play of Facebook games like farmville, because I have to allow him every time, and I have to type in rather than it to automatically. Thank you, Jamie

    Do not remove the navigation, search and download history on Firefox to clear the "Site preferences".

    Compensation of the "Site Preferences" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

Maybe you are looking for