Oracle APEX 5 - modal Close event without sending the page

Hi experts,

Is there a possibility how to close the modal page using 5 APEX without submitting the page called from? (just refresh the region).

I tried to use event close modal in the parent but to start it I have to close the modal page to redirect to the parent.

It automatically submit the parent page.

Concerning

J

Hi Patrick,

I found the right solution for me. I left the treatment of the normal page on modal button (Submit form and option SQL INSERT). At the end of the processing of the page, I created another page dealing with DIALOGUE NARROW - one of the option in the LIST on the page that deals (no action). I created record and close modal just by using the processing of the page. In the parent page I got it before (update).

Thank you for participation.

J

Tags: Database

Similar Questions

  • Parent refresh after modal close when you use the .show_modal method

    I followed the method of '.show_modal' of manaul in this thread: Open the modal page report Skillbuilders

    My question ishow I update the parent when the modal closes?

    I just took a glance: you already put it in place for the most part correct. I changed the event 'close' event "auto close" If, as is most appropriate: the update does not occur when the dialog box is closed because there was a match for the selector autoclose (the message of success).
    What was wrong was the selection type. The event type for the Auto close (close/manual and close) of selection must be "Object DOM", and 'Object DOM' should be 'document '. The fence does not trigger on a specific region, such as you have specified.

    I also changed the scope of the action "open mode" dynamic static event: without it, the popup would not work once the paging occurs.

  • 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

  • ADE 3.0 crashes on Windows 7.  Transfer screen continues to operate. Cannot close ADE without restarting the computer.

    ADE 3.0 under Windows 7.  If I transfer a book at my e-reader, the screen freezes in the 'transfer' and seems to keep loading even if the book is already present in the drive.  Cannot close ADE without restarting the computer.

    Right click to the digital edition and run as admin.

  • Generate dynamic elements without refreshing the page

    Hello

    I have a challenge to generate elements on a page dynamically without refreshing the page.

    I tried to do with AJAX, but do not have the elements on the page.

    I see that my process is called as I can warn the outcome of the appeal.

    Here is my code:

    I have a button calling the JavaScript function with AJAX call for the process:

    function f_OnDemand() {}

    get var = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is NEW_FLOW', $v ('pFlowStepId'));

    invoke

    gReturn = get.get ();

    ajax reminder alert

    Alert (gReturn);

    }

    And here is the process that involves creating a few dynamic elements on a page:

    DECLARE

    Meter number;

    number of items;

    number of p_counter;

    BEGIN

    items: = TO_NUMBER(:P7_NUMBER);

    FOR counter IN LOOP 1. items

    p_counter: = counter + 1;

    HTP. P ("Item" |) APEX_ITEM. DISPLAY_AND_SAVE (p_idx = > counter, p_value = >, p_item_id = > counter). ': ');

    HTP. P ('Checkbox': counter |) ' ' || APEX_ITEM. CheckBox(p_idx => Counter, p_value => 'Test'));

    HTP. P(' ' || APEX_ITEM. SELECT_LIST (p_idx = > counter, p_value = > 'Y', p_list_values = > ' Yes;) Y, no.; N') || br / > ');

    HTP. P ("< br / > '");

    END LOOP;

    END;

    The question is - how can I make these elements of rendering on a page?

    I'm on Apex 4.2

    Thank you.

    The return would be inserted somewhere in the DOM of your page. So, regardless of the call ajax returns, must be added to a zone. Use jQuery for this. See this example:

    https://Apex.Oracle.com/pls/Apex/f?p=93000:803

    Denes Kubicek

  • How to trigger a conditional display based on a dynamic Action without submitting the Page

    Hello

    Using Oracle APEX v4.2 on 11g, I have the following scenario and wanted to take other people on how to accomplish what I'm trying to do, i.e.:

    In region 1, I have a select item list page called P1_SELECTION, which contains selections from drop down to the user to choose from the following three: A1, B2 and C3

    In region 2, I have two checkbox elements:

    P1_CBOX1 I gave a conditional display of ' point value / Expression 1 column! = 2 expression, where Expression 1 = P1_SELECTION and Expression 2 = B2, so P1_SELECTION! = B2

    P1_CBOX2 I gave a conditional display of ' value of the point / column Expression 1 = Expression 2 where Expression 1 = P1_SELECTION and Expression 2 = B2, then P1_SELECTION = B2 .

    Use of dynamic Action on the evolution of the P1_SELECTION in region 1, how can I trigger the correct display of the checkbox in region 2, with the default view of the region 2 checkbox being P1_CBOX1, without submitting the entire page, just refreshing each of the elements checkbox to trigger the conditional display correct?

    For example, on the changes of P1_SELECTION = B2 then entire submission without page, only P1_CBOX2 is presented to the user in other P1_CBOX1 is displayed.

    Is this possible?

    Thank you.

    Tony.

    Hi Tony,.

    condition your dynamic action on P1_SELECTION with the following condition of javascript: this.triggeringElement.value = "B2".

    Add real actions that will show P1_CBOX2 and hide P1_CBOX1

    Add false actions and going hide P1_CBOX2 show P1_CBOX1

    Set the dynamic actions to fire on Page load

    Kind regards

    Erik-jan

  • How to get the value of the tree node without reloading the Page. !

    Hello
    I worked with apex 4.2 and I've created trees and as a table to retrieve the date according to the value of the tree node select the code tree something like that

    {
    Select case when connect_by_isleaf = 1 then 0
    When level = 1 then 1
    of another-1
    end the status,
    level,
    'ENAME' as the title,
    NULL as an icon,
    'EMPNO' as value,
    NULL as ToolTip,
    ' f ? p = 36648:34:5234984107903:P40_SELECTED_NODE :'|| EmpNo as link
    "Dept". "" EMP ".
    Start by "MGR" is nothing
    connect prior "EMPNO" = "MGR".
    siblings arrested by 'ENAME '.
    }
    and I put the Page selected node element: P40_SELECTED_NODE. the tree worked well and recover the data in tabular form according to the value of tree node

    My Question:
    1. I want to recover the data without submitting the page where whenever I select the value of the tree make page reload to update the tabular presentation with the new value, there is a way to convey the value of the tree node to point P40_SELECTED_NODE and in the form of refreshment without page reload.

    2-i want when selected in the page tree run process according to the value of the on-set tree node to create dynamic action with (jquery selector: div.tree li > a) but the value of the incorrect node.

    Concerning
    Ahmed;

    Take a look at my sample tree application.
    When you select a node, a details report is updated. That should help you implement for your situation.
    However, one thing to note is the link on each node that you have. Click on a node to redirect to the same page and set the value of P40_SELECTED_NODE. You can keep the element, but the link should go, as it's him "reload" the page whenever you click on a node. Implementation of the action of "onselect" tree and setting the page element to the value of the node that will be in place. Be sure to add the page element in the elements present in the form of tables.
    The reason why your selector didn't return the correct value is that you have a click event bound to the anchor tag in each element of the list. The anchor tag does not hold the real value (usually and id), but holds that the display value. The items list item containing the real value in their attribute "id". Therefore, to get this value you should always inspect the first parent of the clicked anchor tag. (which is another way to solve it, of course)

  • updating of the chart without loading the page

    Hi friends,

    I use apex 4.1. now I want to refresh only the graphic region I created the graphic area and I replaced the mentioned below instead of #CHART_REFRESH javascript code # in the Source of the region

    JavaScript code
    --------------------
    < script type = "text/javascript" >
    function RefreshChart()
    {
    Alert ('a');
    var chart_name = ' #CHART_NAME #'.substring (1);
    apex_RefreshChart (& APP_PAGE_ID, chart_name, 'en');
    }

    < /script >

    and then I created an item_id is P7_X(date format), then created dynamic action if I change the P7_X(that_is_change_the_date).it of the order of the day will address the dynamic action, first of all submit P7_X point id throught plsql and then javascript call function (RefreshChart()) in the source.but region can't be able to call the javascript function in the source of the region.
    kindly tell me how to call the javascript function if javascript works within the source of the region (region of graph)
    If it's no way to tell me the procedure to see how cool the graphics area without load the page.kindly help me...

    Hi 888837,

    Be a little more patient! He is a volunteer help forum where everyone also has a day job. Keep in mind that we probably don't sit in the same time zone and have different work schedules. If you need fast response time, then you should get in contact with the Support of Oracle.

    That said, I had a look at your example. The only error, why it did not work was because you used two different date formats. Used for the switch of date dd/mm/yyyy and to the TO_DATE in the SQL statement, you use mm/dd/yyyy. Now I've changed two masks of DD/month/yyyy format to make it more transparent month. If I now enter on 2 February 2008 and leave the graphic field is getting updated with the expected data.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Permanetely avoid pop bing upward at the bottom of the page, not just close every time that the page is re-open.

    I hate this F * KIN bing pop up at the bottom of the MSN.com page and you want to permanently delete it, not just 'close' every time that the page is re-open. I have Windows 7 and would like to know how to do it. I'm not familiar with how to change the script or procedure to do. I Ad Block more and do not know what line of 'block' in filters. Help!

    I use Firefox 21.0 and like MSN.com (except the cursed bing pop up) as home page.

    The site requires cookies to store your preferences. If you accept cookies from msn.com, then the search bar disappears for good after clicking on the link close [x] .

    If you want to block the search bar in Adblock Plus, put the following filter group "My masking Rules.

    msn.com##div#ls1[class="co4b2 cf co coa2 coc1 m3  ls1"]
  • Restart an animation without refreshing the page HTML

    I am looking for a way to reload animation on demand, but without refreshing the page HTML (which is no JS window.location.reload () method, say with a simple click of a button. Direct application would be a button to restart the game.

    It's probably something that could be useful to many people.

    Once the composition is ready to use, why would you want to reload the entire composition again.

    An example for the game:

    When you click on the play button, you load the composition once. Playback of the animation until the end.

    Then you can set the visibility of the animation in 'hidden' using the script. And show a button "Restart" instead.

    In the handler for the button click "restart", set the visibility back to 'visible' and read the animation again.

    HTH,

    Vivekuma

  • Send the page and redirect url

    Can someone tell me how I can do the following when the user presses a button. I can do 1 and 2 separate button but don't know how to link to a single button.

    When you press a button (example: submit button)

    1. send the page, do a few select and insert
    2. a url redirection


    Thank you very much.

    Zen

    Change the branch that fires after 'Send' to go to a URL instead of a page as you probably now have it.

  • How to save the item without displaying the page

    Hello

    I have the need to save the item without displaying the page.

    thanx

    In your view of yyy Table object create an attribute for BusinessGroupId you like to save it in your table of yyy VO.

    Now when you click on the button save capture this ViewObject and assign to this attribute VO running. I guess that yyytableVO is based EO.

    Extract

    Controller PFR Code
    
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    pageContext.getParameter("Save") != null)
    {
      OAViewObject vo = (OAViewObject)am.findViewObject("yyyTableVO");
      if (vo != null)
      {
         vo.getCurrentRow.setAttribute("BusinessGroupId", value);//value is what you have capture from pageContext.getparameter
    
       }
    
    }
    

    Thank you
    -Anil

  • Change result of &amp; lt; cfinclude &amp; gt; without refreshing the page.

    Y at - it a simple way to change the result of a < cfinclude > without refreshing the page. I have a page that will display one of the many < cfinclude > based on which button is clicked. For our purposes here, assume that there are 6 buttons and 6 different < cfinclude >. "s. I think some sort of update panel ajax, but I do not know ajax, nor can I use ASP.Net.

    All what Adam said, with other examples of what I think of you
    try to do.

    You can include all your code each in an identifiable
    block as a element. Then, using JavaScript and DHTML
    effects you could hide and show the different divs based on the user
    interaction with account of controls such as buttons. This would work well
    If the content of all the divs is relatively small and static. If they
    are large and quite where all the download would indeed on
    load time or momentum so that the content displayed in each section must
    to be up-to-date at the time when a control is selected this option will be
    not work well.

    In this case, you must had a such kind of dynamic refresh
    AJAX or pipes. This adds a dimension to the aspects of DHTML
    your interface to make new requests from the server before the content of the
    the browser is updated.

    Before discussing more in detail and the how and why of each of these it
    would be useful to learn more about your needs accurate and comfort
    level with different technologies and techniques.

    As Adam concluded there are several ways to solve this type of problem.

  • How to send the page before loading the page header?

    Hello

    Is it possible to send the page before loading the page header. Because I have a sql report in the homepage itself that needs to be exported to excel.when, loading the page, the page elements will be set to NULL in the session that causes the output export empty.

    Appreciate the help,
    IDEOGRAM

    Hello

    Use according to the calculations of the header for these items.
    It should work

    BR, Jari

  • APEX 5 - missing values in link for the PAGE that is modal if it has used some PAGE ELEMENTS in the VALUE of the

    Hi Experts,

    There is a problem in the APEX when I open a modal page-> submit modal page and refresh parent region (report one).

    When I first open a report from the region and click the modal page, everything is ok:

    Modal page values are defined in the sense of link that open to it.

    Submit after modal page by button (there is a process of dialogue), the dialog box is closed. On the parent page, there is a DA - dialogue close report parent refresh.

    After update - waiting indicator is indicated - all the element referenced in the link to open modal values are defined as empty values.

    Is there a problem in the links when I use it it set the values of the elements of the page? (not report items)

    I reproduced the problem on apex.oracle.com:

    https://Apex.Oracle.com/pls/Apex/f?p=16502:9

    user/pass: demo/demo

    "Just check the link in 1 region report-#OPEN_MODAL" report item. You can check the link with the appropriate values.

    After opening modal, simply click on the button. Dialog box is closed and updated in the region. Check the link again. Link is not valid because the values are empty. (screenshots above)

    concerning

    J

    Hi Jozef,

    the values of your page P9_NEW1 - P9_NEW5 items are not in persistent session state, they are only available in memory at the time when the page is rendered. Every time when you want to refer to an element in your report, and no matter if it is in the report SQL statement or as a substitution in a link, it must present the server as part of the "Refresh" / AJAX call so that the server can initialize this session state and you are able to reference it. You can do this by setting "Page elements must send" your report. In your case, you must set it to P9_NEW1, P9_NEW2, P9_NEW3, P9_NEW4, P9_NEW5. See the example updated, you provided.

    Concerning

    Patrick

Maybe you are looking for

  • manage bookmarks

    What happened to manage bookmarks in the bookmarks dropdown? Can I manage bookmarks from another access point?

  • Internet Conection sharing Vista Home & XP Pro

    Hi, I'm going to put in place 2 computers, the main computer (host (connect to the Internet) is Vista Home, the other PC under XP Pro (both are legal).) I have installed (Both Gigabit) network cards have cable connected modem Simulator and can access

  • Cannot find my model

    I have a new PC from Costco today for my wife, model # is hp pavilion p7-1067cb , but I can't seem to find anywhere on the HP site or anywhere else.  I just wanted to read the comments, to get drivers, ect.  I don't even be in it until the first week

  • What is the guarantee of a "Toshiba" of my HP laptop hard drive?

    I bought my laptop HP Pavilion DV7-1175NR 12/10/08.  Recently, I noticed that my laptop works really slow, and the hard drive LED remains on permanently.  With the help of the reader of the window self test, it was determined that "hard disk 1 must b

  • Lightroom crashes when you set the corresponding colors in the settings of the printer Canon Pro1

    Myself and my partner have experienced the same problem on two different computers. When we have implemented a new preset in the print for printing profiling module and enter the corresponding color in the grave lightroom print module down. We're not