pop up displays AFTER workflow navigation...

I wrote the java code in a bean of support to show a popup before navigation occurs at the next step in the workflow, and instead the popup will appear AFTER the navigation...

The bean of support code is:

public String processPdfFiles() {}

uploadMessageToShow = new RichMessage();

FacesContext fcntx = FacesContext.getCurrentInstance ();

FacesMessage popup = new FacesMessage (FacesMessage.SEVERITY_INFO, "", "PDF data processing");

fcntx.addMessage (null, popup);

BindingContainer links = getBindings();

OperationBinding operationBinding = bindings.getOperationBinding ("process");

Object result = operationBinding.execute ();

If (! operationBinding.getErrors () .isEmpty ()) {}

Returns a null value.

}

return to 'display '.

}

The button code is:

< af:button text = "#{viewcontrollersection13fBundle.process} '"

Disabled = "#{!}" Bindings.Process.Enabled}"id ="b3"action =" #{FileProcessor.processPdfFiles} "/ >

And the workflow code is:

< rule of flow control = '__1' id >

Format < of-activity-id > < /-activity-id >

< control-flow-case id = "__2" >

See the < of-result > < / de-results >

pdfData < to-activity-id > < / to-activity-id >

< / control-flow-case >

< / control-flow-rule >

What I have to change to display the pop up before navigation occurs at the next step in the workflow?

This is the screen where I want the popup to show...

screenwhereiwantthepopuptoshow.PNG

Instead, the popup displays on the next screen, which is the 'show' in the navigation of workflow:

screenwhereiwantthepopuptoshow.PNG

You want to display the context menu as a task of long duration (like loading... or treatment..)?

If so try to follow the following:

AF:clientListener 1 - insert inside the af: button


         

2. Add the popup like:


        
              
        

3 - create Javascript methods such as


        function longRunningTaskFunction(evt)
        {
          var popup = AdfPage.PAGE.findComponentByAbsoluteId('popupId');// if you use page template (with id= pt1) the id will be pt1:popupId
          if (popup != null)
          {
            AdfPage.PAGE.addBusyStateListener(popup, busyStateListenerFunction);
            evt.preventUserInput();
          }
        }

        function busyStateListenerFunction(evt)
        {
          var popup = AdfPage.PAGE.findComponentByAbsoluteId('popupId');
          if (popup != null)
          {
            if (evt.isBusy())
            {
              popup.show();
            }
            else if (popup.isPopupVisible())
            {
              popup.hide();
              AdfPage.PAGE.removeBusyStateListener(popup, busyStateListenerFunction);
            }
          }
        }
        

Tags: Java

Similar Questions

  • Pavilion mini 300-010 in: no display after starting in safe mode

    Recently (2 weeks) bought the Pavilion Mini Office 300-010 and was well before decide me Flex my curiosity.

    the office is connected to my monitor VGA Samsung using the HDMI-VGA connector since the release of funds has no VGA or DVI - I usage options.

    the part where my curiosity killed the cat, was when I decided to start the winodws 8.1 in safe mode and see what happens.

    pressing F8 did not help that the load of the OS had no delay (or maybe it's the UEFI BIOS) and so I decided to put safe mode with "a minimum without network option 'using 'msconfig'." Performed a reboot assuming I see safemode and all I got is a black screen. Noticing that the driver for the conversion of the display cannot be loaded in safe mode and now I'm stuck because I do not have a p LCD monitor that plugs directly into.

    I checked the monitor VGA just in case, and it seems to work very well with my laptop. . Done reboot "N"-number of times and the result is the same. ".

    is there a way to get out of safe mode without actually doing a HDMI compatible monitor by just using the keyboard?

    Hello @LogicMantra,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I read your post on how your office is not able to display after starting in safe mode, and I'd be happy to help you in this case!

    To fix this, I recommend you to borrow an HDMI compatible monitor and update the drivers for your system this way. If this does not work, please follow this document on the computer starts up but screen remains blank (Windows 8).

    Please re-post with the results of your troubleshooting, and I look forward to your response!

    Concerning

  • How to turn off the display after a while without input

    Original title:

    Activate the screensaver mode full-screen.

    Hello

    Windows by default is to disable the screesaver mode when an application runs in fulscreen. I need to enable it. I need to turn off the display after a while without input. So is it possible to do?

    Hello

    Thanks for choosing Microsoft Community to post your question. Windows 7 comes with the power settings using which, you can turn off the display when it is idle for some time.

    Please visit the following links and set the option to turn off the display according to your requirement.

    Sleep and extended: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/sleep-and-hibernation-frequently-asked-questions

    Power management

    http://Windows.Microsoft.com/en-us/Windows7/products/features/power-management

    Hope that the information provided is useful. Do not respond if you need more help.

  • U2413, crazy to display after the awakening of the mode standby

    I just installed and calibrated my monitor U2413.  It seems that every time I wake up the display after my computer went into mode 'sleep', I get a distorted picture.

    Most of the time if I turn the screen then turn on the monitor resets. I use a dual monitor set up and the secondary display is fine.

    How do you know if there is a problem with my monitor or the video card in my computer?

    Thank you

    Crystal

    You can contact Customer Service and ask them to arrange a changemonitor. You keep your current monitors until arrives the replacement. Test the replacement, if it has the same problem, return the replacement to Dell. If it doesn't have the problem, return the original to Dell.

  • Is it possible a 0 is displayed after the decimal point when the value is rounded? (I get: 20-20, 1;) "I need 20, 0-20, 1).

    Using the effect of text "cursor", I am able to view replace "30 ° C" "35.5 ° C". My question is: is it possible a 0 is displayed after the decimal point when the value is rounded? (I get: 20-20, 1;) "I need 20, 0-20, 1). I use this code:

    Temp = effect ("Slider Control") ("Slider");

    sliderValue = Math.round(temp*10)/10;

    [sliderValue + ' ° C ' "']

    Here is the solution:

    numDecimals = 1;

    Temp = effect ("Slider Control") ("Slider");

    sliderValue = (Math.round(temp*10)/10).toFixed(numDecimals);

    sliderValue + "° C";

  • ListField: menu appears after clicking navigation

    Hello members of the community.

    I have a problem with the menu displayed on the screen with ListField after navigation click event is raised.

    Here is what I do to reproduce this problem:

    -navigation click on the selected entry of the ListField control,

    -a new screen appears,

    -on this new screen, the menu appears which is defined for the screen on which is placed the ListField control.

    The click of the navigation is managed in the following way:

    protected boolean navigationClick (int status, int time)
    {
    Field = this.getFieldWithFocus ();

    If (instanceof ListField field)
    {

    MyAnotherScreen an another = new MyAnotherScreen();

    UiApplication.getUiApplication () .pushScreen (another);

    Returns true;
    }

    Return super.navigationClick (status, time);
    }

    protected boolean navigationUnclick (int status, int time)
    {
    Returns false;
    }

    The ListField is declared as follows:

    lstData = new ListField (0, Field.FIELD_HCENTER);
    lstData.setMargin (2, 2, 2, 2);

    Reminder is set in the more standard way - there is nothing special in it.

    I looked for a something, that allows to consume the click for the ObjectListField as ButtonField.CONSUME_CLICK the fact for ButtonField controls, but... so far without success. That's why I decided to write a post here.

    Thanks in advance for any help!

    I solved the problem.

    It was caused by the fact that the screen, on which the ListField control was not closed. After you have added the line, it works fine now:

    If (instanceof ListField field)
    {

    MyAnotherScreen an another = new MyAnotherScreen();

    UiApplication.getUiApplication () .pushScreen (another);
    This.Close ();
    Returns true;
    }

  • How to jump the popup to display the workflow control?

    Since we found that the logon session can be maintained correctly, and workflow control screen can not be popped up after several series of operations as "a new pop - up workflow control window".

    Our workaround, is that... to convince the user to close the review workflow each time at the end, and this may cause inconvenience. Some users have complained.


    Could an expert please how I can work around advice?

    IndiFailure wrote:
    Since we found that the logon session can be maintained correctly, and workflow control screen can not be popped up after several series of operations as "a new pop - up workflow control window".

    Our workaround, is that... to convince the user to close the review workflow each time at the end, and this may cause inconvenience. Some users have complained.

    Could an expert please how I can work around advice?

    As expected from the point of view of Content Server. The review of the Workflow page will always open in a new tab/window when click on "review of workflow" under the actions button.
    You can only claim an improvement to initiate the development of oracle.

  • Battery and Wifi info not displayed after updating IOS 10

    After upgrading to IOS 10 I have more information at the top of my home screen line. He comes to the line with WiFi, battery, and other info. I see it if I open an application, only some however. This status being lost, it is difficult to look at the life of the battery.

    How do I turn it back on?

    If it cannot be enabled by the user, then Apple needs to bring him back.

    David

    Hello! You can activate the in your settings. Go to battery and select on the percentage. The other options that are displayed on this bar, you can also turn on in general settings. Make sure that the WIFI is enabled in the settings. I had this happen before. After trying your settings, if you still do not see the bar with all the status restart the device. If it still does not work, you can try to recover the device on iTunes. The last resort would be to call the Apple support. I'll try to fix it in the settings that the lines may be busy.

  • After the installation of 41.0.1 gmail site has security problem, also cannot get roboform toolbar to display after activation of Roboform in FF

    FF broke so I upgraded to 41.0.1. After that whenever I tried to go to gmail.com , I get a message of no reliable view security. Tried to ignore the message, but received another similar message and was hardly the easy just configure an exception for each of them.

    Also activated roboform version newly installed but cannot get the roboform toolbar to display.

    I'm 10 Windows and the version of ff is 41.0.1

    Hi Andy, which display the certificate refer to the "issuer", certificate Firefox does not trust. He mentioned Microsoft parental control? Unfortunately, everything I know about this certificate was already in my previous answer.

  • Interruption of the external connection USB - C display after sleep

    I connect my MacBook (retina, 12 inches, beginning 2016) directly via a USB - C cable for an external display Lenovo X 1. The MacBook recognizes the display when I plug in the cable. I then close the MacBook and work exclusively in the external display. However, after that the MacBook wakes from sleep, he does reconnect not to display. This means that whenever the computer goes to sleep I have to disconnect and freshly plug cable USB - C to connect to the screen. Anyone know what to do the display remains connected?

    Hello forestforger,

    Thank you for reaching out to the Community Support from Apple. I know just how you feel. I have a few different external monitors, that I use with my MacBook - I depend on everything working properly!

    One way to solve this problem is by resetting the management system (SCM) controller on your MacBook. MSC helps to regulate the functions of some of the other material on your Mac. This article will guide you through how to reset: reset the management system (SCM) controller on your Mac.

    Let us know if this works, or if you experience other problems, the entire community is here to help.

    Best regards

  • Firefox 25.01 - blocker blocks pop-ups even after you stop it

    I use a greasemonkey userscript which, on the use of shortcuts keyboard, triggers the search for all links on a Web page containing a certain keyword and them opens automatically in new tabs. The script seems to work fine except when the open links are too many (more than 5 for example), then firefox displays popup blocker bar and prevents the opening of all the other links. I tried to add the site to list exceptions and even disable the blocker, but he keeps blocking the tabs even though the exceptions list shows the added site. Is there a work around for this problem? Any suggestions? Help, please.

    Thanks in advance.

    It is possible that you are having this pop up maximum (the default is 20).

  • HP Envy x 360-m6-w105dx: pixelated display after Bios Update

    Hello

    Last night I have updated the bios of my laptop to the latest version. After that, a question arose when the screen will display a wide range of colors.  This problem always occurs when the computer wakes up and must be opened and closed about twice to get it back to normal. Restart does not resolve. The problem occurs when the computer is running on the dedicated graphics card and integrated graphics card. The darker square on the screen is the slider, which normally moves with the touchpad. I appreciate any help and will provide more information if necessary.

    HI @Hotpancake, @Hazemadeeb,.

    Thank you for your patients.

    I did further research and it seems to me that you need to update a driver. First try this step.

    Download and install the following driver.

    FTP://ftp.HP.com/pub/SoftPaq/sp73001-73500/sp73373.exe

    Please post back with the results.

    Good luck!

  • P10 - 304 - no display after wake up

    Hello
    I sometimes have a display problem with my P10-304. Panel display won't wake up
    After waking up from hibernation or suspend-to-RAM. Blue led power is on, HD and CPU fans are working well.

    I have preinstalled, xp of origin with v6.4.10.4485 nvidia display drivers) and upgrading the bios (1, 90 - WIN)

    In this case, I have to turn off the machine and _delete hibernate data_ to start windows.

    What should I check to fix this upward?

    Greetings
    Jarek.

    Hello

    Well, it s strange. It's not easy to say what can be the problem.
    It would be very interesting to know if the problem will occur if you retrieve the BONES with the recovery CD Toshiba delivered.
    Did you use a Toshiba video driver or a driver nVidia graphics?

    You must use the graphics driver Toshiba because this driver is designed for the use of the laptop and it s something different as a driver of nVidia.

    Good bye

  • PAVILION TOUCH AIO 23 ": turn the rear display after having turned it off

    I apologize for this issue, but I can't seem to find what I'm looking for.  My question is this:

    I have an AIO (ALL-IN-ONE) 23 "touch Office.

    I decide to turn off the display.

    After [enter here] I decide I want to turn my screen back on [enter reason here].

    The question is: How can I enable the display on?  I flip the mouse? Do I press the power button?

    I want to just be sure of my options before I commit to simply turn off my screen.  Thank you. And once again, if this question was already posted I can't find anywhere.

    Malygris1 wrote:

    Hi there @HannTheftAudio,

    Welcome to the Forums of HP Support! It's a good place to find the help you need, other users, the HP experts and other members of the support staff. I understand that you have a problem with your computer startup. I'm happy to help you.

    As you have already ordered a new power supply and the Board of Directors, you can wait for those to come. But if you prefer try this document: desktop HP - computer starts not (Windows 10.8)

    Please let me know how it works for you and if it does not solve your problem, please mark this message as a solution. Bravo would be appreciated as well.

    I apologize for the inconvinience, but has nothing to do with the general question.  The question should simply turn off my screen and how do I turn it back on.  There is an option to turn off my screen, which leaves the computer running (which is the general point of view).  All I wanted to know is how I would re - turn on the screen.

    I was able to answer my own question however: all I had to do was

    1. just move/click the mouse

    or

    2. press a button on my keyboard

    or

    3. just my touchscreen (as I have a touch screen).

  • Tecra S5 - Black display after starting windows XP

    Hello
    I had problems with the display driver last month after the new update, the driver of the original view was gone.
    After some restorations of older versions the screen worked, but not with the original display driver. I was Born the driver on the laptop and the character to install this new, but something is wrong.
    When I start the PC, the bios password is ask, filled, windows XP is started and the screen is dark without courier. Look of the screen reader does not start automatically to start Windows XP.

    What can I do? Only option work you the PC recovery CD?

    You can start a computer laptop properly using SafeMode (F8 at startup) option?

    What can you do?
    In my opinion, you have only two options: to install the Toshiba display driver or install the new OS by using the original recovery disk (radical option but it is better).

Maybe you are looking for

  • After you have installed the latest version of Mozilla, my Roboform toolbar is no longer available

    I have the latest version of Mozilla and the latest version of Roboform. RoboForm works fine in my Internet Explorer, but will not display the Roboform toolbar in Mozilla. I tried to uninstall Roboform via Control Panel and reinstall... same question

  • Mail keeps crashing

    My mail will not stop crashing. Which resets parameters average as well?

  • Foglight monitoring log file

    Hi all We use the IC 5.6.7 cartridge for our monitoring infra goal. We have a requirement for the windows log file monitoring so that we can trigger alerts based on the words and we have not inherited cartridge more. Can we control logs using IC cart

  • Windows 7 installs due to the error of the BIOS

    I just bought Windows 7 and was able to download without a problem, when I get to the part of the Installation it comes up with an error message saying that I need to update my BIOS. I tried to look up places to download and followed other forums but

  • Oracle RAC upgrade 11.2.0.3 to 11.2.0.4

    Oracle installed:The RACOracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production, 2 nodesPL/SQL Release 11.2.0.3.0 - Production"CORE 11.2.0.3.0 Production."AMT for Linux: Version 11.2.0.3.0 - ProductionNLSRTL Version 11.2.0.3.0