Portal 7.3 masthead customization - How to remove Logoff dialog box "Are you sure you want to logoff?"

Portal 7.3 masthead customization - How to remove Logoff dialog box "Are you sure you want to logoff?"
I have recently upgraded our portal to 7.3 sps10 and we are using the Ajax framework
I have a requirement to Remove the Logoff Dialog box "Are you sure you want to logoff?"
I am able to Import masthead.war into NWDS and get the project ready for development with the appropriate jar and libraries.
I am able to deploy the project also. I need help finding How to turn this dialog box off and just log the user off. I was able to accomplish this in Classic frame work page HeaderiView.jsp.
I have looked at afpmasthead.org.sj and masthead.jsp. I am not a js/jsp developer.
I can see the logoff dialog box being created but I am having trouble finding the logoff code.
Please advise me on the code changes required to remove the  Logoff dialog box "Are you sure you want to logoff?" from the Ajax framework.
Any help on this matter would be greatly appreciated.
Thank you
Sarah

Thank you Troy for your Helpful Threads.
Problem Solution:
Followed the thread on How to download and change AFP Masthead on SAP Portal 7.3
Located the file which contains the logoff code from thread http://scn.sap.com/thread/3265584
The File with the Logoff coding in it is a Javascript file afpmasthead.js
Identified logoff code without dialog box using this thread https://scn.sap.com/thread/3307601
NovaDialogBox.performLogout();    (perform logoff)
I was able to remove the Logoff dialog box Do you really want to logoff? And replace it with logging the user off.
afpmasthead.js  All the code is on 1 line,  To fix this go to -->Source -->Format
Comment out the following lines of code and replace with logoff code
logoffLinkElement.onmouseup= function(aS) {
logoffLinkElement.onmouseup= function(aS) {
NovaDialogBox.performLogout();
Sarah

Similar Messages

  • How to remove the tasks which are not manually recoverable?

    How to remove the tasks which are not manually recoverable?
    I tried performing manual recovery for the BPEL processes but there are few tasks which cant be manually recoverable..
    Could you please tell me how to remove those tasks and also tell me which information in the console is the task_id in the database?

    This article explains how to cleanup bpel process instances, you can find task instance id by searching for data in payload using api.
    Managing a BPEL Production Environment
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/blanvalet.html
    Cheers,
    Rad

  • How to Remove the White Box from Links

    How to remove the white box around a link?
    I want to put links in my colored footer but it leaves a white box behind the link...
    Just want a text link with no background color.
    Thanks!

    Check your style sheets. Something is giving a link a background color. Look for something like this:
    .myClass a {
        background-color: #FFFF
    Then remove it.

  • I cannot remove the dialog box from my ipad. It says 'not enough storage' I click on settings and close, but still there. I need help. thx

    I cannot remove the dialog box from my ipad. it says 'not enough storage'. I click on settings and close but still there. How can i remove this message? Thnx

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • IE9, Win7: How to get rid of "What do you want to do with ...doc? Open, Save, Save as

    My web application downloads a .doc file.  With IE9 and Windows 7 it displays the dialog "What do you want to do with xxxx.doc? Open, Save, Save as"  Prior to IE9 I could check the box that said "remember" but with IE9 I do not see a way to prevent
    the dialog from occurring every time.  How can I turn off this dialog like I can in all prior versions of IE?  I have looked through the forums and the answer might be here but most threads seem to be a little different problem.  Some of my
    customers are switching to FireFox and Chrome because of this problem so I would like to find a solution.  I found another thread that had a potential solution (1. Click Tools - Internet Options - Security Tab. 2. Click Local intranet, click Sites, uncheck
    "Automatically detect intranet network" if you checked it. Then check "Include all network paths (UNCs)".  Click Advanced, add the intranet to the zone. Then Close and OK.) but that did not solve my problem.

    Hi,
    Based my research, due to increasing in security, we cannot disable Download Manager of Internet Explorer 9 from changing settings, editing registry keys or editing settings in Group Policy. This can prevent websites downloading automatically. Instead, we can
    set default download location.
    For reference:
    http://social.technet.microsoft.com/Forums/en/ieitprocurrentver/thread/21798a87-8c04-4995-a988-ed9275062f82
    And for more detailed information, please refer to
    Safer and Faster Downloads in IE9.
    Hope this helps.
    If a post solved your problem, click “Mark as Answer” on the post. If a post helped you, click "Vote As Helpful" on the left side of post.

  • How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive.

    How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive without clicking on save option everytime when saving an image. I'm using firefox ver 35.0.1 for windows 7.

    Click on the Firefox menu. Then click "Options". Go to "Applications" tab. Search for jpg and png file type. You will find they have "Always ask" action attribute. Change it to "Save file".
    Hope it will work fine for you.

  • How to add FONT DIALOG box to my notepad application

    hai friends.......
    i am developing a notepad application like windows notepad. for that application i want add FONT dialog box.could you please tell me how to add font dialog box to my application.
    thank you.........

    Start by going through the Swing tutorials linked from the topic listing page of the [_Swing forum_|http://forums.sun.com/forum.jspa?forumID=57]. When you are confident of being capable of displaying a dialog with the components you need, correctly layed out, check out the API for GraphicsEnvironment#getAllFonts and Font@canDisplyUpTo.
    Any Swing related questions you might have along the way should be posted in the Swing forum.
    db

  • HT1589 This doesn't work in Windows 8. Anybody know how to get this dialog box in Windows 8?

    This doesn't work in Windows 8. Anybody know how to get this dialog box in Windows 8?

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • How to create conditional dialog box

    Hi Everyone
    I am creating a database application in APEX 4.0. In that application a page requires a dialog box, which has to appear when a user clicks on Submit button.
    It has to consider validations and appear after validations and submit button is clicked. Here the Submit button submits the entire page after validations by updating the database table.
    Please help me out how to create a dialog box which has to appear by the click of Submit button.
    Thanks in advance
    Regards
    Sandeep

    Hi Kiran
    Thanks for responding,
    Sorry for providing the complete details.
    Provided link is much more helpful, but its not meeting my needs. My requirement is to just show a popup box after the user clicks on submit button.
    Saying 'Thank you for answering' if he is done with all questions or if he has more questions to answer pop up with different message 'You have more questions to answer'.
    In both the cases page as to get submitted when clicked on Submit button.
    Thanks in advance
    Regards
    Sandeep

  • How to launch a dialog box programmatically

    I'm working on my first ADF form and my first Java program (the backing bean) and I need some help with how to launch a dialog box from the backing bean instead of a button.
    Here is the background of what I am doing: I created an ADF form whereby a user chooses an Excel spreadsheet from their local drive and submits it. The backing bean reads through the spread sheet fields, does some validations, etc. then writes out a fixed length file on the weblogic server. This part works fine. But I wanted to add a dialog in after the spreadsheet is read but before the file is written that displays the number of records that were read and give them the option to hit OK to continue or Cancel which will stop execution of the form and maybe display a cancelled msg. Not sure how to do this part. How can I invoke the dialog from the code? Do I still need to have a button to get an action listener, but just not display it on the form? I'm a bit confused on this part. Any advice or examples would be appreciated. Thanks.

    here popup involves
    http://subu-jdeveloper11gadf.blogspot.in/2012/06/checking-application-module-dirtiness.html
        public void DisqualifyListener(DialogEvent dialogEvent) {
            // Add event code here...
            DialogEvent.Outcome outcome = dialogEvent.getOutcome();
            if (outcome == DialogEvent.Outcome.ok)
               RichPopup popup = this.getPp1();
               RichPopup.PopupHints hints = new RichPopup.PopupHints(); //empty hints renders dialog in center of screen
                popup.show(hints);
        }Edited by: ADF7 on Jun 26, 2012 8:57 AM

  • Compare PDF: How to suppress compare dialog box programmatically...

    Hi,
    We are using Acrobat 8.0. Using Visual Basic, we are opening two PDF files in Acrobat 8.0 professional.We are comparing those two documents using MenuitemExecute(DIGSIG:CompareDocuments ) command and generating the side by side comparison file programatically.
    During this process after executing the command "MenuitemExecute(DIGSIG:CompareDocuments )" adobe is displaying "Compare Documents" dialog box where the user need to click OK on it in order to continue with the comparison.
    My requirement is to suppress the dialog box and automate the process. Our application is developed in Visual basic.
    Could you please let me know how to suppress the dialog box using Visual basic. Is it possible using VB or any alternatives for this. Because we need to compare many PDF documents so clicking OK every time requires user intervention.
    Thanks for your help in advance.

    Acrobat Scripting Forum http://www.adobeforums.com/webx?13@@.3bbedaa6
    Acrobat SDK Developer Forum http://www.adobeforums.com/webx/.eed56a0/

  • How to insert a dialog box which prompt the user enter the general information in the SDI application?

    Im using the SDI application to build a system and now i would like to insert a dialog box which allow the user to enter the general information about themselves and then it will be saved into a text file. How to insert the dialog box and show the dialog box at the beginning of the program.

    Hi Lee,
    The easyest way to achieve this is to declare an object of your dialog box derived class (e.g. CUserInfo, public CDialog) into the InitInstance method of the main application class.
    Depending on the behavior you want you can place the code before dispatching the commands from command line (in which case the main frame of the SDI application will not be shown), or after, in which case the UserInfo dialog box will be shown over the main application window as modal.
    The code snipped bellow can be more helpfull:
    BOOL CSDIApp::InitInstance()
    AfxEnableControlContainer();
    // Parse command line for standard shell commands, DDE, file open
    CCommandLineInfo cmdInfo;
    ParseCommandLine(cmdInfo);
    //prompt user for data
    CUserInfo dlg;
    if (dlg.DoModal() == IDOK)
    //do something here with the data
    else
    return FALSE;//i.e. quit the application if the user presses the 'Cancel' button
    // Dispatch commands specified on the command line
    if (!ProcessShellCommand(cmdInfo))
    return FALSE;
    // The one and only window has been initialized, so show and update it.
    m_pMainWnd->ShowWindow(SW_SHOW);
    m_pMainWnd->UpdateWindow();
    return TRUE;
    Hope this helps,
    Silvius
    Silvius Iancu

  • How do I bring back the "Are you sure you want to delete this photo" dialog box in Iphoto.  I accidentally clicked "never ask again" so it never appears.  I want it back.

    How do I bring back the "Are you sure you want to delete this photo" dialog box in Iphoto.  I accidentally clicked "never ask again" so it never appears.  I want it back.

    The following previous discussion may help: Re: Delete Confirmation Warning.  I want back.

  • How to remove logoff button from the Portal?

    Could anyone help me to remove the logoff button from the Portal? I am using netweaver portal 7.0 Thanks!

    Hi Michael,
    Thank you for your reply!
    Can I do it through the portal or I have to do customized programming in NWDS? Could you please show me step by step in details?
    In the future the portal will be use SSO with active directory so user does not have to login/logoff. I think the session in the server will be closed after a couple of minutes. What do you think?

  • How to remove and fill in areas of a picture

    I am using the 30 day trial of Photoshop and trying to use online Help to learn the "how to's" BUT I'm finding it dificult to always follow the videos and explanations.
    I want to remove unwanted areas of a photo and then fill in those areas to match the surrounding image.
    I have figured out how to use the SELECT tool to cut out the unwanted areas BUT I can't figure out how to fill in the vacant areas.

    Ex IBM er work there for 40 years myself. Even if you worked with computers for years. Your not going to learn Photoshop in 30 days.  It will take longer then 30 days for you to become comfortable using Photoshop and much longer to become proficient with it.  Photoshop is an on going learning exercise the more you use it the stronger you become.
    Many of the video tutorials are done by users that are proficient using Photoshop and they use images that tools like content aware distortion will work well on if you know how to use the tools well. Without that knowledge you will have a hard time using the tools.  It also easy to miss point watching a video. Watch them more then once.  You also need knowledge of masking and other thing they have pre done for their videos.  They make it look easy its not that it hard its most beginners lack Photoshop knowledge
    Before any of the content aware stuff  I did this before and after images full size link http://www.mouseprints.net/BeforeAndAfter/AirplaneModFull.jpgopen in new window to see full size.
    Before
    After

Maybe you are looking for