11g: problem with the page open in a new window

Hello

I have a simple application with two pages. Page 1 contains only one button:
        <af:commandButton text="commandButton 1" useWindow="true"
                  action="dialog:action"/>
{code}

Page 2 is empty. Action is defined in adfc-config.xml:

{code:xml}
    <control-flow-case>
      <from-outcome>dialog:action</from-outcome>
      <to-activity-id>untitled2</to-activity-id>
    </control-flow-case>
{code}

When I click the button, page 2 opens in new window but page 1 stays kind of "locked". It takes two clicks on the button to get page 2 to show again (the first click sort of resets the page, and the second one works as it should).
Same behavior reproduces in a very complex application (where, for instance, a table can be scrolled but selection is impossible). 

This worked in technology preview, did something change and some extra step is required or this is a bug? I can send someone a test case, if needed.

Thanks, 
Pedja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

Pedja,

I have confirmed that it is the glasspane.

When you open a dialog box in a new window like this, the main window is supposed to be blocked interaction until the dialog box is closed properly (this technique is sometimes called a "glasspane").

Just close the dialog window by closing the browser window does not mean "close" dialog box. You must use the AdfFacesContext API to close the window.

Add a command button on your page 2, bind it to an Action listener that does this:

    AdfFacesContext.getCurrentInstance().returnFromDialog(null, null);

The behavior you see is correct; That is why the af: popup is probably a more "preferred" method to do so.

I just saw your answer on the PDF - you'll still need clear the sort dialog box so that it works. You can use a ' print' button instead of a button 'command' (thus eliminating the need to use the framework of the dialogue)? I could not find any method of compensation of the dialog without actually closing the window.

John

Tags: Java

