How to popup dialog?

Hi,
I made a synchronous task with dialog asking W.Flow creator to select the agent.
When I run workflow this dialog does not popup. Instead it goes to my Business Workplace.
Question:  how to make this dialog to popup immediately after work flow has been triggered?
Thank you.

Hello,
If your workflows triggered using an event, this is an asynchronous process regardless of your task setting. This is because events are published using RFC, therefore the connection to the user dialog is lost.
Your alternatives are:
Don't use workflow for the agent selection, but to do the pop-up in a user exit and pass the agent selection to workflow at using an event parameter.
Don't use an event to trigger workflow, but start it directly using a WAPI function module.
Cheers,
Mike

Similar Messages

  • How to enable sorting in Search Popup dialog of inputComboboxListOfValues

    Hi,
    Does anyone know how to enable sorting in Search and Select popup dialog of af:inputComboboxListOfValues?
    This is my problem:
    1. I have a af:inputComboboxListOfValues, when I click on 'More...' (or Search...) link at the bottom of the combobox, the Search and Select popup dialog will appear.
    2. This popup dialog will only contain one column, say that column is "Region". This column will contain all the Region Names that is sorted by Region ID (which is not visible).
    3. When user mouse-over on the Header title ('Region') of this popup dialog, two arrows will appear. Up arrow which is equivalent to 'Sort Ascending' and Down arrow which is equivalent to 'Sort Descending'
    4. But when user click on either of these arrows, nothing is happening. The sorting is not working at all.
    Could someone please help me how to enable this sorting?
    Any help is greatly appreciated.
    Thanks,
    Rei

    Unfortunately full text search is not supported in Azure SQL DB.  
    Cotega - Azure SQL DB Monitoring, Notification and Scheduling service

  • How to prevent popup dialog from closing when commandbutton clicked

    Hi,
    I have a af:commandButton inside a popup dialog and the button action calls a method in backing bean. When this button is clicked I would like to run the method in backing bean and return control to the popup window. The method seem to run fine but the popup dialog closes automatically. Is there a way to prevent popup dialog from closing for this action?
    Thank you
    Kevin

    Hi Frank,
    Thanks for the link. I am not sure how to use this in my case. Following is part of what I am trying
    <af:popup ...>
    <af:dialog>
    <af:form usesUpload="true">
    <af:inputFile ..../>
    <af:commandButton text="upload" action="#{backingbean.uploadAction}"/>
    <af:outputText value="#{backingbean.filename} was successfully uploaded"/>
    </af:form>
    </af:dialog>
    </af:popup>
    When user clicks upload button I want to display a message that the file was successfully uploaded and keep the popup window open. But what happens now is once the file upload completes, the popup window closes automatically. This file upload part is not a must, user could skip doing the upload and instead input some text in a text area below (not shown in the code above). User could also just click cancel and exit the popup any time, so there is no mandatory field that I could check before closing the popup. Is there something I could do for this?
    thanks
    Edited by: user10720929 on Dec 23, 2008 10:36 PM

  • How to popup a prompt dialog when closing IE?

    Hello,every one
    How to popup a prompt dialog when closing IE by clicking the "Cross"(close) of the left-up corner?
    can you give me any suggestions?
    Thnak you!
    zhongboqing

    hi,everyone,
    I am wrong. It should be:
    How to popup a prompt dialog when closing IE by clicking the "Cross"(close) of the right-up corner?
    thank you!

  • How to pass data to popup dialog

    Hi All,
    How do I pass some data from the main window to the popup dialog. Please help.
    Thanks in advance.

    I think you can create a Group with a scene that contain the value from the main window then use the getContent.add() method of Popup.
    Group root = new Group();
    Scene scene = new Scene(root,200,200);
    //add the value form main windown to scene
    Popup pop = new Popup();
    pop.getContent().add(root);
    Glad if this can help you

  • How to display a screen as Popup Dialog box in Module Pool

    Hi All,
    I have a requirement to display a popup dialoge box into module pool.
    i need to display a screen as a popup on the current screen on a button click.I have developed a screen and in atribute tab i have defined the screen type as modal dialog box but  it is displaying previous screen screen is hide i want to display on the same screen as a popup.
    Thanks
    Narendra

    Hi Narendra,
    Try to trigger the popup once it is done with the previous action might be anything.
    i have shown one sample code where after i click on save button when the data is saved successfully
    after that it has to trigger me a popup asking for conformation for the next action.
    A small piece of code
    INSERT INTO ZORMD1 VALUES WA_ZORMD1.
        IF SY-SUBRC = 0.
          G_LOCAL1 = 0.
          MESSAGE S000.  " Data saved successfully and immediately call the popup
    CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
            EXPORTING
      DEFAULTOPTION  = 'Y'
    TEXTLINE1 = 'SUCCESSFULLY SAVED'
              TITEL = 'POPUP FOR conformation'
             START_COLUMN         = 25
             START_ROW            = 10
            CANCEL_DISPLAY       = 'X'
           IMPORTING
    ANSWER  = G_PRINT
    IF G_PRINT = 'J'.
    PERFORM PRINT_OUT.
    ENDIF.
    Do the modification according to your requirement.
    Cheers!!
    VEnk@

  • How to make panel collection with auto width and height in popup dialog ?

    Hi,
    I have ony af:popup in that I have added af:dialog. And in this af:dialog I have added af:table which is surrounded by af:panelCollection.
    Means my popup structure is like as below
    af:popup
    af:dialog
    af:panelCollection
    af:table
    If I set resize="on" in af:dialog then I can able to resize my popup dialog but the panelCollection inside the af:dialog is not become auto adjusted.
    I am able to make panelCollection width auto adjusted by using AFStretchWidh style class but not able to adjust its height.
    Hope you can understand my problem and pls try to provide me its solution if you have already implemented this.
    Regards,
    DevD

    I believe you are using af:panelGroupLayout because there are some other components except af:panelCollection, so try this combination
    <af:popup id="p1">
      <af:dialog id="d2" resize="on" stretchChildren="first">
        <af:panelStretchLayout id="psl2">
          <f:facet name="bottom"/>
          <f:facet name="center">
            <af:panelCollection id="pc1">
              <f:facet name="menus"/>
              <f:facet name="toolbar"/>
              <f:facet name="statusbar"/>
              <af:table var="row" rowBandingInterval="0" id="t1">
                <af:column sortable="false" headerText="col1" id="c1">
                  <af:outputText value="#{row.col1}" id="ot5"/>
                </af:column>
                <af:column sortable="false" headerText="col2" id="c3">
                  <af:outputText value="#{row.col2}" id="ot4"/>
                </af:column>
                <af:column sortable="false" headerText="col3" id="c2">
                  <af:outputText value="#{row.col3}" id="ot3"/>
                </af:column>
                <af:column sortable="false" headerText="col4" id="c4">
                  <af:outputText value="#{row.col4}" id="ot2"/>
                </af:column>
                <af:column sortable="false" headerText="col5" id="c5">
                  <af:outputText value="#{row.col5}" id="ot1"/>
                </af:column>
              </af:table>
            </af:panelCollection>
          </f:facet>
        </af:panelStretchLayout>
      </af:dialog>
    </af:popup>Put only af:panelCollection in CENTER facet of af:panelStretchLayout and use other facets of af:panelStretchLayout for other components.

  • Acquire data from a tab delimited file using a popup dialog object on a stamp

    I am trying to import data from a tab delimited file using a popup dialog object on a stamp.  I have purchased the book by Thom Parker--All About PDF Stamps in Acrobat and Paperless Workflows and have been working through the examples in the appendix.
    My problem is understanding how to bring the data into the dialog object from the file.
    I don't want to plagiarize his book--so am electing at this time not to show my code.  The  script is reading the file, just not bringing in the records from the file so that I can select which line to import into the stamp.
    I have typed in the code exactly how the book describes, but when the popup dialog object is selected, there is nothing in the drop-down.  When I click OK, the first record is put on the stamp--except for the fields that I am wanting to appear in the dialog object popup box.
    I have searched the forums, and also the JavaScript reference.  There are examples of the popup dialog object, but none of them show how to import the data from a file--just for the items to be typed in as the list.
    Any help would be greatly appreciated!  i have been trying to work on this for several months now.

    Karl
    Thank you for getting back with me!
    In answer to your questions:
    1. Your trusted function is not a trusted function. Did you put this
    function into a folder level script so that it will get executed at system
    startup?--
         yes--I saved the script as a .js file and put it in the following path (I have Acrobat XI Pro for Windows)
    C:\Documents and Settings\tjohnson\Application Data\Adobe\Acrobat\Privileged\11.0\JavaScripts\GetTabData.js
    2. The script cannot find your tab delimited data file, or it cannot
    extract the data. Did you add the data file in the correct location? The
    location from the script in the book would be c:\mydata\Contacts.txt
    Yes--the file is in the same path as the book.
    Below is my code that references the file.
    var cPath = "/c/mydata/Contacts.txt";
    the slashes in the book go in the direction of the text above--should they go in the direction that you have in your question?
    Also,  the name and email address need to be separated by one Tab character.
    They are. 
    3. The fields need to be named the same way as the columns in the data file (the two names are in the first line of the file).
    My headings are RevByFromTab and EmailFromTab--which match the names of the two fields on the stamp.
    So, check that you are not getting any errors in the JavaScript console
    (Ctrl-J or Cmd-J), and verify that the tab delimited file is in the correct
    location
    When I run in the java script console--and I just run the script on the stamp,
    it says
    TypeError: event.source is null
    17:Console:Exec
    undefined
    When I place the stamp on the page, the popup box is working, but when you click on the down arrow, there is nothing listed.  When I click OK, the RevByFromTab is populated by the first item in the file, but the EmailFromTab field says undefined.
    Thank you
    Message was edited by: tdjohnson7700

  • Af:popup dialog width and height

    hi all,
    i want to know how to define popup dialog width and height.
    here is my code.
    <af:popup id="popup1" contentDelivery="lazyUncached"
    launcherVar="source" eventContext="launcher" >
    <af:dialog title="General Details - Standard Statement" type="none" id="AddInstDialog"
    inlineStyle="width:600px;height:400px">
    I do something like in above code.
    but it is not working.
    With Regards,
    WP

    add panelWindow
                          <af:popup id="popup5" contentDelivery="lazyUncached">
                            <af:panelWindow id="panelWindow5" title="Stop" modal="true" inlineStyle="width:369px;height:350px;">

  • Cancel / Reset links in popup dialog

    Hi, I'm new to ADF 11g (using Jdeveloper 11.1.1.4.0) so this is probably an easy question. I have a popup dialog (using <af:popup>, <af:dialog>), and in the dialog, I want to have Cancel and Reset links. I know that if I set the type attribute of <af:dialog> to "cancel", I could get a Cancel button for free. But I want to have a Cancel link instead of a button so I have the type attribute of <af:dialog> set to "none" to not show any of the default buttons. How could I best implement a Cancel link as a commandLink or goLink? The documentation for <af:dialog> at http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_dialog.html says this about the cancel button behavior and I just want to have the same for my Cancel link:
    The ESC key, "cancel" button and close icon queues a client dialog event with a "cancel" outcome. Dialog events with a "cancel" outcome will not be sent to the server.
    Also, I want to have a Reset link in my dialog that just resets the form fields in the dialog. How would this be done? I saw that there's a <af:resetButton> component available, but this renders as a button and again I want to have a Reset link instead of a button.
    Thanks.

    Ok, this worked for me:
    <af:resource type="javascript">
    function closePopup(actionEvent) {
    var eventSource = actionEvent.getSource();
    var popup = eventSource.findComponent("p1"); // p1 is the id of my popup
    popup.hide();
    actionEvent.cancel();
    </af:resource>
    <af:commandLink text="Cancel" id="cl1" partialSubmit="true">
    <af:clientListener type="click" method="closePopup"/>
    </af:commandLink>
    Interestingly, I found that if I did not have partialSubmit="true" on the commandLink, then the popup would disappear on its own. I did not even have to have a clientListener on the commandLink. I guess this is due to the following mentioned at http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_dialog.html
    Using partial submit custom buttons is recommended because by default, a popup will not restore visibility after a full postback. The immediate parent (af:popup) controls this behavior. If the parent popup's autoCancel property is enabled, full submit commands will cause the popup dialog to auto-dismiss. When the autoCancel property is disabled, full submit commands will restore visibility on postback. See the af:popup tag documentation for more information on controlling aspects of auto-dismissal.
    Does anyone know what the difference between using popup.hide() and popup.cancel() would be in the above javascript? They seem to have the same effect. Also, do I really need to have actionEvent.cancel() in the above javascript? I have seen that in some other examples, but not really sure if it's really necessary as having it there or not there doesn't seem to make a difference either.

  • Launching DHTML popup dialogs using the external dialogframework

    Hi,
    I saw this article
    http://thepeninsulasedge.com/frank_nimphius/2009/11/13/jdeveloper-11g-r1-ps1-new-feature-launching-dhtml-popup-dialogs-using-the-external-dialogframework/
    and try to follow the example to apply to my requirement.
    The only difference between my requirement and the example is that the launching point of the taskflow as an inline popup is from a page fragment, not from a regular jspx page. I have an exisiting Task Flow A which contains Page Fragment A. There is a button on Page Fragment A which when clicked, launch Task Flow B (which contains Page Fragment B) as an inline popup. When I defined it in Task Flow A to call Task Flow B, set "Run as Dialog" = "true", and "Display Type" = "inline popup", but I saw there is an error in design time: "Task Flow call lookup-configuration-task-flow cannot call bounded taskflow lookupTypes-edit-task-flow as a dialog, since lookupTypes-edit-taskflow refers to page fragment"
    Is there a limitation that a page fragment cannot call another page fragment as an inline popup?
    Please share and advise.
    Thanks.
    -Mina

    Hi Frank,
    Yes, I tried it already by calling a bounded task flow using page fragments, and I saw a red "X" sign on the task flow in the Jdev editor. That's how I come to realize it's not feasible. So looks like I got a confirmation that this is a limitation. In that case, we will try to design our application to either call a taskflow with page fragment as dialog from a jspx page or call a taskflow with jspx page as dialog from a page fragment, but not calling task flow with page fragment as dialog from page fragment.
    Thanks.
    -Mina

  • Minimize and maximize icon for popup dialog

    How can i create a minimize and maximize icon for a popup dialog?By default close[x] icon is there.What should be done to have a minimize and maximize icons?

    You cannot do this (at least, there is no such one capability out of the box). But, you can play with panelWindow contentWidth/contentHeight at runtime, take look at: http://martindeh.blogspot.com/2011/03/dynamic-resizing-for-popup-dialogs.html

  • Show popup dialog at step type dropping to the sequence

    I have a LabVIEW step type with some module parameters and step's variables what needs to be setup to configure this step. Can I make it to display the popup dialog to enter the required values at the moment when I drop the step type to a new sequence?
    Examples: 1. I have TestID in steps variables what needs to be setup. Popup dialog is more convenient than going to Variables and searching for the TestID in tree. 
    2. I have one step type which does a different actions depending of the enum parameter in the LabVIEW module. This parameter is set to default in steptype. I'd like the step name in my sequence to be the value of the enum. Something like RunState.Step.TS.SData.ViCall.Parms["Configuration Update"].ArgVal in the step type Default Step Name Expression helps and displays the enum text as step name when I drop the step type in the sequence. But changing the Configuration Update parameter in this step to another value does not followed by changing the step's name, looks like the step type's Default Step Name Expression is evaluated only once when step is created from the step type.
    Sergey Kolbunov
    CLA, CTD
    Solved!
    Go to Solution.

    Thank you Doug, your advise works just perfect for the first case. OnNewStep, who may think about it? Is it documented somewhere?
    For the second case it is not so straightforward. I don't care so much about automatic update of the step name when it is already in a sequence, setting this name and the appropriate module's parameter at insert will be enough. Tool to update names is not a problem, I'm using such kind of tool to automatically update sequences when my step types got changed. I need the subject feature because I'm trying to create a custom sequence editor for end users with minimal knowledge of TestStand.
    Talking about second case, it's look like setting of module's parameter via expression does not work. Now I'm trying to set it using TestStand API in the OnNewStep substep.
    Now I have another problem. How to access the TestStand Adapter API automation server in LabVIEW? I'm trying to get Sequence Context ->Step ->Module ->Parameters but to get Parameters property of LabVIEWModule class the TestStand Adapter API server required while I see properties list for the Module class of the TestStand API server. It seems to be very easy to switch server in TestStand but how to do it in LabVIEW?
    Sergey Kolbunov
    CLA, CTD

  • Common popup dialog(but differnt model data) for entire application

    Hi
    i have use case like displaying the viewhistroy for the current page form data.
    so i need to implement common popup dialog which will show the current page data history in a pop up.
    can anyone suggest me how to implement? i am using the jdev11.1.1.3.0 version
    thanks,
    raj
    Edited by: Raj Gopal K on Mar 21, 2011 2:19 PM

    How about building a dynamic table to display the data. Probably a reusable 'task flow' which take some parameter to decide the query, and build the dynamic VO. This VO can be wired to the UI table - a couple of possibilities can be see here - http://jobinesh.blogspot.com/2010/06/model-driven-approach-for-building.html

  • Customize Popup dialog

    hi,
    i created a popup dialog. but i dont want the maximize and minimize options for that dialog.can anyone say how to do it?.

    > can anyone say how to do it?.
    Using a sack of potatoes.
    Why?
    Because a motorcycle has no doors.
    Translation: You are not only asking this question in totally the wrong forum, it is devoid of any and all details to such an extent, one cannot even recommend what forum you should use. No language mentioned. No operating system. Pretty much nothing...

Maybe you are looking for