Dialog framework and commandButton doesn't display in new window

I'm using a af:commandButton to launch a dialog in a new windows with no luck
I'm using EA1 and ADF EA 19, my command button is
<af:commandButton text="dialogo"
launchListener="#{controladorLink.launch}"
useWindow="true"
returnListener="#{controladorLink.regreso}"
partialSubmit="true"
action="#{controladorLink.accion}"
actionListener="#{controladorLink.actionListener}"
windowHeight="200" windowWidth="300">
Am I doing something wrong? According to the Dialog Framework documentation you need to set an "useDialog" attribute, but it doesn't exists in commandButton, do I need to use commandLink necessarily?
Thanks

Did you take care of these requirements?
The value bound to the action should return a string of the form "dialog:.....".
Eg: <af:commandButton text="Show More Information"
action="dialog:showDetail"/>
And there is a navigation-case that needs to be added to the faces-config.
<navigation-rule>
<from-view-id>/*</from-view-id>
<navigation-case>
<from-outcome>dialog:showDetail</from-outcome>
<to-view-id>/showDetail.jspx</to-view-id>
</navigation-case>
</navigation-rule>
Hope this helps.
Thanks,
Balaji

Similar Messages

  • IMac running 10.8.6 doesn't display entire desktop?  Reset display to various options and it doesn't display the entire desktop.

    iMac running 10.8.6 doesn't display entire desktop?  Reset display to various options and it doesn't display the entire desktop.  (asking for a friend, not my iMac)

    I think you wanted to say 10.6.8. 10.8.6 does not exist.
    The first thing I think is that zoom may be enabled. On Mac OS X 10.6.8, a way to disable it is to hold the Control key and scroll down with the mouse or trackpad until you can see the whole display. Another way would be to disable zoom in System Preferences > Universal Access

  • Cover Art Doesn't Display for New CDs, Podcasts, etc.

    Cover art doesn't display for new items that I add to my 60GB iPod from iTunes. Older items are fine but new CDs, podcasts or songs purchased from iTunes don't display cover art on my iPod. The cover art is there when viewed in iTunes but just doesn't display when they are being played. The problem seems to have started about a month ago. Anyone experience something similar?

    Thanks for the suggestion but.... it actually made the problem worse. When I went to the music tab I found that the "Display Cover Art" check box was unchecked so I clicked in the box and the fun began. First thing that happened was the iTunes status box displayed "Deleting covert art from iPod" (definately not what I would have expected) for about a minute then it changed to "Optimizing cover art on your iPod" (that seemed like a step in the right direction) but then I got an error message saying "Can't sync iPod. Unknow error". Closing out the error message ended the process. I was able to eject my iPod after that without any issues but now even more covert art doesn't display (even though when viewed through iTunes its there).

  • FF doesn't open a new window , and doesn't open at all when I close it and try to open it again.

    Initially when I start my PC Windows 7 Ultimate , FF opens fine , but it doesn't open a new window when I click on the option "Open a new Window " in the taskbar .When I right-click a tab and select the option "Move to a new Window" then too it doesn't work. Next when I close FF and and try to reopen it , it doesn't open at all.I have FF v34.0.5.

    Gnome-shell issue. You can disable desktop management as a temporary fix, but the next gnome-shell update will fix the problem.
    https://bbs.archlinux.org/viewtopic.php?id=175993
    https://bugzilla.gnome.org/show_bug.cgi?id=722510
    https://bugzilla.gnome.org/show_bug.cgi?id=722690

  • Why when I click on a bookmark it doesn't open a new window, it takes over a window I am working on

    Why when I click on a bookmark it doesn't open a new window, it takes over a window I am working on

    Also, if you right click, the menu will include; '''''Open New Tab''''' and
    '''''Open New Window'''''.

  • Nautilus doesn't open a new window when clicked

    For a while now, I have been experiencing an annoying issue.
    Whenever I open Nautilus either by clicking the icon in the drawer (example: http://i.imgur.com/uZc3n7S.png) or by hitting "Super" (the Windows key) and typing nautilus+enter, Nautilus doesn't create a new window anymore. Instead, it just shows "Files" in the top bar, as seen here: http://i.imgur.com/Ho2nJhv.png
    I can open a Nautilus window by clicking on the "Files" item in the top bar and clicking "New Window", as seen here: http://i.imgur.com/7IrWqvr.png
    Also, whenever my desktop is focused, the "Files" item is visible in the top bar. In the drawer, the Nautilus icon is always highlighted as well. This leads me to believe that GNOME thinks Nautilus is already open, while it is not.
    Note that I have enabled my desktop to be managed by Nautilus, so I can have icons on my desktop. I'm not sure, but if I recall correctly, this problem started ever since the one time I ran gnome-settings-daemon manually, to test if a certain bug still exists.
    Has anyone experienced a similar issue? How could I track down why this is happening?
    Last edited by Gerry (2014-02-12 20:59:18)

    Gnome-shell issue. You can disable desktop management as a temporary fix, but the next gnome-shell update will fix the problem.
    https://bbs.archlinux.org/viewtopic.php?id=175993
    https://bugzilla.gnome.org/show_bug.cgi?id=722510
    https://bugzilla.gnome.org/show_bug.cgi?id=722690

  • Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything.

    Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything. Any work around to fix this?

    See this lnk for a fix, it worked for me!
    http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html

  • The latest version of iTunes does not allow me to open a playlist in a separate window.  I need this feature.  Is there another way?  You used to be able to double click a playlist and have it appear in a new window.

    The latest version of iTunes does not allow me to open a playlist in a separate window.  I need this feature.  Is there another way?  You used to be able to double click a playlist and have it appear in a new window.

    Others have commented on this too.  It seems to be one of the 'improvements' of the newer version you are supposed to embrace with joy as an exciting new development.  You can send feedback to Apple but realize you may be perceived as standing in the path of  progress.
    http://www.apple.com/feedback/itunesapp.html

  • I need to just double click on every folder and have it open in a new window every time, as before. Can I do that?

    I need to just double click on every folder and have it open in a new window every time, as before. Can I do that?

    Finder -> Preferences -> General -> uncheck "Open folders in tabs instead of new windows"

  • Pdf doesn't display in NEW IE window, even with display in browser checked

    We are using adobe 9.2 and IE 7.  Has anyone had this issue and if so, how did you fix it?
    Thanks in advance!!

    Did you take care of these requirements?
    The value bound to the action should return a string of the form "dialog:.....".
    Eg: <af:commandButton text="Show More Information"
    action="dialog:showDetail"/>
    And there is a navigation-case that needs to be added to the faces-config.
    <navigation-rule>
    <from-view-id>/*</from-view-id>
    <navigation-case>
    <from-outcome>dialog:showDetail</from-outcome>
    <to-view-id>/showDetail.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    Hope this helps.
    Thanks,
    Balaji

  • Style and layout for text item displayed in new window

    1. I publish a text item and selects "Link That Displays Item In Full Browser Window".
    2. When I open the item the layout and style of the window is not as wanted.
    Where can I find the template containing this layout and style? How can I create my own layout and style?

    Not possible in the current release of Portal. We're planning templates for text and other item types in a future release.
    Regards,
    Jerry
    PortalPM

  • Help in identifying best available development framework and language for native app development for Windows and mac osx desktops through single code base

    Hi Guys
    i am try to identify the right development framework and technology for developing GUI application which can run on windows and mac osx. 
    i am sure that there will be specific handling for both of these os, but at the same time there could lot of code can be same.
    is it possible to fulfill requirements of both these OS's through single code base. As of now i am more experienced with Dotnet C# on windows.
    Regards
    Mukesh Vashisth

    Just wanted to quickly confirm
    before i dive into xamarian.
    Is Xamerian can be Used to build applications for MAC and Windows PC along with mobile devices.

  • How to get generated HTML file to display in new window from FileDownloadActionListener?

    Hi,
    I am using Jdeveloper version 11.1.1.5.
    I have a use case where the user can produce a report upon the click of a command button. They can generate 3 types of reports, HTML, PDF or Excel depending on which option they select in the radio buttons preceding the 'generate report' command button.
    The files are created in the background (XML file created based on View Objects which is then transformed using the relevant API for the report type and then produces a file which is held in servers temp directory) and is served out through a FileDownloadActionListener component programmatically, which itself is surrounded by a Command Link with visibility property set to 'false' (as per this blog:http://www.jobinesh.com/2010/01/customizing-execution-of-to-validate.html).
    Everything works fine in that the reports generate correctly and after clicking on the 'generate report' button the browser's 'Open/Save' dialog box appears asking the user what they would like to do with the file. I am using Internet Explorer as that is what most of the client users will be using.
    The issue I'm having is as follows. For PDF and Excel types when the user clicks on 'Open' the file opens in separate Adobe Reader or MS Excel application windows respectively, which is as expected and required. However, the HTML document opens within the same browser window within which the application is running and from where the 'generate report' button was clicked. The issues this presents is that if the user closes the browser window displaying the report then they will need to open a new window to re-establish connection to the application. If they click the browser 'back' button then it takes them back to the original page but not in exactly the same state as it was before the report was launched i.e. there are some components missing and the page doesn't display correctly.
    Is there another way for me to achieve this or is it even possible? I tried setting the 'useWindow' property of the invisible command link surrounding the FileDownloadActionListener to 'true' which didn't work. I tried to surround it with a Go Link instead of a command link but that gave me NullPointerException's, I think because you can only use a component which has an 'Action' property?
    I appreciate your assistance as always.

    Hi,
      I'm not sure if this solution is appropriate to your situation, but I had the same problem with trying to redirect from a commandLink to a new window.  In the method that is called by the links action I used the following:
    // Open the url in a separate browser window
    ExtendedRenderKitService erks =
      Service.getRenderKitService(fctx, ExtendedRenderKitService.class);
    StringBuilder script = new StringBuilder();
    script.append("window.open('" + url + "', '', '');");
    erks.addScript(FacesContext.getCurrentInstance(), script.toString());

  • I want to eliminate or control popup windows that have no relevance and start with "open link in new window" . How do I control or eliminate. It is a nuisance.

    When I am searching the web and click on an item, I get a pop up window that contains 6 choices beginning with "open link in new window". Most of the time this a nuisance and I want to get rid of it, but it follows me all over the page and keeps popping up when I click on the same item again. If I don't want to use it, how can I make sure it doesn't reappear?
    Also, another question. Firefox keeps asking me to upgrade to Firefox 3.6.19, but when I try, it will download. What gives? I have a Mac Pro with OSX version 10.6.7.
    Thanks,
    Lloyd Frohreich
    [email protected]

    It sounds that you are opening the right-click context menu, maybe by pressing the mouse button for too long.
    See:
    * http://kb.mozillazine.org/ui.click_hold_context_menus

  • Since being upgraded to 3.6.11 CTRL+N doesn't open a new window

    My Firefox was updated to 3.6.10 yesterday (3.6.11 today) and now when I try and use CTRL+N to open a new window, nothing happens.
    File - New Window doesn't work either.
    I can open new tabs

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

Maybe you are looking for

  • Jdeveloper threads?? how can I start a thread?

    Does anyone know how I can automatically set a thread in motion once I call a file in the project? I basically want a background process to run constantly while my app runs. Any thoughts??

  • Oracle/adf/view/rich/model/AsyncFetch Error in DVT

    Experts, We have some DVT components in our application which runs perfectly on integrated local Weblogic Sever. Once we deploy it to a Weblogic Standalone server, we are getttnig the following error while trying to access the DVT graph page. Rest of

  • IPod Classic Does Not Show Up in iTunes...

    I have an iPod classic and a Macbook, and whenever I plug in my iPod it is not recognized in iTunes, in the Finder, or on the desktop. I have tried uninstalling and reinstalling iTunes, and that works - but only temporarily. Currently I am having to

  • How to make a field with inserted field's values editable?

    Experts, please help!! I have a form with 2 views. View 1 has a field named "Name". View 2 has a field named "Notice" On view 2, I set up the default value for "Notice" as  Concat ( Name, " has enrolled this year") The form data will be submitted to

  • Looking for promo code for ordering an iPhoto book!

    Hello. I am really hoping someone has information about any current promo codes when ordering iPhoto photo books. They are so nice but pricey!