Sequence of events and handlers in webdynpro

Hi,
I am confused with the sequence of events triggered in webdynpro.
What is the sequence of the events like WDDOINIT of window, view, Inbound plug handlers etc. I am more looking into the details like for example
I have a window that opens a view. The sequence of events I expected would be
1) WDDOINIT of Window
2) Handle inbound plug for window
3) WDDOINIT of View
4) Handle inbound plug for view
Much to my amazement I found that the sequence is
1) WDDOINIT of Window
2) WDDOINIT of View
3) Handle inbound plug for window
The inbound plug of view is not called at all.
So is there an exhaustive reference that explains these things. Most of the references I found explain only about WDBEFOREACTION, WDMODIFYVIEW etc. But not about WDDOINIT or WDDOEXIT.
Any pointers in this regard will be great.
Thanks,
Anand

A great way to learn WDA and build a simple WDA at the same time.
Define a simple CONTEXT. with 2 attributes
     CONTROLLER_NAME string
     EVENT string.
On a view declare a table that shows this table.
IN EVERY STANDARD METHOD
add an entry to the table so the table grows:
      context_node->bind_table NEW_ITEMS  ( the new row in this table
                                             SET_INITIAL_ELEMENTS =  true
Add a button that calls a dummy action
Add a button that exits.
Even navigate  to and from a view.
you will learn the phase model in a flash.
About 15 20 mins  work.
worth it.  Thats how I learnt it.
Cheers
Phil.

Similar Messages

  • Interprocess communication with global events and handlers - how?

    Hello. I have a special problem.
    Imagine we have an application running, without using a sap gui.
    This application consists of three objects, interacting with each other.
    The are based on z-classes.
    Now this application runs and runs and runs.
    Suddenly an external device decides to call a rfc-enabled function module.
    As we all know, the external device , which calls the remote enabled function module will open another session for that.
    And the running app is also in another session.
    How could I inform this three running objects, that the rfc module was called???
    Did anyone already encouter this problem and found a solution?
    Global events or whatever???
    Would be very nice,.
    Thanks,

    Hello,
    I did not faced this kind of problem but can suggest to tackle the scenario....
    I would suggest to create a comon function group which call that RFC and other function moudle for status update.
    Use an global data in function group and pass some info when RFC is getting called,,,
    the status FM will only fetch data preiodacily and has to be called from classes...
    I thiknk you would have solution in this way.
    Thanks

  • Changing date (and sequence) of events by changing dates of photos no longer seems to work. Any idea what to do?

    I am scanning in old slides and negatives (from the 1960s and 70s), and I want to get the resulting "events" in sequence from when the photos were taken, rather than when they were scanned. So I have been changing the dates of the photos, and previously this resulted in the associated event moving to the proper sequence. This definitely worked a month or so ago, both with prints scanned in on a flat-bed scanner, and also with slides and negatives scanned with a Veho scanner. That was faulty, however, and so it has been replaced with a Plustek 7500i scanner, using SilverFast scanning software, and importing the resulting images into iPhoto. I have recently tried to change the dates of the resulting events, and it doesn't seem to work as it used to. There has been an update to iPhoto 9.1.3 since my earlier success.
    Take for example one event, CS73A. Hovering over the event in the "All events" display gives dates of 1 Apr 2011 to 2 Apr 2011; these are the dates the slides were scanned in. If I open the event and choose the Info tab, it gives the event date as 02/03/1973 (which is the approximate date that I changed it to). I had done a batch change on the event this time, so the date and time on the first slide is 2 March 1973 09:30:48. Each successive slide is 1 minute later, and the last is 2 March 1973 10:08:48 (38 slides). I asked for the dates in the files to be changed as well.
    I don't know what I'm doing that's different from before. The only things I can think of are (a) something has changed in the iPhoto update, or (b) the SilverFast software stores the scanning date in some part of the EXIF that iPhoto can read but not change. I don't have tools to examine the EXIF unfortunately.
    What to do?

    Chris, I have run into the same problem.
    Try this:
    Open an event with more than one photo in it.
    Adjust the date of one or more photos. The event date does not update.
    Delete any one photo. The event date now updates to match the above date change.
    Undo the delete photo. The event date stays matching.
    Change the date of any photo again. The event date updates now every time.
    If you close the event and reopen it, you have to start over with the delete one photo thing.
    I don't understand it but it works here.
    I also have had the problem of events not sorting themselves in order of the dates when VIEW, SORT, BY DATE is selected. This seems to affect only the events were photo date changes had been made. Using the delete thing seems to keep the events in order.
    Another funny thing: When I put photos into iMovie the times in iMovie show as 7 hours off the photo time.
    I think Apple owes us an update to iLife!

  • What is the SAFEST SEQUENCE to convert from a Outlook/iPad/iPhone synced with MobileMe to syncing with iCloud (I have 10 years of calendar diary events and 3000 contacts) - I am worried about the data issues that have been posted about iCloud.

    What is the SAFEST SEQUENCE to convert from a Outlook/iPad/iPhone synced with MobileMe to syncing with iCloud (I have 10 years of calendar diary events and 3000 contacts) - I am worried about the data issues that have been posted about iCloud.
    This has worked fine with MobileMe with only a couple of minor glitches in the past.
    Any experience doing this the "right" way?

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Sequence of Events Fired and Triggers Fired in Forms.

    Hi,
    Please help me to know how the events and Triggers will be fired in Forms Developer 9i.
    Thanks in Advance.

    Please take a look into Forms-Builder Online Help, there you'll find some sequence diagrams describing the order of Triggers firing on certain actions.
    e.g. search for "Post and Commit Transactions"
    brds,
    Peter

  • How to write events and event handlers?

    Any samples?
    Thanks

    You can generate your custom events and it is very easy.
    You will have to extend the EventObject class in order to make an class representing the event.
    Iam giving a brief eg:
    class MyEvent extends EventObject
    MyEvent(Object source)
    super(source);//source which generated the event.
    //your own code
    interface MyEventListener
    public void myEventPerformed(MyEvent e);
    class abc
    java.util.ArrayList arr;
    abc
    arr = new java.util.ArrayList();
    public synchronized void addMyEventListener (MyEventListener l)
    arr.add(l);
    public synchronized void removeMyEventListener (MyEventListener l)
    arr.remove(arr.indexOf(l));
    protected void notifyTransEvent(Object source)
    MyEvent tEvent = new MyEvent(source);
    Iterator itr = arr.iterator();
    Iterator itr = arr.iterator();
    while(itr.hasNext())
    ((MyEventListener)itr.next()).myEventPerformed(tEvent);
    Now anyone implementing the MyEventListener inetrface can be added in the ArrayList.The ArrayList is the list representing the interesting parties who want to receive the event.When registered they will receive the event.
    This class abc is just like an component which on certain situations generate event.You can call notifyEvent in any case where you want the event to be generated.
    You will then add this class to your main class as this
    class xyz implements MyEventListener
    abc obj;
    xyz()
    obj.addMyEventListener(this);
    public void myEventPerformed(MyEvent e)
    //your handling code
    Hope this example will suffice.

  • Managing Events and/or Projects With Disk Images

    I came across this method of managing Events and Projects a while ago. I finally got around to giving it a try. Personally, I really like this method.
    It's simple.
    It keeps things very well organized.
    It's easy to open only the project or events that you want.
    It's easy to consolidate and back up once you're done.
    It  takes some workload off FCP X by not having to always open up all your Events and Projects.
    So, I thought I would share this for those of you who were not already aware of it.
    This is my workflow: (based on the link below)
    I create a Disk Image (named for the Event/Project).
    (Note: There are two places to create the name, I use both, keep them the same)
    I open up FCP X.
    I typically put only one Event on this Disk Image.
    I then reference whatever Media I need in this Event.
    I usually don't bother to copy the media. (except when I'm done and I archive it)
    You can create multiple Events, if you feel the need for additional organization.
    Then I create however many Projects I need.
    (since Projects equates to Sequences from prior FCP versions)
    I have a unique Disk Image for each Event/Project that I work on.
    To use them ...
    First, always make sure FCP X is not running.
    Locate the Disk Image in finder.
    Double click on the Disk Image and it will Mount on your desktop.
    (assuming it's not already mounted on your desktop)
    Open up FCP X and it will load the Event(s)/Project(s) in the Disk Image.
    If you don't want to work on an Event/Project in FCP X (make sure FCP X is not open), in Finder, simply Eject the Disk Image.
    Now when you open FCP X, it won't be there.
    Its not gone, but since it's not mounted on the desktop, FCP X simply doesn't see it.
    To get it back (obviously quit FCP X first) simply double click the Disk Image in Finder and it remounts.
    Open FCP X and you can see it's back.
    You can open (double click to mount) as many Event/Project Disk Images as you want.
    Just make sure you mount and un-mount disk images when FCP X is not running.
    If find this to be a great workflow.
    Many thanks to Steve Martin of Riple Training for posting this method.
    http://www.kenstone.net/fcp_homepage/fcp_x_managing_disk_image_martin.html

    Re the final commercial spot.  What I am getting at is if all my media is optimized and therefore in ProRes, and I export in ProRes using the current settings, then shouldn't the media needed to rebuild the project be the same or close to what an exported Quicktime would have been?
    Perhaps the notion of "used clips only" is not what it says then.  I took that to be the "media managed" feature otherwise why is that wording there.  I guess "used" actually refers to all of the media for the project and associated events rather than just for the project.  This is misleading because the DUPLICATE operation and menu prompt only appears as a result of requesting an action on the project item.
    There are aliases in my original event folder, but before I started this process tried to get FCPX to consolidate media for the project and it already was according the app.  Truth is, some of the media is outside of the FCPX required folders.  So it's strange that it says it's consolditated, but it's not and yet in duplicating the project it moves the references to the new volume only to point back to the old volume.
    So my next question would be: Is there no feature to back up only what's needed to rebuild the final project (edit) reliably.  Moving the project moves everything.  According to the FCP manual, it seems using the Duplicate feature is the way I should be archiving.  However if by "used clips only" FCP X means all media and refrerenced events, then I guess there's nothing for me in here.  However then, whey would there be an option (after choosing duplicate project) an option to Duplicate Project and  referenced events.  If "used clips only" means all media, then there's no difference between the 2nd and 3rd Duplicate Project options.
    Thanks Tom.

  • How to realize the other three events triggered by a sequence of events occurs?

    How to realize the other three events triggered by a sequence of events that occurs between Labview, and the time interval between three events for the 50ms?
    1110340053

    Are you another student who feels the need to post their "student ID" number as a part of the message?  There is really no need to do that, it is meaningless to us.
    You should ask your instructor to answer your questions rather than allowing them to turn the whole class of students loose on the forums usually asking the same identical question.
    At least in your case, the question is different from most we've seen.  Unfortunately, you haven't asked a clear enough question for us to understand what you are talking about.
    What "events" are you talking about?  Post a VI that demonstrates the code that you have written so far.

  • Sequence of events execution in ABAP reports

    can anyone explain me the Sequence of events execution in ABAP reports

    Ámit Güjärgoüd wrote:
    > search-before-post  Event Must before any posting.Else  <delete-after-input event triggered by moderator> would be trigger and thread may be going to Dump as well without ST22 information(What haapend,How to correct error) available 
    >
    > Edited by: Ámit Güjärgoüd on Oct 7, 2008 7:42 AM
    this looks perfect ABAP event sequence example.

  • Sequence of events in shutdown

    Hi,
    What is the sequence of events that occur when the
    server is issued a SHUTDOWN command? like the destroy of ejb,servlet, jndi, etc,
    and the user shutdown class. Is the shutdown class is performed before the server
    shuts down? what
    i am trying to say is what kind of resource I still can use in shutdown class.
    Last week when i shutdown our production server,
    I saw javax.naming.NameNotFoundException thrown by jsp page,
    which called the ejb but obviously the ejb already unbounded.
    Shoud the server stopped to listen the request first and then
    do some other stuff?
    Thanks.

    I am using a 'On Submit After Page Submission -
    Before Computations and Validations' process to do
    all my validations in a generic way.Not sure what you mean, could you please elaborate?
    For the problem you told about in point 4.
    May be you can build a validation in a before
    computation process or build a computation in a after
    validation process.I guess, but writing a validation as a Process kind of defeats the purpose. Technically, everything can be written as a "process", validations and computations are nice because they keep the code clean, operate in the context of a specific page item.
    Anyway, I was not looking for a workaround, I was trying to understand why things are designed the way they are.
    Scott: Could you take a look at my questions when you get a chance? Thanks.
    Thanks

  • Sequence of events in accept processing

    The sequence of events in accept processing is
    http://tinypic.com/foj80w.jpg
    Questions
    1. When would a Before Computation branch be used? Real-world examples.
    2. Similarly, when would a On Submit Before Computation process be used?
    3. When would a Before Processing branch be used?
    4. Why do computations fire before validations? Dont computations deserve to act upon validated session state? Currently, if my validation fails, the computation gives an error, so I have to code some twisted condition to "anticipate" that the validation is going to fail and if so, dont run the computation. Kind of defeats the purpose of the validation.
    Thanks

    I am using a 'On Submit After Page Submission -
    Before Computations and Validations' process to do
    all my validations in a generic way.Not sure what you mean, could you please elaborate?
    For the problem you told about in point 4.
    May be you can build a validation in a before
    computation process or build a computation in a after
    validation process.I guess, but writing a validation as a Process kind of defeats the purpose. Technically, everything can be written as a "process", validations and computations are nice because they keep the code clean, operate in the context of a specific page item.
    Anyway, I was not looking for a workaround, I was trying to understand why things are designed the way they are.
    Scott: Could you take a look at my questions when you get a chance? Thanks.
    Thanks

  • Lightning 1.0 recurent event and Communications Synchronization Engine

    Hello,
    We have noticed that lightning 1.0 does add interval value
    when it is 1.
    Then our synchronica gateway does not sync recurrent
    events.
    Could someone test it with Communications Synchronization Engine
    to tell me if there is also the problem?
    Examples used to reproduce the problem:
    BEGIN:VEVENT
    UID:000000000000000000000000000000004a6827d300007cc100000b350000359b
    DTSTAMP:20090723T090842Z
    SUMMARY:RecurTest1.0
    DTSTART;VALUE=DATE:20090724
    DTEND;VALUE=DATE:20090725
    CREATED:20090723T090524Z
    LAST-MODIFIED:20090723T090524Z
    PRIORITY:0
    SEQUENCE:0
    CLASS:PUBLIC
    ORGANIZER;CN="Roger MERAT"
    ;[email protected]
    :merat
    STATUS:CONFIRMED
    TRANSP:TRANSPARENT
    RRULE:FREQ=YEARLY;BYMONTHDAY=24;BYMONTH=7
    X-NSCP-ORIGINAL-DTSTART:20090723T220000Z
    X-NSCP-LANGUAGE:fr
    X-NSCP-DTSTART-TZID:Europe/Paris
    X-NSCP-TOMBSTONE:0
    X-NSCP-ONGOING:0
    X-NSCP-ORGANIZER-EMAIL:[email protected]
    X-NSCP-GSE-COMPONENT-STATE;X-NSCP-GSE-COMMENT="PUBLISH-COMPLETED":65538
    END:VEVENT
    BEGIN:VEVENT
    UID:000000000000000000000000000000004a6827580000083400000c420000359c
    DTSTAMP:20090723T090842Z
    SUMMARY:RecurTest0.9
    DTSTART;VALUE=DATE:20090723
    DTEND;VALUE=DATE:20090724
    CREATED:20090723T090320Z
    LAST-MODIFIED:20090723T090320Z
    PRIORITY:0
    SEQUENCE:0
    CLASS:PUBLIC
    ORGANIZER;CN="Roger MERAT"
    ;[email protected]
    :merat
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTHDAY=23;BYMONTH=7
    X-NSCP-ORIGINAL-DTSTART:20090722T220000Z
    X-NSCP-LANGUAGE:fr
    X-NSCP-DTSTART-TZID:Europe/Paris
    X-NSCP-TOMBSTONE:0
    X-NSCP-ONGOING:0
    X-NSCP-ORGANIZER-EMAIL:[email protected]
    X-NSCP-GSE-COMPONENT-STATE;X-NSCP-GSE-COMMENT="PUBLISH-COMPLETED":65538
    END:VEVENT
    When the interval is not set, synchronica will not sync the recurent event
    although it should be ok:
    chapter "4.3.10 Recurrence Rule" de http://www.ietf.org/rfc/rfc2445.txt :
    The INTERVAL rule part contains a positive integer representing how
    often the recurrence rule repeats. The default value is "1", meaning
    every second for a SECONDLY rule, or every minute for a MINUTELY
    rule, every hour for an HOURLY rule, every day for a DAILY rule,
    every week for a WEEKLY rule, every month for a MONTHLY rule and
    every year for a YEARLY rule.

    shjorth wrote:
    There is a documented known limitation in the release notes that appears to relate to the scenario you have described:
    http://wikis.sun.com/display/CommSuite/Sun+Java+Mobile+Communications+1+Release+Notes
    "If a single occurrence of a recurring event is changed the change is ignored."Hello Shane,
    I also know this limitation as we (University of Geneva)
    had reported it one year ago.
    But this is a new bug which is much worse.
    Basically, what happens with lightning 1.0 is that
    all new recurrent events are synchronized
    as a non recurrent event because lightning creates
    the event differently without providing an OPTIONAL parameter
    and while respecting the ical RFC.
    There are no log to provide, the bug is easy to reproduce.
    You just create an event (eg daily).
    You export the calendar.
    You remove the INTERVAL parameter in it as
    the RFC said it is optional and has a default value of one.
    You import this event.
    You sync.
    You have the bug.
    Or you just install lightning 1.0, create an recurrent event
    and sync.
    From what I have been told by mozilla developers
    the bug is not limited to lightning but all applications
    that uses a new version of libical (like evolution).
    Users have not yet met the bug because lightning 1.0
    is still in beta. But when it would be available it is
    going to be a very bad news.
    Regards,

  • Use of events and interface in class

    Dear All,
    Could you please explain why we use events and interface in class.
    Also please tell me the use of TRY and ENDTRY.
    Regards,
    Amar

    Events may be a way of communication b/w classes. Imagine you want to call certain code from one class, you would need for that public method, but you don't want to expose it to external user. So you may use events for that. Also events are used to notify that certain state of class has changed (tiggering event). Then all handlers of this event executes and react accordingly.
    Interfaces are a way of provide a service to class which implements it. Imagine that you have class office and hotel and gas station . They don't seems to have something in common. However, there can be some external energy provider which will be an interface. Each class which want to have a lease with this energy provided can implement it (the implementation can differ in some way), so he can provided energy to different classes. This way you will achieve polimorphism (meaning you call one interface method, but code behind it differs from class to class).
    Interfaces are also means of multiple inheritance. One class can implement several service (interfaces). In contrary it can oly inherit from one class.
    Try endtry are just new way of handling exceptions .
    Try to search a litte bit you will find lots of info on the above.
    Regards
    Marcin

  • How to access TestStand Event and variables from external application?

    Hi all
    The test system was built by TestStand, now there is a new requirement to filter the test report without change the sequence file. The task must be done without any impact to previous software system, so I decide to write a tool by VC++.
    My idea is to deal with the reports after every UUT loop, but I need to monitor the UUT loop status by VC++, if an unit is tested, pass or fail, raise a event and pass to VC++ application. In a word, I would like to access TestStand internal event and variables.
    Anyone has ideal on this case? ActiveX or something.
    thanks .
    Rexxar
    *The best Chinese farmer*

    paulbin,
    While sharing variables via COM or DCOM is certaintly possible, I don't think you need to go down that route.  I think that there is probably an easier way to limit your report.  In your Configuration menu, under the Report Options item, there is a field at the top that will allow you to filter what steps go into your report.
    This will not affect any sequence file you may have already created, all it does is change a few options in the ReportOptions.ini file in the <TestStand>\cfg directory.
    This is a much simpler option than trying to write a program to interface with a running TestStand engine.
    Josh W.
    Certified TestStand Architect
    Formerly blue

  • IPhone calendar does not sync new events and appointments from Outlook

    iTunes 9.2.0.61/iPhone 4.0.1 - does not sync newly added events and appointments! Previously added stuff is all there, new stuff added in Outlook 2007 just doesn't show up. I've gone back to my old Palm T|X which syncs all this stuff with no problem, so it's not an Outlook bug.
    It looks like Apple has put a team of junior programmers on the Calendar app - I've seen leap-year bugs (still there), events showing up on the wrong day (still there), and I'm still waiting for the "week at a glance" view. Calendar is SO important for business use that top level "gray beard" engineers need to be on this. (Question for Apple's calendar developers: what's Zeller's Congruence? It they haven't heard of it they have no business doing calendar programming.)

    Spontaneously started syncing again - no idea why now, nor why it failed for so long. Related to the alarm bug? Who knows...

Maybe you are looking for