How to access a function of PopupWindow from a Main file

Hello All,
I have a function in a PopupWindow. I want to access that function from another file. Can someone help me in this respect.
Thanks in Advance,
Nirmal Kumar Bhogadi.

Hi,
Try this,
    var popupdisplay:YourpopupName=new YourPopUpName();
popupdisplay.YourfunctionName from Popupwindow
PopUpManager.addPopUp(popupdisplay,this,true);
Thanks
Jayagopal.

Similar Messages

  • How To Access PAGE ITEM (single row) from HTML source

    Hi Guys,
    I have a page Item that return a string.
    I would like to show this string
    How To Access PAGE ITEM (single row) from HTML source?
    My desire final output is
    <marquee>:P1_PAGE_ITEM</marquee>
    Can please help me
    Thanks

    Hi,
    You can refer the page items in your page header as &itemname. For example, if I have page item P15_TEST, I will add the following in header:
    <marquee>
       &P15_TEST.
    </marquee>But make sure that you have a process before header to populate the value in your page item. Otherwise, there will be a null scrolling (which you can't see!) :)
    Regards,
    Zahid

  • How to call java function with parameter from javascript in adf mobile?

    how to call java function with parameter from javascript in adf mobile?

    The ADF Mobile Container Utilities API may be used from JavaScript or Java.
    Application Container APIs - 11g Release 2 (11.1.2.4.0)

  • How can i get the all values from the Property file to Hashtable?

    how can i get the all values from the Property file to Hashtable?
    ok,consider my property file name is pro.PROPERTIES
    and it contain
    8326=sun developer
    4306=sun java developer
    3943=java developer
    how can i get the all keys & values from the pro.PROPERTIES to hashtable
    plz help guys..............

    The Properties class is already a subclass of Hashtable. So if you have a Properties object, you already have a Hashtable. So all you need to do is the first part of that:Properties props = new Properties();
    InputStream is = new FileInputStream("tivoli.properties");
    props.load(is);

  • How to read a tab seperated data from a text file using utl_file

    Hi,
    How to read a tab seperated data from a text file using utl_file...
    I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....
    Thanks in advance...
    Naveen

    Naveen Nishad wrote:
    How to read a tab seperated data from a text file using utl_file...
    I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....If it's a text file then UTL_FILE will only allow you to read it a line at a time. It is then up to you to split that string up (search for split string on this forum for methods) into it's individual components.
    If the text file contains a standard structure on each line, i.e. it is a fixed delimited structure, then you could use external tables to read the data instead.

  • How do you call a java class from the main method in another class?

    Hi all,
    How do you call a java class from the main() method in another class? Assuming the two class are in the same package.
    Thanks
    SI
    Edited by: okun on May 16, 2010 8:40 PM
    Edited by: okun on May 16, 2010 8:41 PM
    Edited by: okun on May 16, 2010 8:47 PM

    georgemc wrote:
    To answer your impending question, either the method you're calling has to be static, or you need an instance of that other class to invoke it against. Prefer the latterAnd to your impending question after that: no, don't use the Singleton pattern.

  • TS1503 How can I delete data like movies from my main Toshiba HD in my MacMini?

    How can I delete data like movies from my main Toshiba HD in my MacMini?

    What does this have to do with the iPhone?

  • I have Iphone 4, version 4.3.3 (8J2) How can i remove the brightness toolbar from the main page, below the applications above the shorcuts?

    I have Iphone 4, version 4.3.3 (8J2) How can i remove the brightness toolbar from the main page, below the applications above the shorcuts?

    There is no brightness toolbar unless your iPhone is jailbroken.  If so, you can try to restore to remove the JB.
    The only place brightness exists is under Settings.

  • How do i remove the exif metadata from my jpg file produced with a digital camera photo?

    How do i remove the exif metadata from my jpg file produced with a digital camera photo?

    The excellent and free utility Irfanview has the option to remove the EXIF data.
    Simply open and the file and do a Save, or Save As with the original name.
    Surprisingly, the default is to not keep the original EXIF data.

  • How to access Business object type attribute from a method/function modul ?

    Hello,
    i have created a business object type object along with attributes and methods. Now inside the method i want to access the attributes. inside the method i am writing:
    data a type XXX.
    a = me->attribute
    this is creating a compilation error.
    Now the method is defined as a function module in some package, so can anyone inform me how to access object attributes from the function module ?
    pointes are awarded
    Regards

    Hello,
    thanks for your answer, but this too did not work, "=>" is for static attributes and the attributes i have are not static. Moreover, i tried it but it gave the same error :
    the abap error was when i was checking the code is :
    the type me=>documenttype is unknown
    as you know in SWO1 i created an object and when i create a method you link it to a function module and this is where you have the implementation of the method, so from this method how can i access the attributes on the main object that i created in SWO1
    regards

  • How to access component's control property from main .mxml file

    I have a main .mxml while in which i imported custom
    "popUpWindow" component using "import component.popUpWindow"
    statement. In main .mxml file I display later on that component as
    popUp window using popUp manager class. Once component is
    displayed, how can i access using actionscript component's
    TextInput control (specifically its .text property) from my main
    .mxml file?
    thanks

    I posted this answer elsewhere, maybe it will help:
    First, save the new component wherever you keep your
    components, let's say you call it "MyPopWindow.mxml"
    Assign public variables for the string in both the main app
    and the popup.
    In your case, in the main app:
    Code:
    public var myText:String = "whatever the text field should
    say.";
    and then in the pop up mxml:
    Code:
    [Bindable]
    public var myText;
    Then, in the main mxml file:
    Code:
    // define the window type
    private var popWin:MyPopWindow;
    private function popMeUp(event:MouseEvent):void{
    popWin =MyPopWindow(PopUpManager.createPopUp(this,
    MyPopWindow, true));
    popWin.myText = myText;
    The important things here to notice is the name of the
    component (i.e. the file) is used. A variable is created for the
    window, and TYPED to your file name. Then you use the constructor
    you already had, but again use your type. The "true" is optional
    and gives you a modal popup window.
    Lastly, assign the variable in the window (I called mine
    popWin) to the variable in the main file you want to pass.

  • How to access a  web service(.wsdl) from portal component.

    Hi ,
    Is there any document/tutorial available on how to access a webservice from portal component ?
    I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm...
    but the urls in the link are not working...
    i want  to know the steps to access webs service and sample code if some body has already done that..
    Thanks for the help.
    Lakshmi

    Hi Lakshmi,
    See the links below:
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/581140d72dc442e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a3/918340d990ce62e10000000a155106/content.htm
    Hope this helps.
    Regards,
    Pooja.

  • How to access Time Capsule 2013 disk from Windows 7

    I have seen several (older) threads that suggest that you can access the Time Capsule disk from Windows 7 using Windows Explorer and navigating to \\Time-Capsule-Name.  However, I have tried this repeatedly and just cannot get it to work. 
    Could this be a bug or unsupported in the latest 2013 Time Capsule?
    In Airport Utility, under Disks > File Sharing, I have Enable File Sharing checked.  The workgroup is WORKGROUP. 
    The IP address is 192.168.1.4.  I am able to ping it successfully; I just cannot access it through Windows Explorer.
    Am I missing something?  Please help!

    Are you running homegroup on the PC..??
    That should definitely be turned off!!
    Homegroup can mess things up.
    I would try with ipv6 off but that might make no difference at all.. leave it set to local-link if it doesn't do anything.
    There was issues when the Gen4 came out with security. Windows uses too high an encryption level..
    See info here.
    http://www.dummies.com/how-to/content/changing-file-encryption-settings-on-a-win dows-7-h.pageCd-storyboard,pageNum-5.html
    Change to 40 or 56 bit encyrption.
    Unfortunately some of the controls you think you are setting on the TC are not really being set at all.. eg I doubt you are actually changing the workgroup.. if possible though you should have disk access set to lowest level .. device password and you should also turn on guest account to read and write.. that usually solved access for me in earlier TC .. I haven't bought an AC for the moment.. because.. well I believe I have done my time on the war front. I bled out already on the bleeding edge.. time for you to do it and I can reap the benefits on the second hardware revision and about the 10th firmware update.
    Other things I would try if the above don't work.
    Factory reset and start over.. you moved the IP of the TC and that is unwise.
    Do not worry about the various settings.. do the factory reset.. in full isolation from the internet. ie TC plugged into the windows computer. Nothing else in either..
    Now try at the default IP of the TC..
    \\10.0.1.1
    Beyond that you need another computer to try or some device. iOS would be fine... in normal situation you would test other protocols, eg ftp but TC offers only SMB and AFP.. there are no AFP clients for windows that I have heard of.. you might have success if you boot the PC from a linux live cd.. it should be able to read AFP even if it cannot write to it. But the SMB is more important. If linux can access with SMB protocol and windows cannot.. the issue is windws OS.
    Or iOS devices have some AFP file browsers available but again just test with SMB.. most file browsers for iOS use SMB.. if other devices can manage SMB protocol to open files on the TC then the finger points very clearly to the PC as the trouble.. on the other hand if nothing can access SMB then the TC is faulty and should be replaced.

  • How to access Oracle Apps 11i forms from Virtual Machine(Vmware Player)?

    Hi,
    I have installed Oracle Apps 11i on native OS OEL5 Server and Windows XPP on Virtual Machine using Vmware Player on standalone same desktop.Now how to access Oracle Apps 11i from Virtual Machine(Windows XPP)?
    Thank's
    Regard's
    Rerry

    Hi,
    Sorry my instance is PROD instead of TEST.
    1)Renamed the sqlnet.ora and make the following change in the tnsnames.ora (SERVICE_NAME = PROD) to (SID = PROD) and tryed but same error.
    2)Only one oracle homes on the cleint machine
    3)The output of tnsping PROD
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>tnsping PROD 5
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 23-FEB-20
    10 00:38:40
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=SHUBH.hnp.com)(PORT=1521))
    TNS-12570: TNS:packet reader failure
    Normal ping is ok from both host to guest and guest to host.
    Thank's
    Regard's
    Rerry

  • How to access a Portal User Info from a J2EE application?

    Hi,
    I have deployed a j2ee application in portal and its running fine.
    from that application i need to assign some roles to some users.i have the user id.
    so my doubt is can i access the portal user info from this j2ee application?i have some servlets in the j2ee application....can i get the portal user info from this servlet?
    plz help me
    regards,
    Visweswar

    Hi,
    Please check out this to get the portal user information from Java -
    WdClientUser class/Interface to aciehve this.
    Please check out these links on the same -
    WDClientUser.getClientUser IUser
    help needed
    Regards
    Lekha

Maybe you are looking for

  • ITunes Remote app on Ad Hoc network (Windows 7)

    Is it possible to use the iTunes Remote to control a computer that is using a wireless card to create an "Ad Hoc" network.  I plan on building a computer for storing my Apple Lossless files on a Windows 7 machine and using it strictly for playback as

  • How to connect multiple nanos and minis to one computer and share content

    I have 3 iPod nano's and 1 iPod mini in my house and would like to make a central repository of music on one computer that can be shared across nanos where users can select all or some of the available tunes. How can I do this? Dell   Windows XP Pro

  • Can photoshop CC open raw files from Lightroom 5?

    Trying to open raw files from Lightroom 5 in Photoshop CC 2014, with no luck. Anyone?

  • Amazon E4200 - Works fine... When it works

    Date: June 13,2012 Rating: 1 Have had this router for several months now. I have 75Mbps internet service incoming from ISP. ISP cable modem feeds this router directly. From the router I feed a 16 Port Gigabit unmanaged switch which feeds several Ethe

  • Show Material Group Long Description in SRM Product Category ?

    Hi, We have entered Short and Long Decriptions for Material Groups in R/3 and we have run the replication too. We want to show the Long Description of the Product Category to the users on the web screens. We know there is a setting in SRM to do this