How to get active component of other components component usage

Hi all,
let me try to describe you the issue.
I've got three components interacting with another. Lets call them CA, C1 and C2.
CA uses both C1 and C2, so CA has component usages CUA1 and CUA2. But C1 also uses C2 with component usage CU12.
C1 calls an interface method of component usage CU12 (of component C2).
But although I've got an active component on CA-level for CUA1 (lets call this active component ACT1), C1 does not call the interface method of ACT1. (Even events are not triggered.)
How can I assign the active component of CUA1 to C1 at runtime and how do I call its interface method from C1?
Can I search for active components within C1 by name (I've got several active components, how do I differentiate them)?
Thank you for your help.
ismail
FYI: The scenario:
CA uses C1 as a global search component.
CA has several list components C2.1, C2.2 etc.
C2.1 lists all arrival/departure flights from NY. It also offers a minor search functionality for flight regarding NY.
C2.2 lists all arrival/departure flights from LA. It also offers a minor search functionality for flight regarding LA. etc...
I want to use C1 as a global search which uses the minor searches of C2.1, C2.2 etc. The outcome of the minor searches shall be displayed in C1, but also in C2.1, C2.2 etc. when I switch to the C2.1, C2.2 etc.
Example usage 1:
1. At CA I go to C2.1 and search for all flights to NY from London.
2. Then I switch to C2.2 and search for all flights from LA to Berlin.
3. When I switch back to C2.1 the former results remain there, I can still see all flights to NY from London.
Example usage 2:
1. At CA I go to C1 and make a global search for all departures to London.
2. If I now switch to C2.2 I want to see all flights from LA to London, without a search here.
3. If I now switch to C2.1 I want to see all flights from NY to London, without a search here.

You use a desktop pane, but save a reference as a JLayeredPane. So make the reference of type JDesktopPane and check out [the documentation API|http://java.sun.com/javase/6/docs/api/javax/swing/JDesktopPane.html#getSelectedFrame()].
For the next time, bookmark [http://java.sun.com/javase/6/docs/api/] and use you browsers search function to quickly jump to the class you want. Swing component usually also have a link to the relevant tutorial.

Similar Messages

  • Urgent !please help!! how to get children component in encodeBegin()?

    hello all
    how can get children component in encodeBegin()?because when encodebegin the tree is not constituted so i can't get children component,how to solve?
    please help!

    You aren't providing enough information to know for sure what is going on, but a likely problem is that you're rendering a JSP page with a new component tree for the first time, so the components are getting built as the page executes.
    In the EA3 release, this caused a problem, because encodeBegin() was called from the doStartTag() method of the JSP tag (i.e. before the child components have been created). However, in EA4 the call to encodeBegin() was moved to doEndTag(), so the child components should now be getting created already.
    In order to debug this any further, we'll need a specific example of what you're doing, and what version of JavaServer Faces you're trying it with.
    Craig

  • How to get Application Component in RSA1

    Hi Experts,
    I am not find any Application Components (RSA1) all my Data Sources are under the tree of Unsigned Nodes.
    How to get Application Component for my application, I am developing HCM application under that E-Recruiting.
    Can anyone help me regarding this.
    Regards
    Vijay

    Hi
    Whatever you have on infosource,will have same components.
    Goto RSA1 then source systems. double click on source system then right click on ypur R/3 source system then say display datasource tree.
    Chandu.

  • How  we get the component at front or back in a Jpanel

    How we get the component at front or back in a Jpanel. I want to manage the Z-axis position of the components in the Jpanel.

    [url http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html]How to Use Layered Panes

  • How to get Active users list in Essbase 6.5.6

    Hi Gurus,
    How to get Active users list in Essbase 6.5.6 version
    I dont find any Esscmd to find active users list....
    i used LISTLOGINS command in ESSCMD but its not helping me out....
    pls suggest me some approach to find active users list.
    Thanks in advance....

    Hi  ,
    Display sessions will give only active users details which are currently connected to the ESSBASE .
    if you need this list ? or  you need the  total list of   security  active users list ?
    if you need the currently connected to the ESSBASE
    if you check  one server  At a time  or you can check the application level also
    1)server level
    display  session all;
    2)application level
    display session on application  'application name ';
    go for the  run command ---> essmsh----->  login;----->enter user name ----> enter password----->enter host (like server name )  then you need to you   above  1 &2  commands
    Thanks,
    suresh

  • F2 on Popups? (Or how to get the Component if F2 is not working)

    Hello Experts,
    I wonder if somebody has a tip how to get the component of popups?
    The F2 Help is not working there.
    The Popup I'm actually looking at is called by a button. Is it possible to find out the called component by looking at the button Event? (I have tried - but the source does not tell me any component)
    Thanks for answers...
    Regards
    Chris

    Chris,
    F2 should definitely work if it is a UI component.
    You see pop ups on button clicks and F4 value helps. F2 should work in these cases.
    For some attributes with F4 help, a DDIC search help is attached. Here F2 does not work.
    Anyhow to find out which component it is calling, you use this method
    check in the event handler(for button pop ups) or in the outbound plugs specifies in GET_V method(for F4 pop ups) if there is a code like
    CALL METHOD comp_controller->window_manager->create_popup etc.,
    A Component Usage will be passed to the method. You can check for the component usage in the Run Time Repository.
    You will get the component details.
    Regards,
    Masood Imrani S.

  • How to get rid of the "other" memory

    I need steps to find a way how to get rid of the "other" memory. Ive tried deleting my photos. But my memory is still low. My iphone 4 is a 8GB and still that isnt much, and to have this "other" memory take most of it up is making me mad. HELP PLEASE!!!!!!

    About “Other”:
    http://support.apple.com/en-us/HT202867
    Go step by step and test.
    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Backup your computer.
    3. Empty Trash.
       http://support.apple.com/kb/PH13806
    4. Disk space / Time Machine ?/ Local Snapshots
      Local backups
       http://support.apple.com/kb/ht4878
    5. Delete old iOS Devices Backup.
        iTunes > Preferences > Devices
        Highlight the old Backups , press “Delete Backup” and then “OK”.
        http://support.apple.com/kb/HT4946?viewlocale=en_US&locale=en_US
    6. Re-index Macintosh HD.
        This will take a while. Wait until it is finished.
        System Preferences > Spotlight > Privacy
        http://support.apple.com/kb/ht2409
    7.Try OmniDiskSweeper. This will give the storage size details of the items.
       https://www.omnigroup.com/more
       Select Macintosh HD and click  “Sweep Selected Drive” at the bottom.
       Be careful. Delete only the files that can be safely  deleted. If you are not sure about any file, don’t touch it.
    8. Move iTunes, iPhoto and iMovie media folders to an external drive.
        iTunes
        http://support.apple.com/en-us/HT201562
        iPhoto
        http://support.apple.com/kb/PH2506
        iMovie
        http://support.apple.com/kb/ph2289

  • How to get rid of the other from the MacBook Air Memory?

    How to get rid of the other from the MacBook Air Memory? I reviewed my newly purchased MBA ear;y 2014 i7 8GB RAM and there was 24+ GB of "Other". I have Yosemite. I have restored to factory with no luck. is there a memory cleaner or process to eliminate what is not needed in Other? I know some files there are settings, and such but not 24+ GB worth is such of stuff.

    About “Other”:
    http://support.apple.com/en-us/HT202867
    Go step by step and test.
    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Backup your computer.
    3. Empty Trash.
       http://support.apple.com/kb/PH13806
    4. Disk space / Time Machine ?/ Local Snapshots
      Local backups
       http://support.apple.com/kb/ht4878
    5. Delete old iOS Devices Backup.
        iTunes > Preferences > Devices
        Highlight the old Backups , press “Delete Backup” and then “OK”.
        http://support.apple.com/kb/HT4946?viewlocale=en_US&locale=en_US
    6. Re-index Macintosh HD.
        This will take a while. Wait until it is finished.
        System Preferences > Spotlight > Privacy
        http://support.apple.com/kb/ht2409
    7.Try OmniDiskSweeper. This will give the storage size details of the items.
       https://www.omnigroup.com/more
       Select Macintosh HD and click  “Sweep Selected Drive” at the bottom.
       Be careful. Delete only the files that can be safely  deleted. If you are not sure about any file, don’t touch it.
    8. Move iTunes, iPhoto and iMovie media folders to an external drive.
        iTunes
        http://support.apple.com/en-us/HT201562
        iPhoto
        http://support.apple.com/kb/PH2506
        iMovie
        http://support.apple.com/kb/ph2289

  • In BAM, how to get activity ID for the running instance in the orchestration.

    I am trying to add document reference URL to the active instance in the orchestration for the activity which is already started.
    Please let me know how to get such activity ID.
    Thanks
    Jagadeesh 
    Jagadeesh RS

    Are you using TPE to set up the Activity Tracking or BAM API. If you are using TPE then identify what has been set as the Activity Id in the BTT file. If the Message Id is used then use "BTS.InterchangeID" [refer
    http://msdn.microsoft.com/en-us/library/aa562116.aspx] on the received message to get the Activity Id.
    If however you've mapped the Activity Id in BTT to the InstanceId then use
    "Microsoft.XLANGs.Core.Service.RootService.InstanceId"
    to get the activity id.
    Regards.

  • How to get active tab strip name using standard function ?

    Dear all,
    I have 5 Tab strip in my view, how can i know which tab strip is active during runtime ?
    Best Regards
    Fernand

    HI
      I hope you may be looking  at this thread , hope its  a  similar requirement as yours
      How to get the selected Tab from a TabStrip.
    Thanks

  • How to get active network interface name?

    Hi All,
    Can any one tell me how to get the currently active network interface name (Local Area Connection/ Wireless Network Connection/ other) either by using java SDK or win32 API.
    Is there any function to get the active network interface name in java/win32?
    Is there any procedure for it to get from observing registry keys.
    I found NetworkInterface class in java but not yet succesful in getting the display name of active network interface.
    Can anyone help me with partial code?
    Please help me.

    Use getLocalHost() then retreive the list of NetworkInterfaces and cycle through them until you find the one that has that address.

  • How to get active monitor-Multiple monitors connected to a single machine.

    Hi,
    How to get the id of active graphic device, in case of multiple graphic devices connected to a single machine(Multi-headed display/ multi headed nodes) using Swing.
    Prashanth.

    Ah, youre actually asking different things.
    In your topic title, you say youre running separate instances
    In your body text, you say you are under different user/schema
    So tell me, do you have more than one database or not? How many entries in your TNS file?
    I would say, for "multiple database instances"
    SELECT
      a.id, b.id
    FROM
      tableA a
      INNER JOIN
      tableB@OTHER_DATABASE_LINK_NAME b  <--NOTE!
      USING(id)And of course you will have to look up CREATE PUBLIC DATABASE LINK sql..
    Message was edited by:
    charred

  • [CS3 Win]: How to get active spread and layer ?

    How to get the active spread and layer in an Indesign CS3 document?

    I found the answer (I wanted active spread and page):<br /><br />active Spread:<br />InterfacePtr<ILayoutControlData> layoutControlData(gContext->GetContextView(), UseDefaultIID());<br />UIDRef uidRefSpread = layoutControlData->GetSpreadRef();<br /><br />active page:<br />UID uidMyPage = layoutControlData->GetPage();<br />UIDRef uidRefPage(fCHMLDocRef.GetDataBase(), uidMyPage);

  • How to get the component name in webdynpro

    Hi all,
            how can i get the name of the webdynpro component. The component is being displayed in the portal. Now i need the component name for this.Can any one suggest of how to get this.
    Regards,
    Kalyan Chakravarthi.M

    Hi ,
    get the object of  IF_WD_COMPONENT , by calling the method wd_get_api( ) of wd_component attribute , then call the method GET_COMPONENT_INFO( ) ,it will return the object of IF_WD_RR_COMPONENT in that call the method GET_NAME( ) .
    Regards
    Yash

  • How to get active programs/custom ABAP developments for past 6 months?

    All,
    Is there any transaction/table/program/FM to get active programs for past 6 months?
    Intention here is to get actively used custom ABAP developments.
    Regards,
    Sree

    Hi Sree,
    I usually look up the activity in transaction ST03N (Workload analysis). In most systems the standard activity statistics are available for up to three months. You can extend the period of course, see this [thread|ST03N Data; for further details.
    Once in the transaction, switch to expert mode. Under Workload node, expand 'Total'. Double click on the desired range you want to analyze. Switch to 'User Data' tab in the right window and in the lower left pane under 'Analysis View', double click 'Transaction Profile'.
    The # of steps roughly estimates how many times a particular transaction has been executed.
    Best regards,
    Asim

Maybe you are looking for

  • Adobe Premiere Pro CC Keeps Crashing

    The following are my computer Specs for my HP with Windows 7 Home Premium I am a Creative Cloud Subscriber and at this point I am a really unhappy customer.  I've tried re-installing the software, running as administrator, and still I am have nothing

  • What is the table for partner functions in Billing document

    Hello Experts,          As per the business requirement my functional consultant included Fright agent (created as a vendor) in  billing document  partner functions, so they want to display the name fright agent on the invoice, i have checked all the

  • Ipad sudden signal drop

    Hi suddenly just this week my iPad 2 seems to struggle getting a decent wifi signal, while my MacBookPro seems fine in the same location. So for example I get the full four bars on the MBP and just the one on iPad, side by side . This has never happe

  • Three Issues

    I have three issues though not life threatening. However would appreciate if I could get some help on fixing these from our online friends: 1) At times when I make a small change in iCloud Account, I get a notification from Apple that there has been

  • Changing Link Properties

    Hello! So I am trying to build a page with a CSS template from Project VII called Mercury, and am having a little difficulty (I'm new to this whole CSS business, since I'm actually migrating from iWeb!). I have changed the text I've selected into a h