Similar Questions

  • Problems with the pages of models CS3

    My site is www.cft-aft.org and I have problems with a page or two that were created from a master template that the images are not loading or projection. An example can be found at http://http :// www.cft-aft.org/Get%20Involved.html. I don't know what the problem is or how to diagnose.  All pages of this website have been created from the master template. I had some file management problems in the past, and I think I have corrected most of them (with the exception of the change of name without spaces). I understand that this could be a problem and if it is my problem with this specific page, I understand.

    I have attached a few screenshots of the presentation of dreamweaver and a screenshot of my side of local and remote sites.

    The main problem with the page get involved is not editable images do not exist. Everything lies in the local root folder of the site/htdocs, on both sides. I noticed that when I do to the top of the page get involved in DW is at the top right of the screen, he reads a long path (shown as an example on the screenshot) and on other pages which load correctly, the path is not the same thing, but they reside in the same folder. I suspect that this is probably my problem, but I'm confused, how it got like that and worse still, how fix without having to completely rebuild the page.  I am a total novice and teach me how to do this using the DWCS3 Missing Manual book, but I can't find a solution in there, so please help if anyone can, with step by step instructions.

    If anyone has any idea how it happened, I'd appreciate comments so I do this again.

    If more information is needed, please let me know.

    Thank you

    Hi, Kelly.

    What keeps you from renaming files with Word spaces? It is a good idea. On ALL of your files. Rename them to the INSIDE of the files Panel.

    You work in a defined site? Yes, you are.

    The page you we directed (with an address disheveled, but easy to fix on the track), shows a large number of links to files on your computer, do not using links to other files in your root directory.

    You must open your template and reapply links to all images. Save the model. Once you have re-applied the links in your template Master.dwt, change > models > update of the Pages... while your model is open (especially if DW does not ask if you want to update the files). Record everything (better yet, don't have other pages opens when you update the pages...).

    Depending on how you created your page "Se Involved.html", it would be preferable for you to set up a new page of the child of your template and copy the changing content of the old page. Name the new page (without spaces in the file name... lol...) and save it. You won't be totally rebuild the page, because a lot of it will flow in your model.

    Commenting on your illustration to pdf, you want the indicator model-based Yellow Page in the upper right of your page based on a model of read model: Master. Pages containing the path to the top there are incorrect. I don't know how this happens, but it could be a problem with moving the files outside the DW (bad idea)... always use the files Panel to move files. You have full access to your computer in this window.

    Beth

  • I am also having the same problem with the same updates. I have Windows XP SP3 and it's updates with the problem.

    I am also having the same problem with the same updates. I have Windows XP SP3 and it's updates with the problem.

    Security Update for Microsoft .NET Framework 2.0 SP2 on Windows Server 2003 and Windows XP x 86 (KB2572073)
    A security update for .NET Framework 2.0 SP2 and 3.5 SP1 on Windows Server 2003 and Windows XP x 86 (KB2518864)
    Security Update for Microsoft .NET Framework 2.0 SP2 on Windows Server 2003 and Windows XP x 86 (KB2633880)

    They all install properly but switches back to windows update to install. It's some kind of loop.

    Hi billy73,

    In addition, if you still have questions, please take a look at the thread similar here with a solution as possible.

    I hope this helps!

  • Problem with the menu "open with."

    Hello

    I'm using windows vista and have a strange problem with the "Open with" menu

    When I click on a file and select 'Open with', the program I want is not shown on the list of programs. so I click on "Browse" and find the program I want on the program folder files, but the very fact that it does not appear on the list of programs in the "Open with" menu.

    The program works normally, I can open the program and click on the file-> open and choose the file I want, but it is easier and faster to double-click a file to open the program...

    Any help is appreciated!

    Thank you!

    Record the programs with the "Open with:" dialog box
    http://WindowsXP.MVPs.org/openwithadd.htm
    Ramesh Srinivasan, Microsoft MVP

  • Problems with the page numbering

    Hello there ' All!

    I received a few questions about the numbering of the pages:

    1. When the notes are present, they appear over my page numbers (in the lower left corner), which makes them invisible. How to avoid this?
    2. How can I ignore numbering for some pages, as the cover page, table of contents etc. ?
    3. How can I connect page numbers in my table of contents to my actual page numbers?

    Thank you!

    1A, ill-conceived layout? Page numbers should ideally be placed on your master pages, and outside of the margins, you book to plain text (i.e., top, side, or underneath the purple square). Move the frames of page number outside the place of purple Director. If there is no room for this, you need to adjust your margins!

    2. you can 'ignore' the page numbers (they will keep existing), but you can hide them in several different ways. Easier - and more dirty - trick is to put a white rectangle on them (don't do this!). You can also (Cmd) Ctrl + Shift + click on any element on a master page, so "free him" and then just delete the entire frame, with the page number and everything (I wish you didn't do this...). The best way is to assign a new master page to only those pages; a specially created for this purpose (if you have other elements that should appear on all pages), or simply the "[None]" blank page.

    3 search 'referrals' help if you use CS4. You can also search for "Table of contents", it may be useful to regenerate all the content, so the text is up-to-date as well.

  • Problem with the Satellite Pro 2100 and new modules of RAM

    Hello

    I have a Toshiba Satellite Pro 2100 and I have a problem with the memory upgrade.
    My notebook of startup only if a plug-in module to a ddr, but if I insert the two modules IN CC led orange flashing start when I try to turn on the pc. The stop led not blinking unless I take out the battery and the dc adapter.
    Here is the code of the modules:
    KTT3614/256 (original)
    KVR266X64SC25/256
    256 MB pc2100 both.
    Starting the PC with any of them, as well as the modules are both compatible.

    Any ideas?
    (Sorry for my English but I'm Italian: D)

    Post edited by: DaK_TaLeS

    Hello

    the second location of memory perhaps is the problem.
    Try to start with a module in the second slot, first an empty slot.

    Good bye

  • Problems with the Power Manager 1.51 new T60 has

    I've updated Power manager version 1.51 has and I have problems with the gauge of Power Manager in the task bar. Life remaining battery is not updated once more. Is there any chance I can find an earlier version of the software that worked perfectly before? Or there is a method to solve the problem?

    Sincerely,

    Nikita Septucha


  • I have a problem with the DVD drive not detected on Windows 7.

    I built a new PC (I've built a few of them).  This time is not considered my ASUS BD player with Windows 7 DVD burner.  It is not in either Device Manager just do not at all recognized.  The BIOS for the ASUS P9X79 of luxury see the SATA drive without problem.  Sometimes after restarting the BD Player looks and functions perfectly, but when the computer goes to sleep or shuts down is usually not there when it is restarted.  Please help me solve this problem :-)

    Original title: optical drive not recognized...

    Hello

    Please contact the Microsoft Community.

    You have a problem with the driver DVD being missing on the computer. It can be difficult when something that is important to you does not work as expected. It's pretty simple and we're here to help you solve the problem. We work as a team and get this sorted out.

    Please answer these questions-

    (1) that you get an error message or error code?

    (2) did you have performed the steps in troubleshooting?

    (3) have you made changes on the computer before the show?

    I would like more information about the issue.

    Method 1-

    I wish that you are running the fixit-

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 2-

    Note: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.
    Back up the registry - http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    I would have you look at the article-

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

    http://support.Microsoft.com/kb/982116#top

    Let us know if you have other questions about Windows in the future. We will be happy to help you. We at Microsoft, strive for excellence and provide our customers with the best support.

    Thank you.

  • How can I make a specific page open in a new window when you click on a menu?

    Don't know if its possible, but I have a specific page, I want to open in a new window in the browser when you click on to leave a menu widget.  I know not how to go and mount the coding, but it would be nice if there is an option in Muse for this already.  Any suggestions? Thanks for any help.

    ryanj4799 You'll need to change the Menu Type of manual in the options of the widget and add you links. Then go in the hyperlinks Panel. Check the option open in a new tab/window.

    David

  • Problem with the file opened in the application via InvokeRequest

    Hello

    my application opens the file and reads its binary content. I have a small problem to open a file from a navigation or an attachment.

    But first here's how my app works. I have a signal/slot-connection in my applicationUI constructor:

    ApplicationUI::ApplicationUI(bb::cascades::Application *app) : QObject(app), m_invokeManager(new bb::system::InvokeManager(this)) {
    
      bool ok;
    
      // Since the variable is not used in the app, this is added to avoid a
      // compiler warning.
      Q_UNUSED(ok);
    
      ok = QObject::connect(m_invokeManager, SIGNAL(invoked(const bb::system::InvokeRequest&)), this, SLOT(handleInvoke(const bb::system::InvokeRequest&)));
    
    }
    

    So if the user clicks on a file it can open in the following C++ function:

    void ApplicationUI::handleInvoke(const bb::system::InvokeRequest& request) {
    
        QString workingDir = QDir::currentPath();
    
    // Initiate the appropriate target based on the invoke.target-key
        if (request.target() == "com.myapp.card.previewer") {
    
            m_uri = request.uri().toString();
    
            QString FileToOpen = m_uri.replace(QString("file://"), QString(""));
    
            bb::cascades::Page* PageToOpen = ApplicationUI::doLoadPageDetails(FileToOpen);
    
            if (PageToOpen != NULL) {
                initPreviewerUI();
            } else {
                ShowToast("FEHLER! Seite kann nicht geladen werden");
            }
        }
    }
    

    The doLoadPageDetails () - function creates a page and filled with binary content of reading a file. If the file contains errors or is corrupted an exception is thrown.

    And here is my problem. When I opened a file corrupted first the screen becomes darker before opening the app. The I get error messages, exactly as I want. But the screen stays dark. I can't take another navigation element. Also, I can't use the back button. The only solution is to wipe the screen and then use the active frame to close the filebrowser and reopen it.

    That I can't use it with attachments to emails. When I open on and the screen is dark, I can't close the view for emails. So to see the mails again I have to restart the BB decive.

    I'm not fluent in English, but I hope you understand my problem. Is it possible to cancel the invokeRequest when the file is corrupted? Or what can I do here?

    Well, the solution was to use a Toast message but the dialog box. Because that prevents the application and I can't and shows just the message, with the button on this dialog box, I cannot tell the app to close.

  • Problem with the page turns with the OSM

    Just downloaded the version 23 of the content viewer. I consult my folio/articles on an ipad 1 and I still thorny issues when it comes to the page turns:

    1 if there is no MSO, page turns very well and is aligned with the previous or next as expected.

    2. to the ESM pages, if I do not commit to the OSM, it snaps to the next page or previous fine.

    3. If I click on the ASM then try to turn the page, he jitters and shakes and remain on the page or is blocked to halfway. When I try even once, it turns out as expected.

    I heard that by disabling the function of zoom in on PDF folios will solve the problem. If I don't create my own custom Viewer (I do not have a version company, just one question release them a) how can I make pages with active MSOs run properly?

    I typed double (or triple typed, I forgot) the title of the header on the Viewer to reveal that I use in effect v23. Also use lightbox version 23 in Folio properties. Also rebooted the ipad to make sure. Any help will be greatly appreciated.

    By the way, THANKS ADOBE! A lot of people complaining about things on this forum... But if it wasn't for what you did with DPS and InDesign, there is no way I or countless others could even dream of creating an application without having to pay a programmer hunderds if not thousands of dollars to the code! InDesign is one of the most elegant and most stable programs I've ever used. Add to that the ability to create applications tablet and it's just a force to be reckoned with! I < 3 Adobe and InDesign! Wow, that last sentence looks like it has been seized by a prepubescent girl. I am a man of 41 with 2 children just to be clear!

    You're right, it's the same question, as seen in the other thread. You can fix this by disabling PDF zoom when you build your application. When you go through the process to create your simple editing application, you should see "Show the Advanced Options" on the details page of the App in DPS App Builder. You can uncheck enable PDF zoom it.

    On behalf of the team, you are welcome. Thanks for the kind words

    Neil

  • Problem with the page using the not substituted VO

    Hi all



    I expanded the view object AbsenceSummaryVO of the/oracle/apps/per/selfservice/mgrviews/webui/ManagerViewsPG of the page. I created a new view object that extends the object from view of AbsenceSummaryVO, it contains a few added columns.

    These added through customization, I added to the tab of the absence of columns. The only problem is... that they are not fulfilled. It seems that Oracle ignores the request to be executed instead of the old one (old data appears perfectly). One of the current columns also changing a value hardcoded still looks like the old value (data base).



    When I look in the MDS repository, I can see the substitution is deployed, remove also the XML necessary for replacement of the filesystem is Oracle generates an error.

    Below the output from the MDS repository:

    ---

    <? XML version = "1.0" encoding = "UTF - 8"? >

    < customization xmlns = "http://xmlns.oracle.com/jrad" xmlns:ui = "http://xmlns.oracle.com/uix/ui" xmlns:oa = "http://xmlns.oracle.com/oa" xmlns: user = "http://xmlns.oracle.com/user" version = "9.0.3.8.13_1566"; XML: lang = "en".

    Customizes = ' / oracle/apps/by/self-service/mgrviews/Server/AbsenceSummaryVO ">

    < replace with = "/ xx/oracle/apps/by/self-service/mgrviews/Server/AbsenceSummaryVOEx2" / >

    < / customization >

    ---



    When I look at the page on the business components used, I see the substituted object seen used. However it does not appear in the substitute for the table column, but in a 'normal' line The original view object (AbsenceSummaryVO) is missing from this list. I find it rather strange.



    Everyone recognizes this kind of behavior? And what to do about it?



    Kind regards



    Patrick

    Patrick,

    You must extend AbsSupHrchyVO instead of AbsenceSummaryVO.
    Although this page mentions that AbsenceSummaryVO is used for the columns it ignores changes to this VO.
    I expanded AbsSupHrchyVO on a test instance and added a few custom columns and they appear in the Absence sub-tab (/ oracle/apps/by/self-service/mgrviews/webui/AbsSupHrchyRN) now.

    Kind regards
    Robert

    Published by: robert.jungerius on March-24-2010 09:38

  • My Internet Explorer closes and it says there is a problem with the page I'm lking to.

    Please help me, internet explore close sites that I ", in and need me line."

    Hello
     
    I suggest you follow under method that can help you solve your problem:
    Method 1:
    Internet Explorer not responding, stops working, or restarts
    Method 2:
    Second, the problem may be caused by an add-on corrupted in Internet Explorer. To confirm the same, run Internet Explorer in safe modules mode, and check if the problem persists.
    Open Internet Explorer in mode without modules,
    Reference:
    Method 3:
    If the method above does not resolve the problem, then I suggest you to perform an optimization of Internet Explorer on your computer and find the number.
     
    How to optimize Internet Explorer
    http://support.Microsoft.com/default.aspx/KB/936213
     
    Warning: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings
  • problem with the page do not scroll (no scroll bar)

    I'm puzzled. I'm sure it's probably something simple, but I can't get the page of scrolling (scrolling bar) to show all text.  I'm guessing this has something to do with fixed heights or absolute positioning.  But I just can't get my head around it.  Any help anyone could provide would be greatly appreciated.

    Thanks, Kirk

    file

    http://blueyondermusic.com/history.htm

    CSS file

    http://blueyondermusic.com/pilotmagicmusic6.CSS

    Thank you

    Kirk

    You gave .header a height of 245px and which applied to the entire page.

    Place an end div tag where the header is supposed to end.

    Also, you have given the header a fixed position, which will ensure that it has been removed from the normal flow of the document. This allows content to flow behind the header.

  • Problems with the page in Internet Explorer 7 times layouts

    Hello

    I created this site in Dreamweaver CS6 using webfonts.

    http://www.fjgpharma.com/index.html

    It's fine on all browsers except IE 7 , where the type on the pages that follow is not displayed correctly:

    • Index - blue sub-heading is divided on two lines when it should be on a

    • About - 'technical management' appears as a sort of link

    • Services - dashes are misaligned

    I've already added the following code:

    <!-[if lt IE 9] >

    " < script src =" http://html5shiv.googlecode.com/svn/trunk/HTML5.js "> < / script > .

    <! [endif]-->

    Can anyone offer me any advice on how can I fix?

    Thank you!

    By 'technical management' is displayed as a link, I'm guessing that you have some kind of Malware or downloaded Junkware that infect your version of IE7. There is no link in the code, so it should not appear as a link in any version of any browser.

    You can run an anti-virus/malware program and see if it picks up anything.

    Are you sure you still want to support IE7?

    According to everything I've seen, somewhere in between. 5% and 1% of all users have installed IE7.

    Now with Windows XP "death Date" set for April 8 next year, IE8 should start to fall dramatically (currently at about 6%) current XP users are forced to upgrade or be subject to unpatched issues after this date.

Maybe you are looking for

  • Tempo service crashes on Equium A200

    Equium A200, Windows Vista. Tempo service crashes whenever I start the computer.I did a search of file Version.txt and minidump.mdmp but can't find them.Can anyone help? Details below. Description:Laptop Performance Tuning Service service hung on sta

  • my audio syestem of beats went when I choose windows 8, how can I return it with the full version?

    my audio syestem of beats went when I choose windows 8, how can I return it with the full version? I have hp pavilion dv4 5110tx

  • Error is preventing Windows from starting

    A message keeps appearing: Windows didn't start because the following file is missing or damaged \WINDOWS\SYSTEM32\CONFIG\SYSTEM You can try to repair this file by starting windows setup original CD ROM.select "r" on the first screen to start repair

  • I'll be able to add more ram?

    That I upgrade my processor of my HP-G4-1010US one of 8 GB to 16 GB processor (support of ram), I'm wondering since the processor I get (i5 - 2540 m) supports 16 gb, I'll be able to throw my old GB 8 critical sticks and add in some new 16 GB sticks i

  • Associated files list does not include the file extension '.pdf '.

    I can't open a pdf file by clicking on the name of the file. This is a recent problem (2 days). I checked my list of associated file and there is no listed ".pdf" file extension. I uninstalled Adobe Reader and then re-installed, but that has not help