Fire an event from a DC to another DC

Hi all,
I have the following problem:
I have 3 different DC included in a Web Dynpro page. The DC 1 has a table with some PERS_CODE and on selection of one row of this table the DC 2 refresh its content with data of the new selection of PERS_CODE.
Now I must implement the DC 3 with the same logic of DC 1 and DC 2, but unfortunately I can't see source code of DC 1.
I've only seen into source code of DC 2 in which there is a public part imported (I think from DC 1) with the option "manual" (not createOnDemand).
I think I can import into DC 3 the same public part to read PERS_CODE but how can I raise the event from DC 2 to DC 3 in order to refresh DC3's content?

Hi,
I have 2 main DCs bound. Now from DC2 I have to read the Context of DC1 (which is bounded to another application).
To bind your context from DC1 to DC2
Copy the context that you want to expose from the component controller to interface controller of DC1.
Once this is done you will be able to see the context in DC2.
Based on your requirement you can set the Input type property of the context node.
Regards
Ayyapparaj

Similar Messages

  • Fire event from one class to another.

    I have a Login JFrame class that allows users to enter username and password. I then have another JFrame class which will monitor when someone logs in. I am trying to get the username and password to appear on the monitor login frame text area when the user presses enter on the login frame.
    I can get it ot work by passing the Monitor class into the Login classes constructor but I want to be able to open the classes separately.When I try to open separatley at present I get java.lang.NullPointerException
         at project.LoginGUI.actionPerformed(LoginGUI.java:70) which is referring to the following code:      
    if(listen.equals("OK")){
         GymMonitor.username.setText(username.getText());     
    Both classes are in the same package. What I want to know is how to fire an event from one class to another? when the class you are firing to is constructed separately.
    I hope this question is not too verbose.
    Thanks

    Generally for something like this you would use a listener.
    Your login window is its own entity--it has a user interface, and it gets some information which someone else could ask it for. It could even generate its own events, such as when the user presses "OK". You would first define an interface for anyone who wants to know when someone logs in:
    public interface ILoginListener extends java.util.EventListener
      public void login(LoginEvent event);
    }You would then define the LoginEvent class to contain information like what the user entered for username and password. You could give your login dialog a couple of methods:
      private Vector myListeners = new Vector();
      public void addLoginListener(ILoginListener listener) {
        myListeners.add(listener);
      public void removeLoginListener(ILoginListener listener) {
        myListeners.remove(listener);
      protected void fireLogin(LoginEvent event) {
        for (Iterator it = myListeners.iterator(); it.hasNext(); ) {
          ILoginListener listener = (ILoginListener)it.next();
          listener.login(event);
      }You'd have your login dialog call fireLogin every time the user logged in.
    Then, you could implement ILoginListener in your monitor window:
      public void login(LoginEvent event) {
        // now do something with the event you just got.
      }All the code I put in here is really generic stuff. You'll write this kind of stuff hundreds of times probably during your career. I haven't tested it though.
    Hope this helps. :)

  • Can you send custom events from one form to another?

    I have a compli
    cated application, where I about hundred inp
    uts organized in several input forms. Some of the forms
    require data which has been input in other forms. I have tried to
    dispatch custom events from one form to another, but it dispatches the
    whole form and I only need one or two items.
    Ha anybody else come across such a problem?
    Svend

    One way is to share data in a static singleton

  • Can you move events from one drive to another easily?

    I've just bought an external firewire drive to dedicate to my Sony HD camcorder material.
    I've only imported 30 mins or so of stuff onto the Mac's internal drive with iMovie '08, and would like to know if anyone's managed to easily copy 'events' from one drive to another to merge/split content.
    Is it just a case of copying event folders from the iMovie Events folder to the external drive, but if so do you have to specify a particular path?
    Similarly, can you just move the individual 'Projects' or archive to DVD etc as they will invariably take up lots of space for longer footage? Does the projects file just hold references to the assembled clips, in which case moving events would scupper things as I seem to have several movie files in there already though these may just be things I uploaded to .Mac to test out.
    This may all be a bit of trial and error. Hopefully clips are only references unlike the pretty huge but self-contained iMovie 6 HD project packages. This also raises issues about how to easily backup all your 'events'.
    AC

    Observation:
    Just imported 15mins of video from the Sony.
    When you click import you are asked which drive to save to.
    As well as the Mac's internal drive, all my attached USB drives which are formatted as Mac OS Extended (journaled) appear as targets to save to as well as teh Firewire drive.
    I selected the Firewire drive and don't recall an option to create a sub-folder. After import a new top level folder of iMovie Events was created, but no others.
    Presumably iMovie Projects/Shared folders only exist on the boot drive.
    I'm assuming that this structure will allow you to share movie Events between Macs using external drives.
    Again, an assumption but I suspect iMovie scans all available suitable hard drives and checks what content is available in top level iMovie Events folders for non-boot drives as well as this folder in the user's Movies folder.
    Rambling observations over for now.
    AC

  • I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?

    I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?  Any help will be appreciated.  Thank you.

    This should give you some good insight, I'd probably store them on an External HD on the old machine and then just drag and drop to the new machine.
    https://discussions.apple.com/docs/DOC-4141

  • IMovie 10 - how do I move an event from one library to another?

    Greetings,
    I have updated all of my projects and events from iMovie 9 to iMovie 10.0.1. They now all sit in different libraries on different external HDDs.
    How do I move an event from one library to another library in iMovie 10? How do I copy an event from one library to another library in iMovie 10?
    Thanks,
    John

    Simply drag and drop from one library to another.  See:  http://help.apple.com/imovie/mac/10.0/#mov3fa25bae7
    Geoff.

  • Moving events from one calendar to another

    Is it possible to move events from one calendar to another?
    Here is our scenario:
    User abc123 has set up a calendar abc123:boardroom for other users to book slots in the board room (he didn't know about resource calendars at the time and so didn't request one be created).
    Now abc123 is leaving the company, so his calendars are going to disappear, along with all the bookings for the board room.
    So my question is, can these events (and tasks) be moved to another calendar?
    I've tried creating a resource calendar and exporting/importing the calendar data, but this appears to leave the organizer of each event set as abc123:boardroom, with the result that the owner of the new resource calendar cannot modify the imported events.
    Maybe I'm missing something blindingly obvious here, but there doesn't seem to be any way to actually move events from one calendar to another. Does anyone have any advice as to how I might achieve this?
    Many thanks in advance.
    Regards,
    Mike.

    here is one way:
    Click on a meeting to get a Compose window. In the upper right Calendar box, click on the dropdown icon and select the calendar you want to move to from the list. Click on OK to save.
    Of course, if you have a lot of meetings to move, this will be a pain, but it does work.
    Note: before you do this, make sure you are an "owner" of the calendars(s) you want to move meetings to (or otherwise have access), and are subscribed to those calendars.

  • ICal move events from one calendar to another with AppleScript

    I made an AppleScript to clean up my calendars and thought I would share. My iMac had a calendar called "Home" and my iPhone had a default calendar "Calendar" so I ended up with all of my events spread across two calendars. Decide to clean up and move everything to one calendar.
    This script is admittedly not very efficient. The nested repeat loops means it takes a while to run. Feel free to take this as a start point. I have it checking each property for missing value before adding it to avoid errors. I could have added a line to delete the old event after creating the copy, but I was just deleting the whole old calendar after the script ran.
    I hope this is helpful to someone. Oh, this was created under Snow Leopard so if you are in Lion you might need to tweak things. I don't know how much the scripting library has changed.
    tell application "iCal"
              set thisCalOld to calendar "OldCalendarName"
              set thisCalNew to calendar "NewCalendarToMoveEventsTo"
              set cntrMatch to 0
              set cntrCopied to 0
              repeat with thisEventOld in events of thisCalOld
                        repeat with thisEventNew in events of thisCalNew
                                  set isOKtoProceedWithCopy to true
                                  if (start date of thisEventNew = start date of thisEventOld) and (summary of thisEventNew = summary of thisEventOld) then
                  --Don't copy
                                            set cntrMatch to cntrMatch + 1
                                            set isOKtoProceedWithCopy to false
                                            exit repeat
                                  end if
                        end repeat
                        if isOKtoProceedWithCopy then
                                  set theStamp to stamp date of thisEventOld
                                  set theAllDay to allday event of thisEventOld
                                  set theURL to url of thisEventOld
                                  set theRecur to recurrence of thisEventOld
                                  set theEndDt to end date of thisEventOld
                                  set theClass to class of thisEventOld
                                  set theStartDt to start date of thisEventOld
                                  set theDesc to description of thisEventOld
                                  set theSummary to summary of thisEventOld
                                  set theLoc to location of thisEventOld
                                  set theExcludeDt to excluded dates of thisEventOld
                                  set theSeq to sequence of thisEventOld
                                  set theStatus to status of thisEventOld
                                  tell thisCalNew
                                            set thePropList to {}
                                            if theStamp is not equal to missing value then
                                                      set thePropList to thePropList & {stamp date:theStamp}
                                            end if
                                            if theAllDay is not equal to missing value then
                                                      set thePropList to thePropList & {allday event:theAllDay}
                                            end if
                                            if theURL is not equal to missing value then
                                                      set thePropList to thePropList & {url:theURL}
                                            end if
                                            if theRecur is not equal to missing value then
                                                      set thePropList to thePropList & {recurrence:theRecur}
                                            end if
                                            if theEndDt is not equal to missing value then
                                                      set thePropList to thePropList & {end date:theEndDt}
                                            end if
                                            if theClass is not equal to missing value then
                                                      set thePropList to thePropList & {class:theClass}
                                            end if
                                            if theStartDt is not equal to missing value then
                                                      set thePropList to thePropList & {start date:theStartDt}
                                            end if
                                            if theDesc is not equal to missing value then
                                                      set thePropList to thePropList & {description:theDesc}
                                            end if
                                            if theSummary is not equal to missing value then
                                                      set thePropList to thePropList & {summary:theSummary}
                                            end if
                                            if theLoc is not equal to missing value then
                                                      set thePropList to thePropList & {location:theLoc}
                                            end if
                                            if theExcludeDt is not equal to missing value then
                                                      set thePropList to thePropList & {excluded dates:theExcludeDt}
                                            end if
                                            if theSeq is not equal to missing value then
                                                      set thePropList to thePropList & {sequence:theSeq}
                                            end if
                                            if theStatus is not equal to missing value then
                                                      set thePropList to thePropList & {status:theStatus}
                                            end if
                                            set theNewCopy to make new event at end with properties thePropList
                                  end tell
                                  set cntrCopied to cntrCopied + 1
                        end if
              end repeat
    end tell
    display dialog ("Exists(not copied):" & cntrMatch & "  New Copied:" & cntrCopied)

    That should not be necessary because I get the value of ID out of another table, where I generate ID with a sequence..
    So normally it should just tranfer that row from one table to another. But it doesn't !
    Knowing that I cannot create a row in the table wouter_published_posts(I can just move rows from the add_post table to the wouter_published_posts table), It should be inpossible that twice the ID appears. But yet he keeps trowing errors...
    help me, please

  • Export event from one cpu to another in final cut

    I am trying to export an event from one computer with finalcut, to another computer with finalcut.  I exported xml, and imported xml on the other computer.  When the xml imports within finalcut on the second computer, the time stamps come along with a red image with yellow exlamation ! and says "no data".  The event plays just find on machine #1 in final cut.  What am I doing wrong?

    Sounds like you're using FCP-X (the term "events" points to that).  If so, the FCP-X forum is located here: https://discussions.apple.com/community/professional_applications/final_cut_pro_ x?view=discussions
    -DH

  • Can I move an iCal event from my phone to another calendar?

    Every once in a while I add an event and forget to change the calendar from the default "On this phone" to one of the other 3 calendars I set up. After I save an event, the option as to which calendar it's added to disappears and I can no longer change it on my phone. In lieu of that not being possible, I can only think of inputting the event again and deleting the "on my phone" event. Ideas?

    I reset my default calendar to one that syncs with my MacBook and MobileMe. Now if I put a calendar event on the phone memory I have to do it intentionally. No solution on how to move an event from the phone but this is a workaround.

  • Combing events from one Mac on another

    I have a MacBook which is giving up the ghost and I need to move my iPhoto library to my MacBook Pro. On the MacBook Pro I already have some events from work. Is there a way I can move my 309 events from my MacBook to my MacBook Pro and combine them?

    you can move the library by connecting the two systems together (network, firewire target mode, etc) and dragging the iPhoto library from the old system intact as a singe entity to some place other than the pictures folder on the new system
    Then to merge the libraries you will need iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/
    LN

  • How to fire an event from Java Script

    Hi,
    Here is my problem: using JSF
    I have a selectOneMenu list box when a value changes a valueChangeListner event is fire that all works great now the problem I'm able to add items to the list from a popup form using Java Script but I need the valueChangeListner to fireup every time I add a item any ideas how to do that
    Thanks

    Just do form.submit().

  • How to move imovie '08 projects and events from one macbook to another

    Hi,
    I need to import my movies via firewire, but can only do it through my brother's macbook, as my new macbook does not have firewire.
    Therefore, I imported 100 GB worth of movies onto his computer, then transferred the iMovie Events and iMovie Projects folders onto a hard drive, then transferred them from the hard drive to MY macbook. Now they are sitting on the desk top.
    How do I get them into iMovie on my macbook, now that I have transferred the files from my brother's macbook onto my macbook's desktop?
    Thanks!

    I guess I just needed to drag my events into my user folder ---> movie events, and then when I launched iMovie, it found them.

  • Call Event from One View to another View

    Hi All,
    I have 2 views in my Webdynpro application .View 1 has a input field and View2 has a button. When the user enters a value in the input field and clicks on Enter, i want to call the button action in View2.
    I created Navigation link from view1 to view2 using outbound and inbound plugs. I created an action "OnEnter" for the input field. But how do i invoke Button action(View2) from View1?
    Regards,
    Maggie.H

    Hi Maggie,
    You can do in another way, OnClick of view 2's button action you will write some code. Write the same code by creating a method in component controller, and call from wherever you want.
    I Hope it helps and solves your issue.
    Regards
    Nizamudeen SM

  • IMovie '11 - Move Events From One Hard To Another, Loses Keywords!

    Hi. I've been importing lots of video on to my iMac's hard drive, keywording the Events, and then moving the Events to an external hard drive using iMovie's Event Library.
    My problem is, once I've moved the Events, all of the keywording I did on them is lost. Is this what's supposed to happen? Am I doing something wrong?

    I have heard other people say that when they did a COPY rather than MOVE, they preserved their keywords.

Maybe you are looking for

  • Daily Kernel Panic while web browsing

    Hello, I'm receiving nearly daily kernel panics while web browsing. At first this was happening in Chrome, so I uninstalled it and went back to using Safari. The problem occurs in Safari as well. It seems to occur most often when I launch additional

  • Inserting video into layers...

    I have a small video recorded on Quicktime Format, and I want ito apply to a lyer in Flash... what is the best format to do it ? and the best way to change formats ? thanx in advance...

  • Photoshop CS4 Plug in

    Is there a plug in for Photoshop CS 4 that will allow me to open Nikon D800 Raw files

  • Library Locating Files

    Hi there, I recently reformatted my HDD but I backed up my library of music onto an external beforehand. I looked around google and found out that by consilidating my files, it would be the easiest way to export and import my library of music and pla

  • Lenovo s960 vibe x language problem

    1) i have some problem with my lenovo s960, all apps are in chinese language. i cant change it to fully english. please anyone can give me a step by step tutorial how to make my lenovo fully english language?? (lenovo store and game centre) 2) when l