Question on usage of some events in page flow logic

Hi Group,
I don't know how to use the following events and also not came across any example using these events:
1.OnRequest
2.OnDestroy
3.OnCreate
4.OnManipulation
please let me get some ideas from you on the above if possible with some simple examples.
thanks in advance.
Regards,
Vishnu.

<b>OnCreate</b>
OnCreate is called once when the page is first created (stateful mode), and performs a once-off data initialization or object creation.
<b>OnRequest</b>
OnRequest is called whenever a request is made for a particular page and is used to restore the internal data structures from the request. This is important when working in stateless mode.
<b>OnInitialization</b>
This event handler is mainly used for data retrieval. For example, it allows data required for displaying the BSP to be read from the database. It can also execute any program.
<b>OnInputProcessing</b>
This event handler checks and processes user input. It can also define navigation, that is, whether the user should be taken to the same page or another when the BSP is called.
<b>OnManipulation</b>
You can use this event handler to manipulate the HTTP data stream later.
<b>OnDestroy</b>
This event handler is available for special functions.
Refer the below link for more detail..
http://help.sap.com/saphelp_nw04/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
Raja T

Similar Messages

  • Calling a Page(flow logic ) from a controller

    Hi Guru's ,
        I have a senario in which I have a controller and also Page flow logic .. I want to call a page of type page flow logic from the controller ..
    I tried the below methods .. but it didnt work ..
    *navigation->goto_page('test.htm').
    DATA: r_view TYPE REF TO if_bsp_page.
    DISPATCH_INPUT( ).
    r_view = create_view( view_name = 'test.htm' ).
    call_view( r_view ).
    this works only if its is a view but not flow logic ..
    Please give ur suggesions ..
    Thanks
    Sivaraj

    hi sivaraj ,
    first refer whether u could call a page using pages with flow logic by the controller which is used in mvc design.
    may be u canot call it . u have to create a page using view according to mvc . try it once.

  • Warn About Changes and page flow

    Hi, in dev guide, it is said:
    For any single page, or first page in a navigation flow where the retainAM URL parameter value is set to Y (and the pages share the same root UI application module) as you navigate between each page, set the Warn About Changes property to True on the pageLayout region.
    in other word, if pages in page flow are in the same AM, after changing am in the first page, anytime leave the following page to click the home link(oracle branding), the WarnAboutChanges msg should be alerted?
    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    And how to implement the page flow warnAboutChanges?
    And how root application module to set if different pages in different AMs?
    PreThanks to you very much!

    But,
    Now I have two pages, using the same AM, set the two pages' property "Warn About Changes" to true.
    And I want to implement this: after inputing some words, and click a sunmitButton forward to pageB(add retainAM = Y in setForwardURL in code), then in pageB don't do anything, but click home link, WarnAboutChanges message does not alert.
    Could anyone help to explain this?
    I asked u previously also read dev guide properly, here it what dev guide say:
    "By default, the Warn About Changes property is set to True for each of the items in this list except for the
    OASubmitButtonBean whose default value is False (a ccording to the UI guidelines, the "Warn About
    Changes" check should be performed for all submit button instances except for Cancel, Apply and Submit
    buttons). If you want to explicitly enable the check for a submit button, set this property to True. Note that can
    also set it programmatically by calling OASubmitButtonBean.setWarnAboutChanges(pageContext,
    Boolean.TRUE) in processRequest()."
    I hope this answers ur question.
    And how to implement the page flow warnAboutChanges?
    Read "Save Model ('Warn About Changes')" in dev guide :).And how root application module to set if different pages in different AMs?
    You can nest differnt AMs in on AM in AM wizard.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Page Flow db vs java Control  db access

    I am a real newbie here and I wanted to ask some design questions.
    Primarily, I am designing a page flow that hits a backend server. Users fill out
    forms, and it updates what they are doing.
    Should I have the db control directly in the pageflow, or should I send the req
    to a java control that then has the db control? The latter seems to me to be taking
    redundant steps.
    thanks,
    m

    It does, and it makes a LOT of sense. Thanks!!!
    "Morgan" <[email protected]> wrote:
    >
    Hi Matt,
    The BEA guys seem to be busy this week, but I think I can actually answer
    this
    question.
    It sounds like you have a pretty basic web app, maybe even started from
    the RowSet
    Control wizard?
    From my understanding of Model, View, Controller, struts and Workshop,
    it sounds
    like in your case you would probably want to use the control directly
    in your
    pageflow. Most likely you will get a RowSet out of your control for
    a query and
    then push that out to some type of tag that can work with it or some
    variation
    along those lines. If you need to perform significant business logic
    on the
    data before adding it to the database, or after retrieving it and before
    presenting
    it, then I think it would be a good idea to encapsulate that business
    logic in
    another class or control. Significant is a relative term I suppose,
    but changing
    a value from upper to lower case or something simple I'd probably just
    handle
    in the Controller or with a formatter tag. If you had to correlate information
    from multiple rows, analyze it, create totals, and statistics, I would
    probably
    build a class to handle that logic so that the controller just made the
    decision
    on where to send results and where to send information collected.
    I hope that helps,
    Morgan
    "Matt Mcknight" <[email protected]> wrote:
    I am a real newbie here and I wanted to ask some design questions.
    Primarily, I am designing a page flow that hits a backend server. Users
    fill out
    forms, and it updates what they are doing.
    Should I have the db control directly in the pageflow, or should I send
    the req
    to a java control that then has the db control? The latter seems tome
    to be taking
    redundant steps.
    thanks,
    m

  • Why are some of my pages viewing blank when opened in one Adobe Reader and fine in another?

    Why does my PDF file that I created in Adobe Illustrator view fine in my Adobe Reader but some of the pages are viewing blank for my customer who lives in Australia.  This is the first time I have encountered the problem and I am at a loss how to fix the problem.  Any suggestions or help would be much appreciated.  Is this a setting problem or a glitch in her version she is using Adobe Reader 9?  I deal with customers all around the world and need to figure this out so it does not happen again.

    Hi Graffiti,
    Thanks so much for your resply.  I am happy to say that the problem has been fixed by my customer updating her version of Adobe Reader 9 to the latest version.  I had sent her a few suggestions on how to try to fix the problem including that one from info I had read on the forum etc.. and that was the solution that worked.  I am so relieved that I was able to fix the problem and to answer your question the blank pages were only graphics no text but they were the only pages that the graphics took up the whole page.  I thought that was strange and had her change a setting in preferences for printing large images a solution I read in the forum but it did not work.   

  • UIX/XML BC4J - Controlling page flow in event handlers

    We have an event handler that executes some data processing using bc4j tags, and need to redirect the flow to another page, based on the value of some parameters. For example, we have a checkbox Prepare for another insert, and we want to check for its state in the event handler to determine which page to display.
    We tried the following code
    UIX page event handler:
    <event name="saveEvent" >
         <bc4j:findRootAppModule name="TipoPunteggioViewAppModule" >
              <bc4j:findViewObject name="TipoPunteggioView" >
                   <bc4j:findRow name="CreateTipoPunteggioView" >
                        <bc4j:setPageProperty name="keyTipoPunteggio" >
                             <bc4j:stringKey />
                        </bc4j:setPageProperty>
                        <bc4j:setAttribute name="FlgObsoleto" />
                        <bc4j:setAttribute name="Firma" />
                        <bc4j:setAttribute name="TitTipoPunteggio" />
                        <bc4j:insertRow/>
                        <bc4j:commit/>
                        <bc4j:executeQuery/>
                        <ctrl:method class="com.websiteitalia.valutazioni.handlers.Handlers"
                             method="anotherInsertEventHandler" />
                   </bc4j:findRow>
              </bc4j:findViewObject>
         </bc4j:findRootAppModule>
    </event>
    Java method event handler:
    public static EventResult anotherInsertEventHandler(BajaContext bCtx,
                                       Page page,
                                       PageEvent event) {
         // AnotherInsert is the name of the checkbox on the page
    if ("on".equals(event.getParameter("AnotherInsert"))) {
              return new EventResult(page);
         } else {
              return new EventResult(new Page("ListPage"));
    When we return the same page, things work fine, but when we return another page we get an ArrayIndexOutOfBoundException. We have also noticed that if we return a simple page, without data scopes and bc4j tags, we get the correct result. We are probably wrong in the manner we do the redirect inside of a java event handler, because seems that the page we return is not completely processed.
    Can anyone explain the available techniques to control the page flow, using UIX XML tags or Java APIs alone or both of these together? For example, how can be replicated the <ctrl:go> behavior using Java APIs?

    The UIX page works correctly if loaded directly, the error takes place only when we redirect in this manner from a page that has a different application module / view object scopes. In fact, when we redirect to a page that have the same scopes of the first (or when the second page has not scopes at all the simple page) the error doesnt occur. Thats why we suppose that some step of the page rendering process arent executed correctly, it seems that the new page still finds some of the old page (the scopes)..
    To redirect to a page from a java event handler we have returned an event result with the next page (see above post for a code snippet), is this the correct way? Can we simulate the ctrl:go tag from the java code (with the redirect=true option)? There are any other?

  • Is it possible to ignore some events, while executing some code?

    The problem is following: imagine the interface, consisting of three buttons - start, stop, save and one graph indicator. When one press start button some sequence of events is fired, and some data is shown on the graph (this sequence can be prolonged in time for a few hours). After completion of sequence one can save data. All is good except one thing: what will happen if start button have been pressed while execution? Start sequence will be fired again and previously acquired data will be lost. So the question is following: is it possible to erase (or ignore) some events from events stack?
    Locking front panel is not good idea, because some other controls (for example stop) might be needed.
    Making start
    button disabled and grayed out is not good idea because user can click on that button (thus generate events) a lot of times before the disabling will occur.
    Creation of data buffer for storing graphs is not good idea as well because it do not solves the problem.
    www.xinstruments.com
    Custom Software for Industrial Automation
    www.hdrconverter.com
    Picture processing made easy

    In newer version of LabVIEW, you can use dynamic event registration. What is your version?
    I would add e.g. a shift registers that keeps track of the state, then you can query it in each event case. Each event case will have a case structure inside wired to the state. States could be (0: new, 1: data has bee acquired, 2: all is saved, etc.). "Start" would only work if state is 0 or 2, "save" would only work if state is 1, etc.
    LabVIEW Champion . Do more with less code and in less time .

  • I have problem with the security question i forgot it some body tell me they will show down of the question forgot the answering but nothing show help me plz thanks

    I have problem with the security question i forgot it some body tell me they will show down of the question forgot the answering but nothing show help me plz thanks

    The reset link will only show if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • ICal month view some events shown only as ..., they show correctly in other views.

    iCal month view some events shown only as ..., they show correctly in other views.

    This is so utterly annoying- I never had this issue with previous versions of iCal, and I can't even run those versions on tiger now that I've upgraded. The tiger upgrade in general has disrupted my workflow much more than I thought it would-
    Because of the way I use iCal, not seeing the full even title in month mode makes iCal pretty much useless to me. I don't want to have to click between dozens of events that begin with "Renders of" to find which set of renderings are due on which days. Nor do I want to go through and rename all of my "Renders of Levels 1a-3c" etc to make the titles more useful. It should just WORK.
    Well, let me know if anyone finds a better way of making this work other than "resizing ad lib until things sorta show up"

  • ICal cuts off text of some events in month view

    I've noticed that iCal cuts off the text of some events, while displaying the full text of longer events in the month view. For example, if I create an event titled "Test Event" only "Test" shows up in the day it's created, but if I enter "Longer Event" the entire text shows up, on two lines. These events are on separate days with no other events on those days, so there's nothing to get in their way. Why is this?

    This is so utterly annoying- I never had this issue with previous versions of iCal, and I can't even run those versions on tiger now that I've upgraded. The tiger upgrade in general has disrupted my workflow much more than I thought it would-
    Because of the way I use iCal, not seeing the full even title in month mode makes iCal pretty much useless to me. I don't want to have to click between dozens of events that begin with "Renders of" to find which set of renderings are due on which days. Nor do I want to go through and rename all of my "Renders of Levels 1a-3c" etc to make the titles more useful. It should just WORK.
    Well, let me know if anyone finds a better way of making this work other than "resizing ad lib until things sorta show up"

  • Some Events Don't Show Up in List View on Calendar

    I love using Calendar on my iPhone 4S.  I like the List View, where I can everything I have for that day.  However, I've noticed a glitch:  some events which are on my calendar for that day when you view the day by tapping on the day of the month, don't show up when you tap on "List".  I don't get it.  I can't figure it out for the life of me.
    Does anyone know why that happens? 

    Are the events missing subscription events?
    I recently took the big leap into the total wireless syncing thing. And unfortunately I have found that anything that is subscription won't sync from iCal on my macbook pro to MM or my iPhone 3G. And when I say subscription, if there are any calendars that you have subscribed to in iCal that show up on a separate list, in 10.5, they will not be included in the syncing. However, there is one subscription of moon phases that ended up in the regular part of the list and it is syncing to my phone and MM just fine.
    This is upsetting to me because I would like very much to subscribe to my wife's calendar to have on my iPhone and on MM and they won't be showing up because they are not supported. I checked with AppleCare on this and they told me that Apple is not allowing subscriptions because of the possibility of date redundancies mucking up the servers.
    Anyway, I hope this helps.

  • Not able to delete some of the pages in subpage

    Hi,
    I am not able to delete some of the subpages in a pagegroup and it gives the following error mentioned below can any one shed some light so that it can be fixed.
    the error that surprised me during the page deletion is
    Internal error (WWC-00006)
    Error while deleting page. (WWC-44130)
    Unexpected error - User-Defined Exception (WWC-35000)
    Unexpected error - User-Defined Exception (WWC-35000)
    Path ID does not exist. (WWC-50001)
    this is the same problem with some of the pages is the same page group but a different set of subpages.
    My portal version is 10.1.2.0.2 (Build: 150).
    it would be very nice of them if any one could give me a solution for this.
    Best Regards,
    Vijay.

    Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad. Photos that were synced from your computer are deleted by moving/removing/de-selecting them from where they were synced from on your computer and then re-syncing.

  • I have 10.7.3 lion on my computers an iMac and a macbook pro plus a new iPod touch, and two older touches, now trying to sync my calendars is not working deletes some events, duplicates others, I want all my calendars to be the same.  Any ideas

    I have 10.7.3 lion on my computers an iMac and a macbook pro plus a new iPod touch, and two older touches, now trying to sync my calendars is not working deletes some events, duplicates others, I want all my calendars to be the same.  Any ideas

    Have you tried resetting the SMC ?     >  Resetting the System Management Controller (SMC)

  • What are the options for integrating the event catalog and event landing pages in our website?

    We'd like to integrate the event catalog and event landing pages into our website but would prefer not to use the standard iframe embed code. Are there other solutions available, like an API or something else?
    Reason for this is that when we tried it with the iframe embed code the event catalog seems to load quite slow in a webpage on our website. Plus it seems we can't change the width and height of the event catalog with the CQ5 editor, or have the event catalog embed dynamically change in size depending on the amount of events in the catalog.

    Keeping everything in one scene is the better way to go.  Scenes are useful for animators who do not use navigation, they just make movies that play frame after frame without stopping.  But for anything that involves navigating the timeline you will have less headaches if you just avoid them and keep everything in the one main timeline.
    There are primarily two approaches to implementing pages in a timeline.  Either spread them out along the timeline and navigate from frame to frame to access them, or create them as movieclips (all in the same frame) and manage their visibility.  The latter approach makes it easier to maintain the status of a one page if navigating to another is necessary.  And you might find it useful to mix these two approaches at times.
    When you have everything on one timeline, you can have a layer dedicated to actionscript that you extend the full length of the timeline, which makes shareable code, such as variables and functions, available to anything along the timeline.  This avoids any need to have duplicate function definitions since you can have the same single function available to multiple pages in the site.  I usually use two actions layers... one for the shared stuff which has all code in frame 1 only, and another for frame specific code such as timeline commands and other action coding that needs to happen at particular frames.

  • In my photobook some of the pages have "Lor" appear in the margin of the page.  I can't seem to delete it.  Any idea what it is?

    I am creating a photo book in iPhoto.  In the page view, book view, and slideshow, it shows the letters "Lor" in the right margin on some of the pages.  I haven't been able to delete it and don't know why those letters are showing up there.  Any ideas?

    It sounds like you are using a Chinese font.
    Use something else eg Times or Helvetica or any European font.
    If the character disappears, its the font.
    Peter

Maybe you are looking for

  • INSTALLED 3.1.1 - FORMER BOOKMARKS GONE!

    Installed 3.1.1. Former bookmarks gone, replaced with what Apple apparently thinks we should use for bookmarks (Google maps, Yahoo, etc.) - maybe they get money for them. Fix was: Quit Safari. In User/Library/Safari/ change Bookmarks.plist to Bookmar

  • Creat a DLL from a set of VIs

    Hello, I've a board that cames with Labview VIs for each of its functions. As I'd like to use it from CVI, I need a DLL. NI support team gave me the procedure to make such a DLL, it works fine. But, the create DLL can't be used by 2 application in sa

  • Deleting timestamps on websites

    I have cleared my recent history multiple times and the timestamp is still on my visited websites. I would really love to delete the timestamps permanently. Any advice would be welcome! == This happened == Every time Firefox opened

  • Standard OM

    Hi, Could you please let me know whether the following points are possible in standard OM or Not? 1) Capacity (planned no. of employees) against each department: basing on this manpower planning report will be taken and it will be matched with actual

  • Procedure argument information

    Dear all, I have a problem of getting stored procedure parameter information, to be exact - I do get information of all fields apart of the Size. (size matters). I used several methods and in each time I get 0 size. (for example: for RAW(16) types) H