Dialog issue

Dear All
i have ADF / JSF project, and i need to change the behavior of Dialog ..
i have AF Dialog with Model = false property in my interface
and i need to make this new behavior, when i press one click out of dialog (in mother page), Dialog auto close ...
JDeveloper 11.1.2.3.0
thanks

HI,
Use autoCancel property is set to enabled for popup
See
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_popup.html

Similar Messages

  • Photoshop CS4 new document dialog issue...

    http://img50.imageshack.us/img50/7835/optionpu6.gif
    Can this Photoshop CS4 new document dialog issue be improved? Info in the pic.

    there's a feature request section at the top of the fourm allen. these kinds of posts should be done in there, so the programmers and engineers at adobe have them all in one place.

  • Modal dialog issue - very urgent

    Hi everyone,
    i'm working with indesign application under asp.net. I'm using Interop.InDesign.dll. I'm able to open Indesign, but when i try to change UserInteractionLevel, then application returns error "Cannot handle the request because a modal dialog or alert is active." I can't see what modal dialog is opened because, i can't see Indesign window. It is runing in asp.net context.
    When i'm opening manually Indesign then none of the modal dialogs is active.
    My code:
    Type indAppType = Type.GetTypeFromProgID("InDesign.Application");
    objInDesign = (InDesign.Application)Activator.CreateInstance(indAppType, true);
    objInDesign.ScriptPreferences.UserInteractionLevel = idUserInteractionLevels.idNeverInteract;
    Do you have any solutuion for it ?
    Thanks.
    Regards

    I have similar issues.
    Initially this was caused by the splash dialog that appears the first time a user launches InDesign.  Logging in with the credientals used to launch InDesign, and checking the "Dont show again" checkbox cleared it up for me.
    Later, I ran into the problem again when InDesign was trying to recover some autosaved files.
    This was cleared up by deleting the recovered file information from the accounts AppData folder.
    I'm now getting this error again, but so far I dont know why. I have no Idea what modal dialog InDesign is trying to display.  How can I tell?
    I've got to say, I'm very disapointed with this behavior.
    If a programmer sets ScriptPreferences.UserInteractionLevel to InDesign.idUserInteractionLevels.idNeverInteract;  this should inform InDesign that its launch is part of an automated process; there is no user available to press anything, and there is likely not a desktop to display anything.
    It is far more important for InDesign to respect the ScriptPreferences.UserInteractionLevel than to try and recover documents or display a welcome dialog.
    But since we are stuck with this exception, I have the following questions:
    Is there a way to programmatically dismiss the splash "Welcome" dialog via script command?
    Is there a way to programmatically respond to the dialog that is displayed when InDesign has recovered documents?
    Is there a way to programmatically determine what modal dialog is causing the exception? (app.Dialogs is empty)
    Thanks!

  • Workflow Dialog Issue

    Hi everybody,
    I have created a WF with 4 user decisions. One of the user decisions is Display PO which should call the transaction ME23N. I have created the method associated to the task as Synchronus and Dialog. And in Task, I made the task as general task and in WF I have done the agent assignment.
    The issue is when user selects the option Display PO instead of calling the transaction the workitem gets processed and disappears from the inbox. User is not at all able to see the PO.
    And also when I see the WF log, I see an error message 'EVALUATE_AGENT_VIA_EXPESSION'.
    Could anyone please help me and let me know what could be the possible reason?
    Thanks,
    Murali Krishna Kovur.

    Hi Abhishek,
    Yes, My workitem is going to the right place.
    I have tested the method associated with the Display PO task, independently and it is working fine.
    I am passing the position of the user who actually process the Workitem as Agent to the task in WF.
    Is there anything missing?

  • Save As dialog issues: won't choose file format

    The file formats seem to be all jumbled in the Save As dialog box. If I choose TIFF, I get EPS files. If I choose JPEG, I get .CFM files, etc.

    You're on MacOS, and you either copied plugins from a previous version of Photoshop, or set the additional plugins preference to point to a previous version of Photoshop.
    Go remove the plugins you copied, or turn off that preference.
    You should not try to use all the plugins from a previous version of Photoshop.
    Now, the bug comes about because the menu in the save dialog doesn't like to show duplicate items (which would happen because you have duplicate plugins), and we're working on that problem.
    But you need to go fix the duplicate plugins first.

  • Sp 2010 web page dialog issue-appearing with master page

    hi,
    am opening a  pop up which is a application page[_layouts folder] in a modal dialog box , with a label ; and this page has  code behind also.
    when i loaded this dialog box on a click of  a link, it shows the  site master page and ribbon.
     i dont want to show the master page and ribbon etc.
    can anyone tell what code i need to write so that it will open as a web page dialog without applying the site/application master page and ribbons

    Hi SaMolPP
    have you tried the isDlg=1 ?
    http://contoso.com/mysite/Pages/myApplicationPage.aspx?isDlg=1
    PP

  • SaveAs Options dialog issues

    Hi all,
    I am working with Illustrator 5.1 on MacOS 10.6.8.
    I need to do a SaveAs for the current document with the first dialog (File Selector) hidden and the second dialog (Options) filled in with predefined values and displayed to the user.
    With "sActionManager->PlayActionEvent(kAISaveDocumentAsAction, ...)" and the good combination of parameters, I am able to hide the first dialog and show the second but it seems that Illustrator ignores the option parameters.
    I need this for 2 file formats : EPS and PDF.
    With EPS, I am unable to set the version or any other parameters.
    Bizarrely, with withUI=true and the kAISaveDocumentAsGetParamsKey line commented, I got a different behavior: dialog 1 is shown and parameters are changed on dialog 2 except the version.
    With PDF, I am unable to set the preset value.
    I have tried with a name or an index but the menu always selects "Illustrator Default".
    Any hints?
    T.I.A. for your help.
    Georges
    Here is my code for EPS:
    AIErr SaveEPSTest(bool withUI, bool getParams, int version)
        AIErr err = kNoErr;
        AIActionParamValueRef vpb = NULL;
        err = sActionManager->AINewActionParamValue(&vpb);
        if (!err)
            err = sActionManager->AIActionSetString(vpb, kAISaveDocumentAsNameKey, sSaveFilePath_EPS);
        if (!err)
            err = sActionManager->AIActionSetString(vpb, kAISaveDocumentAsFormatKey, kAIEPSFileFormat);
        if (!err)
            err = sActionManager->AIActionSetBoolean(vpb, kAISaveDocumentAsGetParamsKey, getParams);
        if (!err)
            err = sActionManager->AIActionSetInteger(vpb, kAIEPSVersionKey, version);                        // 3..15
        if (!err)
            err = sActionManager->AIActionSetBoolean(vpb, kAIEPSIncludeCJKFontsKey, false);
        // ..... other parameters
        if (!err)
            err = sActionManager->PlayActionEvent(kAISaveDocumentAsAction, withUI ? kDialogOn : kDialogOff, vpb);                   
        if (vpb)
            sActionManager->AIDeleteActionParamValue(vpb);
        return err;
    Here is my code for PDF:
    AIErr SavePDFTest(bool withUI, bool getParams)
        AIErr err = kNoErr;
        AIActionParamValueRef vpb = NULL;
        err = sActionManager->AINewActionParamValue(&vpb);
        if (!err)
            err = sActionManager->AIActionSetString(vpb, kAISaveDocumentAsNameKey, sSaveFilePath_PDF);
        if (!err)
            err = sActionManager->AIActionSetString(vpb, kAISaveDocumentAsFormatKey, kAIPDFFileFormat);
            err = sActionManager->AIActionSetBoolean(vpb, kAISaveDocumentAsGetParamsKey, getParams);
    //    if (!err)
    //        err = sActionManager->AIActionSetInteger(vpb, kAIPDFOptionSetKey, 6);                            // kAIPDFOptionSetCustom
        if (!err)
            err = sActionManager->AIActionSetString(vpb, kAIPDFOptionSetNameKey, "GL");
        if (!err)
            err = sActionManager->PlayActionEvent(kAISaveDocumentAsAction, withUI ? kDialogOn : kDialogOff, vpb);                   
        if (vpb)
            sActionManager->AIDeleteActionParamValue(vpb);
        return err;

    What are you passing in as the savepath?
    Chris
    Adobe Enterprise Developer Support

  • Multiple TaskFlow run as Dialog issue

    Hi,
    I am openning multiple taskflow as a dialog box or popup .On Click of button, I am getting one taskflow with pages as a dialog successfully but in that taskflow , one more button is there. On click of that button ,I am openning second taskflow with pages as a Dialog box is successfully. but problem is that on this time, second taskflow is openning inside First taskflow (like parent-child ). I want to open second taskflow seperately . Please help ASAP......

    Hi,
    giving that task flow calls a sequential you don't get two task flows open in parallel dialogs
    Frank

  • Creating multiple dialogs issue.  can't get events

    Hey all,
    I am creating a series of GUIs for my program.
    The first GUI is a JPanel, and calls the second window which is a JDialog when the correct button is clicked. on the second window i create a third which is another JDialog. On this dialog, i can't click anything or do any actions unless the second window is closed. What is the reason for this, and what can i do to fix it?
    Thanks
    Jason

    Your dialogs are probably modal and you aren't setting the owner window to the correct window. If you have a modal dialog (let's call it "MD-1") open and want to open another modal dialog "MD-2", then you have to create "MD-2" with an owner of "MD-1", otherwise "MD-1" takes precedence as the first modal window and must be closed prior to "MD-2" having modality.
    Someone correct me if I'm misinterpreting the rules.

  • Tabstrib dialog issue

    Hi,
    I am facing a problem in Tabstrip Dialog prepared through wizard , in tabstrip how can we show all the rows displayed in editable mode.
    the database table has one primary key
    currently only the records that are entered are displayed in editable mode and when we click add button.
    regards
    bobby

    Hi,
    Insert the following code in the PBO Module :
    describe table <Internal table> lines <variable>.
    <variable> = <variable> + 1.
    Reward points if helpful.
    Regards

  • Modal dialog issue

    I have subclassed JDialog in way that permits me to use it like this: String data = DialogUI.getData(...);
    However, it seams as if I have two conflicting requirements. I want the dialog to block until the user has made a selection. Then, the selection should be returned as illustrated. However, I want the dialog to close if they move to a different field.
    Is there a way (a hack) to close a modal dialog if the user clicks some outside the boundaries?
    If I have to make it non-modal, is there a way to make the dialog return a value when the dialog is closed?
    Also, does the following code make since, from an architecture and design view point?
    Next
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.Frame;
    import java.awt.Insets;
    import java.awt.Point;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Date;
    import javax.swing.Box;
    import javax.swing.BoxLayout;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    class DialogUI extends JDialog {
      private JButton _btnOk = null;
      private JPanel _pnlMain = null;
      private JPanel _pnlSouth = null;
      protected JPanel _pnlCenter = null;
      private String _result;
      public DialogUI(Frame frame){
        super(frame, "", true);
        _pnlSouth = new JPanel();
        _pnlSouth.setPreferredSize(new Dimension(0, 40));
        _pnlSouth.setMinimumSize(new Dimension(0, 0));
        _pnlSouth.setMaximumSize(new Dimension(0, 0));
        _pnlCenter = new JPanel();
        _pnlMain = new JPanel();
        _pnlCenter.setOpaque(true);
        _pnlMain.setLayout(new BorderLayout());
        _pnlMain.add(_pnlSouth, BorderLayout.SOUTH);
        _pnlMain.add(_pnlCenter, BorderLayout.CENTER);
        BoxLayout layout = new BoxLayout(_pnlSouth, BoxLayout.X_AXIS);
        _pnlSouth.setLayout(layout);
        _btnOk = new JButton("OK");
        _btnOk.setPreferredSize(new Dimension(50, 0));
        _btnOk.setText("OK");
        _btnOk.setActionCommand("OK");
        _btnOk.setMargin(new Insets(1,0,1,0));
        _pnlSouth.add(Box.createHorizontalGlue());
        _pnlSouth.add(_btnOk, null);
        this.getContentPane().add(_pnlMain);
        _btnOk.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent event){
            _result = String.valueOf(new Date());
            dispose();
      public void open(){
        setSize(new Dimension(200, 100));
        setVisible(true);
      public static String getData(JComponent invoker) throws Exception{
        Frame frame = (Frame)javax.swing.SwingUtilities.getRoot(invoker);
        DialogUI dsw = new DialogUI(frame);
        dsw.setUndecorated(true);
        Point p = new Point();
        if(invoker != null){
          p.x = invoker.getLocationOnScreen().x;
          p.y = invoker.getLocationOnScreen().y + invoker.getHeight();
          dsw.setLocation(p);
        dsw.open();
        return dsw._result;
    public class TextMP extends JPanel {
      private JTextField _text;
      private JButton _button;
      public TextMP() {
        _text = new JTextField();
        _button = new JButton("X");
        setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
        add(_text);
        add(_button);
      public JButton getButton() {
        return _button;
      public JTextField getText() {
        return _text;
      public static void main(String[] args) {
        final TextMP t = new TextMP();
        t.getButton().addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent arg0) {
            try{
              String data = DialogUI.getData(t.getButton());
              t.getText().setText(data);
            catch(Exception e){
              e.printStackTrace();
        JFrame frame = new JFrame();
        frame.getContentPane().add(t);
        frame.setSize(400, 300);
        frame.setVisible(true);
    }

    You should decide what is more important - forcing the end user to enter something, or allowing a default value.
    If you do the former, then keep it modal. If the later, then non-modal and default the field.
    I did not read through your code and so I don't know what you are trying to design. But I will say that it makes more sense in general (thinking of how most forms are designed - whether they be applications for the desktop, or the web) you allow the user to navigate over the form and enter or not at will. Then when some event is triggered - often a button being pressed - then you validate the entire form (or part of it if it is embedded in larger unit) and force entry or default depending on needs.
    ~Bill

  • Save/Export dialog issue

    (I've already reported this to Apple directly via Customer Support.)
    In the past, when this box popped up, we could simple click on any of the pre-existing file names, thus renaming the "Untitled" file, whose name was then easy to append as needed. In Mavericks, the file names don't highlight when clicked, and don't rename the file. To me, this represents a big loss in functionality, which slows down my workflow. (since a whole new file name has to be typed in)

    Here's a screen shot of what I am talking about. I'm sure my description is confusing.
    Basically it always comes up this size and I have to enlarge by draging or maximizing.
    I would prefer to resize once, say open up to 3 columns, and have it come up like that all the time.
    Thanks!

  • Lighdm login dialog maximized issue

    The login dialog on my lightdm is maximised to whole screen ( I am using lightdm-gtk-greeter ). It's happening since I updated XFCE to 4.12.. I don't really know if it's related, but prior to that udpate, lightdm login dialog had normal size, I could see my background behind. Now I can only see the background after hiting Enter key to confirm login. I already tried to reset lightdm-gtk-greeter conf but this didn't fixed anything..
    I have 2 monitors and when moving the mouse cursor between them, the login dialog switches monitor like excepted, but staying always maximized on active screen..
    This issue is happening to my laptop too.. Made xfce 4.12 update and then same lightdm dialog issue..
    Any idea ?

    Yes I already tried to merge to changes and set a clean conf file, but it didn't changed anything, this does not seem to be caused by conf.
    My lightdm-gtk-greeter.conf file contains :
    [greeter]
    background=/usr/share/backgrounds/archlinux_bg1.png
    theme-name=Boje-Orange
    icon-theme-name=AwOkenWhite
    screensaver-timeout=30
    Last edited by sigz (2015-03-17 12:30:10)

  • RemoteApp and focus on dialog boxes

    We are publishing our applications to the user using RemoteApp.
    It happens rather often that when you do something in an app that causes the app to display a dialogbox or maybe just another window
    the new window will come up behind the app and impossible to get to. It seems it wont get focus properly and you cannot minimize the app in order to see the window that is requiring your action
    I have found a couple of notes about it but nothing with any sugestion to a solution or so.
    Anyone seen this before and knows anything more about it
    Owe

    I too also wonder if there is a fix for this, we are using win2k8 and using the SAP GUI 7.10 via a remote app deployment method, we often see users who when clicking on drop down dialogs loose focus and get the contents of the dropdown list overlayed on their last active window, e.g. Outlook, IE, etc...  our workaround to date has been to make sure they are using RDP 6.1 which seems to minimise the effect (but it still happens) and get them to click the SHOW ALL desktop button before going back into the remote app.
    We have also seen this problem with other remote apps, but less prevelant, presumably due to the different tcodes in SAP having more drop down lists than others.
    An ETA on this issue would be extremely useful, thanks for your time.
    EDIT: After re-reading my problem may be a bit different (although we do get the dialog behind a dialog issue occasionally), although this still relates to focus issues with remoteapps let me know if I should start another thread.

  • JOptionPane dialog - always toFront

    Is there any way to insure that a dialog issued from an application will
    always come to front when executed from within an app?
    I tried using the toFront() method of frame with mixed results...
    If nothing is happening on desktop it seems to work but if I'm doing something
    else it doesn't. I need this dialog to grab attention when executed
    thanks for any help - JP

    If you want the dialog to "stop" the application untill the user interacts in any way with the dialog and press some kind of "Acept" or "Cancel" button mke it modal:
    new JDilog(frame_parent, true)
    this line makes a modal (it's modal because of the second argument) dialog wich will be allways on top of the Frame frame_parent until it's disposed.
    Hope it helps.
    Abraham

Maybe you are looking for

  • Need help in creating a Physical Inventory Document with HUs given

    Hi Gurus, There is a problem I am facing while doing a ALV report. I have created the report and there is a button which i have fixed which has to create Physical Inventory Document. The scenario is: I will select the records in the report based on t

  • PDF format of script output in irregular format

    Hi All, I am getting script output in OTF format in 'CLOSE_FORM' of standard sales order script. This,I am able to send in PDF format as mail attachment by using function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'. But the alignment and format of data in

  • JSF Components do not render correctly in desinger

    When I add components in the JDeveloper designer I see only plain text and not the graphics representation of the controls. Same thing when I run the application in the web browser

  • Camera raw sous PSE 9 pour Nikon D600

    Bonjour, Votre site indique qu'il faut la version Camera Raw 7.2 pour le Nikon D600. est-ce valable pour PSE 9 car je n'ai pas Photoshop CS ? d'autre part, vous ne proposez au téléchargement qu'une version 7.1, qui est signalée ne couvrant pas le Nik

  • Assign a value to a table-field  within a field symbol

    Hi gurus, probably a small question but I don't get it :-(. To explain my problem I give you a simplyfied example: I want to fill a workarea of a table in a dynamic way that is defined as followed: The TABLE1: has 3 fields: FIELD1 FIELD2 FIELD3 data: