OAF Create Employee Part 2 Task 1: Handle the Back Button

I am trying this part of code without Debug Mode, I am not sure why I have to click 2 times on Browser Back Button, to go to the EmpSearchPG. Anyone tried this and having same problem or it is suppose to go back to the previous page when you click once on Browser back Button.
I would appreciate if anyone having tried and know how does it work. I am trying to resolve this before going to the next step of this exercise.
Step 1.5 Test Your WorkSelect TutorialLabs.jpr, right-click and select Rebuild TutorialLabs.jpr.
Add the following breakpoints to:
The first executable line in the createEmployee() method in your EmployeeAMImpl class.
The vo.insertRow(row); line in the createEmployee() method in your EmployeeAMImpl class.
The first executable line in the create() method in your EmployeeEOImpl class.
The first executable line in the rollbackEmployee() method in your EmployeeAMImpl class.
The first executable line in the processRequest() method in your EmployeeCreateCO class.
The first executable line in the processRequest() method in your EmployeeResultsCO class.
The first executable line in the processFormRequest() method in your EmployeeResultsCO class.

Try to check on any different browser.
Make sure you are performing correct steps.
Thanks
--Anil
http://oracleanil.blogspot.com/

Similar Messages

  • How to handle The Back button on Module Pool screen

    Hi Gurus,
                  I have created a module pool screen. In that screen I have used some input/output fields(text box) which i have marked mandatory by making the input field as "required" under program tab.
    now when running the screen if no data is entered into these mandatory input field then BACK button does not work. First I have to enter some data into the input filed only then the BACK button works. How should i code so that the back button works even without entering the data into these mandatory fields.

    hi,
    use AT EXIT-COMMAND with the module.
    eg. module user_command at exit command.
    then there will be no problem.

  • How to disable or handle the back button in JSF 1.2

    Hi,
    I read an article that JSF 1.2 has fixed the problem with browsers back button.
    I am using modal windows and I want to disable the 'BackSpace' (keyboard button). if user clicks on the back button I want to stay on the current page.
    Any tutorial or any help how to solve this?
    Thanks,
    Varma

    Doubleposted: [http://forums.sun.com/thread.jspa?threadID=5379620&tstart=0]. Please continue over there.
    Please do not use the back button to edit a message. You're going to repost the message. Just use the message's edit button instead.

  • My bookmarks are gone, I can not create new bookmarks, I cannot navigate using the back button

    I am running Mac OSX 10.5.8 and Firefox 3.6.13. Yesterday, after I had been on the internet multiple times, I opened Firefox and my Booksmarks toolbar and navigation toolbar were both empty. My booksmarks don't exist when I open the Organize Bookmarks window. My history is also gone. I cannot navigate using the backbutton. I restarted Firefox and there was no change; restarted my MacBook had no effect. I searched for similar problems and tried opening Tools > Add Ons> Extensions, but there is nothing on that screen, and the 'Find updates' button can not be clicked. It is not keeping me logged into pages that I have been previously logged into, but it does remember passwords. If there are other problems, I have not encountered them yet.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • How to handle the OK button of the parameters prompt of a crystal report

    Hi,
    how to handle the OK button of the parameters prompt of a crystal report in vba.NET?
    I want to use the parameter prompt from the crystal report itself and I want to know when the report is ready. I need to export programatically by sending email to a list of employees after the parameters has been set. The emails I send depends on the results of the report.
    Im using a CrystalReportViewer control  in VS2010 and Crystal Report for VS2010 v13.0.1.220.

    Right. But the parameter screen is driven by the viewer. Unless you create your own parameter screen and pass the parameters to the report via code.
    Another thing I am not sure about:
    "Then by code I want to read all the employees id from the report and send email to them with specified pages of the report. (1 page per employee)"
    How do you plan on reading the employee ID from the report? I am not aware of any API that will read a value in a report so that you can then decide what page to send to whom.
    I think you're approaching this kinda backwards. A question to ask is; can you do what you are trying to do in code in the CR designer? If not, using APIs will not work either. I suspect your approach should be a report that uses an employee filter. Run the report for employee x, get the report populated with the data for that employee and email it. Repeat for employee x1, employee x2, etc.
    - Ludek

  • How to handle the global buttons in PFR

    Dear friends,
    i want to handle the global buttons in Process From Request
    the requirement is in standard page , we have created one custom link as global button
    when we click that link we are calling to previous page..now we want handle this global link in PFR
    how to go ahead?? please it is very urgent
    Thanks
    krish.

    Hi,
    We can get handle to global buttons using this:
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.prepareForRendering(pageContext);
    OAGlobalButtonBarBean buttons = (OAGlobalButtonBarBean)page.getGlobalButtons();
    //OAF automatically assigns global buttons to their corresponding function name
    OAGlobalButtonBean button = (OAGlobalButtonBarBean)buttons.findIndexedChildRecursive("<FUNCTION_NAME>");
    You can catch event for your global button in PFR and write the logic there.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to handle the "cancel" button and "close" icon of a popup ?

    Hi,
    I have a popup with "cancel button" and "close icon"(on the top right corner of the popup), I want the same operations to be performed on clicking of any of these two components.
    Is there a way to handle such situation ?
    I read about 2 cases to look into this but they didn't work too well for me.
    1. I read about the "popcancellistener" but that listener is called whenever the popup closes, so suppose I have an "ok button" on the popup to create a record, after the record is created, the popup closes and goes into the "popcancellistener", now the question is "how do we know if it came there because of the 'ok button' or 'some other event'".
    2. I even checked the "DialogListener", now I'm able to distinguish between the 'OK' and 'CANCEL' button in the dialoglistener using the "Dialog.Outcome.ok/cancel", but when a user clicks on the close icon, we do not enter the "DialogListener" at all, so in this case "how do we handle the close icon click event"
    Do let me know if you need any more information from my side.
    Thanks for the help in advance.

    The following mechanism responds to any of the following events: <Esc> key, Close icon ('x'), Cancel button
    JavaScript part:
    function popupClosedListener(event){
                  var source = event.getSource();
                  var popupId = source.getClientId();
                  var params = {};
                  params['popupId'] = popupId;
                  var type = "serverPopupClosed";
                  var immediate = true;
                  AdfCustomEvent.queue(source, type, params, immediate);
    }JSF part:
             <af:popup ....>
                  <af:clientListener method="popupClosedListener"
                                           type="popupClosed"/>
                  <af:serverListener type="serverPopupClosed"
                                          method="#{myBean.serverPopupClosedMetod}"/>
            </af:popup>Finally, Java part:
    public void serverPopupClosedMetod(ClientEvent event){
    }

  • How to handle the 'folder button' in the path command throug Event loop ?

    Hi everybody.
    Again a stupid question but I can't find the answer.
    My VI has a dynamic event loop, to execute the right code depending on user action.
    Everything is working well but now I wish to do the following :
    I use a 'path command' with the path entry (like for text) and the folder button.
     the user click on the path entry     ->   something A happens.
     the user click on the folder button  ->   something B happens.
    As the folder button and the path entry are the same command, how to differenciate those two events in the event structure ?
    Maybe there is a value in the node, but I can't find it ...
    Thanks for helping !

    You can't do exactly what you are wanting to do. The problem is that you can't trigger an action based on clicking the browse button. To implement that you will need to hide the browse button that LV creates and put down a button of your own that you can then track and respond to independently.
    Mike...
    PS: what is it exactly that you are trying to accomplish?
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Sub screen: Handling the Radio button selection?

    Hi,
    Scenario:
    I have a Main screen and a sub screen. From the main screen I am calling the sub screen. On the Sub screen, I have 2 radio button. On the selection of the Radio buttons, I am activating/deactivating few of the screen elements on the sub screen.
    I have grouped the radio button and also tried assigning Function code to it, but in vain..:(
    Issue
    I am not able to handle the event triggered by the selection of the radio buttons?
    Kindly suggest.
    Regards
    s@k

    Hi,
    Are you still have any Issue, Let us know
    In the Main Screen Element List there is a field OK_CODE pass an entry into it
    in the TOP Include
    DATA : OK_CODE type SY-UCOMM. " This captures the OK_CODE from the Screen.
    Since SUb Screen cant have their Own OK_CODE this can be handled in the Main Screen only
    Try in PAI of Sub Screen using OK_CODE if it is not working then Implement the same in PAI of Main Screen
    The system will generate UCOMM for Radio Button since they are in One Group only. Each Radio button cannt have a separate UCOMM assigned. In Screen Painter (if It is Module Pool) assign a FCode for the Radio Button.
    Even if try changing the FCODe Value they still will have the New Changed Value but cannot be changed.
    This automatically triggers PAI . only way to capture it is check
    case ok_code. " Optionally you can omit this
    when  ok_code = 'RAD'.  " This is common for all the Radio BUttons but cant be different
    if r1 = 'X'.
    elseif r2 'X' " Etc.
    endif.
    endcase.
    Ram
    Edited by: Ramchander Krishnamraju on Feb 26, 2010 10:37 AM

  • Sync will not let me create a account. when prompted to create a password and when I hit the ok button it just flashes and the prompt box sows again asking me to create a password. how do I create a sync account when it will not even letme do so?

    why does sync not let me create a account? it will not take a a new password so that I can create a new sync acct.

    Hi there!
    It sounds like you have a Master Password set on your Firefox profile:
    http://kb.mozillazine.org/Master_password
    When you try to set up a Sync account, Sync needs to access your password manager. The dialog you're seeing is asking for your Master Password, not asking to create a new password. Simply entering your Master Password should allow Sync setup to complete.
    Note that you'll need to enter your Master Password in order for Sync to do its thing; it'll ask once when you launch Firefox, but it won't keep bugging you after that.
    Hope this helps!

  • I have lost the part of my toolbar where the back up button and stuff is, lost my Most Visited Sites button, ever time I hit a key if freezes on me.

    I got this computer from Goodwill, and didn't get a recovery disc with it. And shortly after getting the internet, the troubles started. Really slowing down, having to refresh when I first open a site and stuff like that. I chalked it up to cheap and not real powerful. I bought Fix It 11 but the computer will not download it (so it must be old). But I am on unemployment, can't afford to buy new, no money to have somebody look at it. HELP Me. There has to be a way that I can take my computer back to when I first got it.
    Thank You for your time.

    cafranklyn wrote:
    On being prompted to create a new back-up on my Mac by Time Machine I lost a year's worth of back-ups.
    You might find useful advice on this Web page: Time Machine Troubleshooting, particularly item C13.
    The crazy thing is tht on my ProBook I still have them even though it uses the same Time Capsule, which to mind mind they are still there on the Time Capsule.
    Not necessarily.  Each Mac using a particular Time Capsule has its own set of backups that are independent of those of any other Mac.
    Has anybody else had this experience or has any suggestions how I can retrieve the info on my Mac?
    Why are those backups so important to you?  My advice is to move on and live without them.

  • Disabling of back button in Oaf

    How to diasble the functionality of back button present in Internet explorer?
    Thanks in advance

    You cannot disable the back button functionality, but can handle the back button clicks on your page.
    Please check pageContext.isBackNavigationFired() method. Accordingly there is a class called TransactionUnitHelper which can be used to identify the sequencing of the back button and a decision made accordingly whether you want to continue with the page functionality or show a Stale data page.
    Regards
    Sumit

  • How to handle the master data when we are loading the from multiple clients

    Hi,
    We are loading HR data from two different clients 101 and 102 of same source system.
    Here we are facing the problem with msater data maintenance for employee in BW, whose employee numbers are same.
    For example client 101 employee range is 10001 to 10100.
                      In client 102 also same employee range.Then how to handle the above scenario
    Is there any solutions apart from compounding of infoobjets with logical system.
    Thanks in advance for your sugessions.
    Thanks.
    Maria.

    Hi ,
    you  can create copy of 0EMPLOYEE Object.
    Load one client master data to the copied object.
    Example:
    1. Create ZEMPLOYEE copy of 0EMPLOYEE.
    2. create the transformation or rules
    3.  You have to follow same for remaining objects
    regards,
    HREDDY

  • Script task error during the creation of partition by reading a table and using AMO - SSAS 2012

    Hi,
    I need to create SSAS (tabular) and process partitions in an authomatic manner. Moreover, the partitioning is respect to a category, an year and a month.
    Category, year and month are resident on a table to read to create the SSAS partitions.
    So, in a SSIS pkg:
    a. I've created a data flow task to read the SQL Server table having category, year and month data,
    b. I've connected the output of the ole db source as the input for a recordset destination, associated to an object variable,
    c. I've used a for each loop container (ado enumerator) specifying the object variable and three variables, for category, year and month,
    d. inside the for each loop container I've created a script task using AMO (visual basic) to control for any existing partitions, if not presents to create the new ones and then to process them.
    For the first iteration, a new partition has been created and processed successfully, but then, for other category, year and month values the script task fails. I've controlled the code many times and I've tried to put returning messageboxes but I've found
    anything. The error is a generic one and no other info are returned.
    Well, any suggests to me in order to solve this issue, please?
    Many thanks

    Hi, thanks, I've solved adding to the code end the SSAS server connection termination.
    Bye

  • I have created an interaction to show 7 groups and 7 clickable objects. Once all are click the Next Button is show. How can you make that work if you want to embeded the SWF just created but show a button in a master Captivate?

    In flash you can have a shell that has the navigation and some button in the shell are not activated until all clickable objects are clicked.  I am not a flash programmer but it was related to using the path of shell and the sub-project.
    Can anybody help me on that.
    I would like to create Captivate interaction that you can just embedded in a Shell captivate project.
    Do I need to set variables at both levels (Global variable. 

    Hello Lieve, That is the screen shot of my custom interactivity, when all labels are clicked the Continue button will be shown because there is a conditional validating if all Labels have now a value of 1. What I am trying to achieve is to create an interaction where where the continue button (an the back button would reside in another Captivate project. This way there is no reprograming required or use of share-actions.  Everytime we use a similar advanced action or a shared action we have to make sure the object name in the advanced actions or conditional actions are not the same.  I trying to make it a bit dump proof for somebody that does not know any thing about advanced  action and just reuse the label interaction in may projects.  (The only thing they would change would be the image and the content of the label.
    Do you thing I going in the right direction.  (As I said before I have custom javacript in Captivate 5.5) to unlock un button that was part of the LCMS ForceTen). I belive the word .this was part of the object path in the JavaScript.  Can we hide and show a Captivate button.
    I have embedded other Captivate animation in a Master Captivate but the objets were not talking to each other. (You can see a sample http://www.youtube.com/watch?v=Erm4_qdybiA&feature=youtube_gdata). In that sample the continue is always there and can be click anytime.  The 3 steps animation has been done as another project and embedded in my main captivate.  I would like to implement a solution where a my 7 labels have to be clicked in the subproject before showing and enabling the Continue button.
    I hope my explanation is clear enough.

Maybe you are looking for

  • MacBook Pro continually freezes

    Hi, For the last month or so, my laptop has been continually freezing at random instances. Upon freezing, all applications become inaccessible and the force quit does not work, thus I have to switch of the laptop manually via the power button. From l

  • Firefox continually opens tabs about latest updated add-ons

    Every time I open/start Firefox, in addition to my previously opened tabs (if any), it opens (or has started opening) an additional... 4-7 tabs... https://www.mozilla.org/en-US/firefox/33.1/whatsnew/?oldversion=31.0 http://update.downloadhelper.net/i

  • How could i import .olm outlook files to apple mail on osx mountain lion

    Recent days i have decided to use apple mail. So i export my Outlook data .olm files . but could you please help me how i could import this .olm files into apple mail. i am using osx mountain lion

  • Function API in SAP???

    Hi, im am verny new to SAP and try to find a place where i can browse sap funktions with documentation. is the a place like API where i find all sap documented functions? Regards.

  • Specifying Ledger Group in Sample Document

    Is there a way to specify a ledger group at all within a Sample Document (F-01)?  I see no other transaction for creating Sample Documents so I am wondering if there is maybe a configuration step somewhere that would allow for this functionality?