ADF BC - Date Selector closes Popup

Hi all

I have a date field. MinValue inside a form located in a popup. When I choose a date in the date picker that appears (the one built into the date field. MinValue) my popup closes. Is there a way to keep the pop-up open until a user clicks on the home page, or click on the button of validation (validation button is inside the shape inside the pop-up window)

Thank you

Dan

Try placing a panelDialog or a panelWindow inside your pop-up and have shape inside.
http://jdevadf.Oracle.com/ADF-richclient-demo/faces/components/panelWindow.JSPX

Tags: Java

Similar Questions

  • Restart TaskFlow bounded for every close popup in ADF

    Hello

    I created a taskflow running in the popup, starts everytime I close popup., where he finished.
    How can I re - start taskflow for each closing of the pop - up... ?

    Note: A button opens a popup and after the success of all the steps in a workflow, then iam closing popup. Even in this case by clicking the watch button will empty popup (not not from the default activity of taskflow).


    Kind regards.

    Hi again.

    Sorry delay I was a little testing this issue.

    Please in your defined configuration task Flow, on the behavior tab uncheck 'data controls share workflows with the appeal '.
    Or set manually in the task definition xml stream:

    
          
    
    

    Kind regards.

  • close popup after download

    Jdev 11.1.1.7

    I have a poopup that has 2 buttons, download another file cancel as indicated:

    quest.png

    popup codes is:

    < af:popup id = "p3".

    Binding = "#{pageFlowScope.BeanName.downloadBulkRolePopup} '"

    contentDelivery = "immediate" >

    < af:dialog id = "d5" type = "id ="pgl29"layout ="vertical"nLayout >"

    < af:panelGroupLayout id = "pgl31" layout = "horizontal" >

    < af:spacer width = "30" height = "50" id = "s22" / >

    "" < af:selectOneChoice label = "Please select a Type" id = "soc4" autoSubmit required = "true" = "true" value = "".

    Binding = "#{pageFlowScope.BeanName.selectTypeSOC_binding}" >

    < af:selectItem label = 'G' value = 'G' id = "si7" / >

    < / af:selectOneChoice >

    < / af:panelGroupLayout >

    < af:panelGroupLayout id = "pgl30" layout = "horizontal" >

    < af:spacer width = "20" height = "50" id = "s23" / >

    < af:commandButton text = "download the role in bulk" id = "cb8.

    inlineStyle = "do-size: small;" do-family: Arial; make-weight: bold; ">

    < af:fileDownloadActionListener filename = "BulkRole.csv"

    contentType = text/csv"; "charset = utf - 8"

    Method="#{pageFlowScope.BeanName.OrgTypeBulkRoleDownloadCSV_ActionListener}"/ >

    < / af:commandButton >

    < af:spacer width = "40" height = "50" / >

    < af:commandButton text = 'Cancel' id = 'commandButton5' immediate = "true".

    inlineStyle = "do-size: small;" do-family: Arial; make-weight: bold; »

    actionListener="#{pageFlowScope.BeanName.cancelDownloadActionListener}"/ >

    < / af:panelGroupLayout >

    < / af:panelGroupLayout >

    < / af:dialog >

    < / af:popup >

    Cancel of works well as:

    {} public void cancelDownloadActionListener (ActionEvent actionEvent)

    this.getDownloadBulkRolePopup () .hide ();

    }

    But when calling () .hide () this.getDownloadBulkRolePopup; for the download after the download code button, it does not close the pop-up window as expected

    Please notify

    This is because fileDownloadActionListener calls internally the responseComplete(); and you can't do anything after that

    So use this way:

    http://www.gebs.ro/blog/Oracle/affiledownloadactionlistener-generate-export-and-close-popup/

  • How can I display an error message on the listening port close popup without closing the popup.

    Hi Experts,

    JDeveloper 12.1.3.0.0

    How can I display an error message on the listening port close popup without closing the popup.

    Thank you

    Roy

    As its name suggests, close listener of popup is called when popup is closed so you can not do this.

    If you want to display the popup message, use your own buttons instead of the ok/cancel default buttons and close the popup programmatically.

    Dario

  • Bij het openen van mijn photoshop elements 8 via het bureaublad squeeze ik of fusion: doing 6 en zou ik computer opnieuw opstarten maar dat like closer ook niet.

    Bij het openen van mijn photoshop elements 8 via het bureaublad squeeze ik of fusion: doing 6 en zou ik computer opnieuw opstarten maar dat like closer ook niet. Wie kan mij helpen?

    HEB wel een laptop PS6 weniger gedownload die Super first nog wel maar nu ook niet meer.

    If this is the exit code 6, photoshop elements: http://helpx.adobe.com/premiere-elements/kb/updated-installation-instructions-premiere-ele ments.html

  • Apex 3.1: Data Selector align question

    Hello

    In case there are 2 preparers of data,
    A first with 'Start on a new line': YES, «...» Field': YES, and the second with "Start on a new line": NO, «...» Field': NO (I need '... (Field": NO to seccon point, in order to be placed right after the first element)

    The fields are not displayed properly... Basically, the two labels are displayed somewhere between 2 fields, and the second data selector is on a new line...

    The same thing happens if after a data selector, I have another post with 'Start on a new line': NO, «...» Field': No.

    There is no general work around on this one?
    In previous versions, I had no such problem.
    The elements appears one after another, on the same line.

    Thank you
    Dragos

    Hi Dragos,

    See if you can help my solution here: Re: problem with the position of the elements of

    Andy

  • Close popup region

    Hello gurus,

    I'm new in the adf and use Jdev 11.1.2.3. I have a popup in a page. Popup has an area that is created from an external jar file. This region is ok and Cancel button. I want to close the popup buttons in this region. Please give me idea and sample code how can I accomplish this task.

    Add under method in your managed bean:

    public RichPopup retrieveParentPopup (UIComponent component) {}

    System.out.println ("in retrieveParentPopup:-->" + component);

    If (component == null)

    Returns a null value.

    If (component instanceof RichPopup) {}

    return component (RichPopup);

    }

    Return retrieveParentPopup (component.getParent ());

    }

    Now, in the listener to the button action (used for closing popup), above the method call:

    retrieveParentPopup (uic) .cancel ();   where uic is UIComponent to your button object.

    I hope this helps.

  • Form of the ADF for data structure with several child records

    Jdev version: 11.1.1.2.0

    I have a data structure with a one-to-many parent-child relationship. I give an example of the data structure.

    Employee table:
    ----------------------
    EmpId
    EmpName
    Salary

    Table Historiqueemploye:
    -------------------------------
    EmpId
    Previous_Employer
    From_Date
    To_Date


    In the ADF form for entering data for a new employee, I want to give a layout (say, a button "Add row") for the history of the employee's employment. How can we succeed in ADF?

    I'm new to ADF. Would be grateful if someone can help me with detailed steps or a link showing such a demonstration.

    Thanks in advance.

    Hello

    If you exposed a View for the Historiqueemploye table object, then simply drag this point of view as a form and then drag and drop the create operation (within the structure of the View object in the data control palette) as a button for the new line is created. If you do not always display the historical, add it to an af:popup and start button context menu create or hide the af: panelFormLayt that a form is added by default.

    Frank

  • Customize the Std.Date selector

    Hi friends,

    I have a field of type DATE PICKER. For the date picker, I gave the following settings for it

    Format mask: DD-MON-YYYY HH24

    show on: icon click

    show other months: NO.

    Navigation list to: None

    Shortly after if I run the page and select the dates of this page element selector means, it is display date and time in it. It is the fine.

    But it shows also two buttons that he is today and another close button

    Is it possible to change the label of the button Close to Apply. It is possible to change in the Standard Date Picker.

    Brgds,
    Mini

    Hello

    Place on page run JavaScript when Page loading

    $("#Px_ITEM_NAME").datepicker("option","closeText","Apply");
    

    Replace Px_ITEM_NAME with your name of the element.

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • Close Popup problem

    Hello

    I am developing a DateChooser custom which will display several months at a time. I've created a popup window witch contains the month and created an event that fires when a date is selected. Now it all works, but when I try to close the pop-up window I get an error.

    Source:

    private void dateSelected(event:DateChangedEvent):void {}

    trace (event.selectedDate);                         The trace shows the date

    PopUpManager.removePopUp (dpw);

    }

    The error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    at mx.managers::FocusManager/childHideHandler() [E:\dev\4.0.0\frameworks\projects\framework\s rc\mx\managers\FocusManager.as:1744]

    to::EventDispatcher/dispatchEventFunction() flash.events

    to::EventDispatcher/dispatchEvent() flash.events

    at mx.core::UIComponent/dispatchEvent() [E:\dev\4.0.0\frameworks\projects\framework\src\mx\co re\UIComponent.as:12266]

    at mx.core::UIComponent/setVisible() [E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\ UIComponent.as:3038]

    to mx.core::UIComponent / set visible() [E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:2997]

    at mx.controls::CalendarLayout/mouseUpHandler() [E:\dev\4.0.0\frameworks\projects\framework\s rc\mx\controls\CalendarLayout.as:2497]

    Any help is appreciated!

    This is a bug in Flex.  Please fill in a bug if there is not already one.

    One solution would be to not remove the popup after a mouseUp

  • Close popup at the end of the procedure

    I built a custom shortcut menu that I use to store a value in conjunction with the current screen. The popup contains the values of the current screen, asking the user for a little more entries, and then saves the records. The procedure works very well. Once the procedure is completed, I want to close the pop-up window.

    I tried two things: using a procedure to close the Popup window and use of indicators of this thread:
    Re: Close the popup after MRU

    I got to work (part close) but I had to go back and change some of my page and now it does not work yet. Can anyone suggest what to watch?

    Header HTML:
    <script language="JavaScript" type="text/javascript">
    function closeWindow() 
    {
     if ( document.getElementById("P1069_SAVESTATUS").value == 'R' )
     {
      window.opener.location.href=window.opener.location.href;
      window.close();
     }
    }
    </script>
    One of the regions HTML, source is:
    <script language="JavaScript" type="text/javascript">
      onLoad="closeWindow();"
    </script>
    Article P1069_SAVESTATUS of the region is defined as hidden, the value "n" when session state is null.

    Process is the following (triggered by the button FINISH):
    declare
      v_job        NUMBER     := :P1069_TC_ID;
      v_dt         DATE       := to_date(:P1069_DT,'MM/DD/YYYY');
      v_emp        NUMBER     := :P1069_EMP_ID;
      v_pkg        NUMBER     := :P1069_PKG_ID;
      cursor c_pkg is select COURSE_ID from TRAINING_PKG_ASSIGN
                where COURSE_PKG_ID = v_pkg and COURSE_ID > 0
                order by COURSE_ORDER;
      v_crs        NUMBER;
      v_eemp       NUMBER     := :G_USER_ID;
      v_edt        DATE       := SYSDATE;
    begin
      delete from EMP_TRN_HISTORY
       where TC_ID = v_job;
      open c_pkg;
        LOOP
          FETCH c_pkg into v_crs;
          EXIT WHEN c_pkg%NOTFOUND;
            insert into EMP_TRN_HISTORY (EVENT_ID, EVENT_DATE, TRN_CRS_ID,
                  ENTRY_EMP_ID, ENTRY_DATE, TC_ID, EMP_ID, PKG_ID)      
               values (SEQ_EMP_HISTORY.nextval, v_dt, v_crs,
                     v_eemp, v_edt, v_job, v_emp, v_pkg);
        END LOOP;
      close c_pkg;
      :P1069_SAVESTATUS  := 'R';
    end;

    Try to change the HTML code in your area for

    
    

    onload = "" notation would be used if you were putting the function call the "tag of the page.

  • Close popup with branch

    I created a page with a "New game" button that opens a pop-up window. It clears the cache for the popup and works very well.

    The new party can be seized and 'create' d. Create the branches of the page itself and the button is not displayed. The new data of the party are recorded in the table.

    The popup page has a computatoin to the party_id in the element of the calling page. The Cancel button is a target of the URL: javascript:window.close(); This closes the window.

    Two questions;

    I want the industry to be the target of URL that closes the page, but I can't make it work. The URL is called in the header of the HTML Page:

    < script language = "JavaScript1.1" type = "text/javascript" >
    function passBack() {}
    Window.Close ();
    Window.opener.Location.Reload (true);
    }

    I did the only branch a URL and it is entered as the url: - javascript:passback () - he never performed the function.

    I then tried - javascript: Window.Close (); - and the window did not close. It is the same code, use the Cancel button.

    What Miss me?

    Second question; I clicked on the butoong to cancel, the window closed and on the calling page I looked at the session variables and the party_id has been reported as R but I didn't know the value? No he does not write the session variable? Is it possible for me to check?

    TIA,

    Sam

    Hi Sam,

    As you may be using a branch of the page work is no longer the customer (so to speak) and javascript code can be run at the client level. That's why your cancel button works with the javascript:window.close() function and branch of page section does not have the same appeal. You can work around this by running a PLSQL page process, but who needs to have a few lines of javascript embedded in the "script" tag and returned using the htp.p () procedure...

    Maybe there's a better explanation / available process however in the absence of one that has worked well for me before.

    BTW: I also agree with comment Dan however if that 'Enterprise' then so be it.

    See you soon,.
    Mike

    Published by: Mike C on December 17, 2008 13:42

  • Close popup screen programmatically

    I have a popup screen that I displayed to inform the user that they are wating on entry. When I try to close it in my earpiece method it gives the error:

    IllegalStateException - UiEngineImpl.assertHaveEventLock)

    I push the pop-up screen on the stack using a runnable.invokeAndWait and push as a ModalScreen because otherwise it will not show.

    What is the error of assertHaveEventLock for, and why the window display not using invokeLater and pushScreen?

    The IllegalStateException is thrown because the thread that calls the close method (the listener) is not the thread main event.  Calling the method close must occur in a block, as described on the next page.

    How - to upgrade a screen on the main event Thread
    Article number: DB-00136

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800256/...

  • events of button inside the popup does not close popup

    Hi all

    I have a requirement to create the popup to enter some lines. So I created integrated popup and I placed the table advanced inside the popup. Also, I placed a button (AddNewRow) with the partial action of fire in table advanced table actions. in the basic PFR page, I wrote for the event AddNewRow event action. Once I click on this button, its perfectly calling event written in base page. But the window closed. How to avoid close the pop up window because I have to do the creation of multiple line inside the popup.

    version: R12.1.3

    Please guide to achieve this.

    Thank you

    SAN

    I achieved this goal by creating a button with partialFireAction event and event action written inside the window popup controller.

  • The ADF Table data validation and highlighting

    I have an ADF table, supported by a VO. Gets the data loaded from a spreadsheet file. There are some required columns marked with the required attribute. the columns do not get highlighted when loaded data are empty. How can I get auto table validated during the loading of data and WITHOUT a commit / submit to the rear end table?

    My requirement is.

    1 load the data into the table.

    2. a way to highlight the rows or columns that have no values (how?) I tried the style inline for column as #{row.bindings.invamt == null?' background-color: Red;': ' background-color: White;'}, but no luck.

    3. validate data from db.

    User, tell us your version of jdev, please!

    If the table is editable, you can add this to the inputText of the column

    contentStyle = ' #{empty row.bindings.PhoneNumber.inputValue?» "{- color: red;':"} ".

    For the PhoneNumber column. If the table is read only the cellular connection is

    973564 wrote:

    I have an ADF table, supported by a VO. Gets the data loaded from a spreadsheet file. There are some required columns marked with the required attribute. the columns do not get highlighted when loaded data are empty. How can I get auto table validated during the loading of data and WITHOUT a commit / submit to the rear end table?

    My requirement is.

    1 load the data into the table.

    2. a way to highlight the rows or columns that have no values (how?) I tried the style inline for column as #{row.bindings.invamt == null?' background-color: Red;': ' background-color: White;'}, but no luck.

    3. validate data from db.

    contentStyle = ' #{blank line.» Phone number? "{- color: red;':"} ".

    So I guess that the connection you are using is not correct.

    Timo

Maybe you are looking for

  • Why my netflix would have no sound on mozilla, but internet explorer. My mozilla is so far

    my sound works on mozilla for everything what I found but netflix, I have have not all the steps netflix has suggested, but I have no sound on mozilla yet, but on other browsers, I checked that mozilla volume is set to full, but still have no sound.

  • iPad 2 Air cannot download google voice

    Hello I use the iPad 2 air. My problem is that I can't install google voice. Someone knows how to fix this? When I try to download the installation files, it says "safari cannot download this file. Can you suggest me what should I do?

  • What is the problem with Mac Companion?

    I use a Mac Pro mid-2012. run OS X 10.9.5 Mavericks; and I have an external 'Mac Companion'.  Having an 'alias' of my Mac on my Dock mate; the alias used to look like what is included in pic 1: But since I've updated the "Security Update 2016-001", 2

  • How patch 2014 (64) Sql Server Sp1 CU6.

    I'm new to Sql Server, but have one right on another idea DB like oracle. I downloaded Sql server 2014 Sp1 & Cumulative Update Package 6 for SQL Server SP1 2014 (KB3144524). I just want to understand how CU6 patch. I do not launch the installation of

  • The only way I can get online in safe mode with networking

    Whenever I go online the computer freezes. The only way I can get online is in safe mode with networking, can someone please help