Skillbuilders modal dialog box - condition for the parent page dialog box

Hello

When you use this great plugin, I have a dynamic action on my calling page that deals with the selection of the dialog box.
It uses
Select the type object: DOM
DOM object: document
Condition: expression javascript
($v ('P110_PROD_SEARCH') is 'BLAH')
where the js expression is to ensure that I run the correct dynamic action, especially when I have a few buttons on the page referring to different variants of the modal dialog box.

My first action is some javascript which questions the value of
this.data.modalPageCloseValue
It helps me to make decisions in subsequent actions on the opportunity to execute some pl/sql, for example

In the light of a recent issue of my about a possible bug APEX (displayed with HTML item affected by the dynamic action and since we cannot put conditions on measures - I was wondering if I could incorporate something in my condition of dynamic action to stop all the dynamic enforcement action if modalPageCloseValue is null - but it seems to be out of reach?)

Scott

Scott,

Ah, of course, use this:

$v('P110_PROD_SEARCH') == 'BLAH' && this.data && this.data.modalPageCloseValue

Kind regards
Dan

blog: http://DanielMcghan.us/
work: http://SkillBuilders.com/APEX/
Twitter: https://twitter.com/dmcghan

Tags: Database

Similar Questions

  • APEX 5.0 after you close a modal dialog box, I want to introduce the parent page, without losing session values

    I have a parent page that triggers a modal dialog box in APEX 5.0. When the user confirms in the dialog box, it closes the dialog box by using the process of dialogue.

    In the parent page, if I do not have a dynamic action "Dialog box closed", the user returned to page with the values, they recently came again here. If I add a closed action dialog box to send the page, the values are lost - it's as if the page refreshes before submitting. Someone knows how to solve this problem.

    Thank you.

    user3282753 wrote:

    Please update your forum profile with a recognizable username instead of "user3282753": Video tutorial how to change username available

    Also, is it possible to display the success message from the Page of the dialog box without updating the parent page.

    See Roels Blog: display a success message after you close a modal dialog box

  • Check boxes are displayed incorrectly < input type = "checkbox", "checked" > in 4.0.1 when they are fine for the same page in 3.6.17

    Check boxes are not displayed properly checked < input type = "checkbox", "checked" > in 4.0.1 when they are fine for the same page in 3.6.17

    Maybe you can try to use controlled instead of "checked".

  • Password for the Parental control reset blackBerry Q5

    What part of the custom restoration contains the password for the 'Parental control'? I forgot one I have and need to reset it.

    Very probably the settings part that will hold but I don' t know for sure.

  • How to close the parent page popup and refreshment with click of a button.

    With Aped 4.0, I created a window close popup with this process, I am able to close the popup window after submit. But how do I update the parent page before you close the pop-up window.

    He does ' t work like this, because above JavaScript three calls does not wait for the actions to perform
    Means once the function of the saveChanges method is called, it will run funtions all three with waiting for the first action to perform. This is not the right way.

    Instead, you can use a branch of the page with the guy like branch of PL/SQL procedure with the following code.

    And Point branch: on submit: calculation of before (before the calculation, Validation and treatment)

    Begin
    htp.p('');
    end;
    
  • How to set the values on the parent page of pop up

    Hi all

    I was wondering if someone could help me.

    I have a page parent with a button that opens a window where you can enter values and
    I would like to send these values to the parent page refresh page to set the item and close the pop-up window once the user has pressed a button in the pop-up window.

    How can you establish something like this?

    any help is appreciated.

    Kind regards

    Cleo

    Hello

    That's how I did in the past.

    1 use a function JS to open the pop - up example

    
    

    2. in the popup to create a JS function to set values and close the window for example

    function passBack(passVal1,passVal2,passVal3)
    {
      opener.document.getElementById("P1_ITEM1").value = passVal1;
      opener.document.getElementById("P1_ITEM2").value = passVal2;
      opener.document.getElementById("P1_ITEM3").value = passVal3;
      close();
    }
    

    If you want to refresh the page, you can use something like this:

    opener.window.location.reload();
    self.close();
    return false;
    

    3 Add a call to the function in pop, which could be a URL, page branch or report link for example column button

    javascript:passBack(&P32_SOURCE_PAGE.,'#COL01#','#COL02#','#COL04#');
    

    There will be a slicker average JQuery, but this should help you get started.

    I hope it helps

    Shunt

  • HP M602: M602 takes a long time for the first page of the printer

    I have a M602 when you send a print job, it takes 2 t o 3 minutes for the first page to print.  The following pages and then slowly but surely print.  The next print job then begins the same cycle.

    We had one where I work where it is one of the complaints and a firmware update seems to make a difference.

    Firmware update also tackle the problems of security and they are free.

    Firmware upgrade is found in the software section and drivers from the support page for your printer on hp.com.

    If my post is solved your problem and click the accepted as button solution under him.

    In order to thank a Tech for a post click the thumbs up button under the post.

    You can even click on the two keys...

  • How to refresh the Parent page after closing the window pop up (Dailog)

    Hello

    My Version of JDEV is 11.1.1.7.0

    I open the POP-UP (Dailog) using goLink

    Now how can I use property return Action Listener to refresh the parent page.

    Thank you

    Venkatn

    Hello

    Is there a reason why you using a goLink erq? Could replace you it with a commandLink? You will be able to refresh the page in the earphone of return.

    Kind regards.

    Ruben

  • the button click scroll to anchor in the parent page

    Hello world

    I have a file of edge integrated in my html as a banner page.

    I have a button in the file edge I want to control the parent page with.

    How can I get onClick in the file edge to scroll the page relative to the anchor position.

    I would do this without reloading the page as well.

    Any help is greatly appreciated.

    Thank you

    I didn't know that you load your Edge project in an iframe!

    Well, you can use this code to control the parent of the inside of the iframe:

    $(«_html,_body,_window.parent.document).animate ({scrollTop: $(«_#align_orthodontics_blog_»,_window.parent.document).offset () .top}, 2000)

    concerning

    Zaxist

  • Modal region of the tree as a popup... After clicking the value in the tree... How to avoid the parent page is refreshing

    Hi, I spent long hours to solve this problem and wait for the answer from the expert.

    I created a form with text boxes and one of them, I created just small image button to call the modal region of the tree.

    Everything is OK, tree appear and disappear after the passage of the code value for the text element in the parent form.

    But it refreshed and initialized all other areas of empty text as well... ^ ^;

    I think that, because of the link in SQL tree. Someone help me?

    Select case when connect_by_isleaf = 1 then 0

    When level = 1 then 1

    else                           -1

    end the status,

    level,

    "CAT_NM" as the title,

    NULL as an icon,

    "CAT_CD" as a value.

    NULL as ToolTip,

    ? p = & APP_ID.:112 :'|| : APP_SESSION |': P112_CAT_CD :'|| "' CAT_CD ' as link-> How to avoid refreshing the page parent and just switch the CAT_CD to the called page?

    'category '.

    Start with 'PARENT_CAT_CD' is null

    connect prior "CAT_CD" = "PARENT_CAT_CD."

    siblings arrested by "CAT_CD".

    Hey "zoomok,"

    Large - an example would have been my next request in any case I took a glance and changed your demo page to work as you want.

    Things of note:

    -SQL source tree: NO link value! A link value will generate apex code that will redirect you to the link. It will always be a redirect page, where a rerender page, and not what you want! Leaving NULL allows us to interact with the tree interactively via javascript

    -Code in variables and functions global page - javascript - next:

    function treeOnload(){
      var l$Tree = $("#tree_modal div.tree"); // get the tree instance
      // handle the onselect event of the tree
      $.tree.reference(l$Tree).settings.callback.onselect = function(NODE, TREE_OBJ){
        $s( "P112_CAT_CD", $(NODE).attr('id') ); // get the VALUE of the node and put it in item P112_CAT_CD
        closeModal(); // close the active modal region
      };
    };
    

    -In javascript - dependent section I added a call to this procedure:

    treeOnload(); // initialize the tree with our settings
    

    And that's all! I didn't know that you use "openModal". There are different ways to implement modal regions, so it is important to know how we do for ourselves what to do with it.

    FYI - you now need to change your credentials. And mark the answer that has helped you or is correct, please.

  • Refresh the parent page while a modal window is open to the APEX 5.

    Does anyone know if there is an easy way to do this in APEX?  Here are more details:

    I have an APEX 5 page with a report that shows orders for a customer.  The user presses a button to open a popup that allows them to add commands to the State.  If we add a firm order the modal pop-up window and the report is refreshed.

    However, I also have an ' Add and add another "button that adds the command to the collection, the report is based on and then deletes fields on the modal to allow another order to be entered."

    The user can see the report in the background, but the controls are not added until they close the modal window.

    Is anyway to update the classic/pages in the background report to give the user a visual indication that an order has been added every time they press 'add and add another '?

    Thank you!

    Hello

    You can create a dynamic action with the following javascript code:

    parent. $('#id_standard_report'). Trigger ('apexrefresh');

    You must assign a static ID to your standard report. Replace "id_standard_report" in the code with your code.

    Sergio

  • button is not rendered in the parent page after setting the condition made in popup.

    Hi all

    I have a page test.jsf where I have a button called display window confirmation with condition rendered as below

    < af:button text = "show the Confirmation window" id = "b8".

    actionListener = "#{TableShuttleBean.showConfirmationWindow} '"

    rendered = "#{TableShuttleBean.popUpCheckBox.Value == true} '/ > "

    I call a popup based at the click of another button. Where I gave an option so that the user doesn't show this confirmation again window. Once the user sets this checkbox and close the pop-up window. I display a button in my test. JSF which will allow the user to restore to the original setting.

    < af:popup.

    a code

    < af:selectBooleanCheckbox shortDesc = "#{bindings." EmployeesView1.hints.Selected.tooltip}.

    ID = "sbc22" text = "don't show this window again"

    Binding ="{tableshuttlebean.popupcheckbox}" / > "

    < / af:popup >

    I put the partial trigger for the OK button of the pop-up window to the form of the page parent element, but it does not work. I'm not able to update my parent page and show the button.

    My apologies if I'm not able to explain my problem clearly.

    Thank you

    Mozakkir

    Mozakkir, please indicate your Jdev version!

    You cannot use the property made for it. Once the rendering of the property is false, the component he remembers of the tree and is not shown again without a full page refresh. However, you are only a partial new.

    The visible property of the user instead that just hides the component and allows to show later with a partial refresh.

    Timo

  • Programming of a conditional FOR the timing of the STOP button on the loops

    I have a conditional FOR loop with a STOP button, however, the nature of LabVIEW data flow, the stop button is now being questioned at some point before the end of the loop. A control not having no entry, I can't connect to the last operation of a single iteration of the loop to trigger the vote on the STOP command, and I prefer not to use a flat sequence just for the power button if I can avoid it. I've considered using a structure of the event, but I don't want to force the loop to wait that the stop button to be pressed, I want just the loop to EXIT, * IF * the stop button is pressed... but I want the stop button to be questioned at the end of the loop, so if the user presses the button stop at any time in the loop , at the end of the iteration, the loop will end... that makes sense? At present, given that the stop button is called once at some arbitrary during the iteration of the loop time, if the user presses the stop button after he is questioned, the loop must run an extra iteration, and I don't want that to happen.

    ... in any case, I guess I'm looking for a more elegant way to implement that having to use a flat sequence just for the stop button.

    Sorry, but you'll have to use a sequence structure.  This is why they are there.  Sometimes they have their purposes.  Here is how I would handle it.

  • When you use the feature of period of Parental controls for my child's account, the session is saved, and although very convenient for the user, it's boring for the parent. How can I disconnect this acct when it expired already?

    When you use the period of Parental control feature, acct of my child receives the 15 min and 1 put min warning, and then the closure of the session. However, any Web site that it has a really annoying music keeps playing even when I connected under my account admin the only way I can disconnect the acct with Parental control game is to restart my whole machine. Is there another way to disconnect the user standard acct with this feature of limitation in time game? THX.

    Hi marion_librarian

    Thank you for using the Microsoft Answers Forums!

    This is the problem of design, the session remains active in the background, however, so the next time they connect, they can pick up where they left off without losing any of their work.

    In case if you complete the program, there is no these settings in the parental control to close the program, you can disconnect the program using the Task Manager.

    Check the link for more information:

    Explore the features: Parental controls:

    http://www.Microsoft.com/Windows/Windows-Vista/features/parental-controls.aspx

    Set up Parental controls:

    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-parental-controls

    NOTE: When you log in as an administrator you can connect to the wide of other users. Follow these steps to log on to the account with Parental control and/or any other user.

    1 click-right on the taskbar and open the Task Manager.

    2. Select users

    3. right click on the user name you want to disconnect, and then click close session.

    Hope this information was useful.

    Let me know if it worked.

    All the best!

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Help for the parental control on Vista administrator account

    Computer of my son is running Vista and I set parental controls in place through the administrator account, there a nonadministrator account.

    I changed the password after that we had a few problems with the controls, and now I want to change the settings again. However, the old password allows for parental control (IE, he allows his account access websites and bypass control, etc.), but when I try to access the administrator account, it says the old password does not work. When I enter the password, account says I don't have the login procedure and kicks back me to the main screen of Vista (where I take which account to enter).

    So, I'm stuck administering the account due to a conflict in the parental control passwords. If I try to reset the password, the computer ask me a USB stick with the old password on it information. It is a step that I did not.

    Any way to disable the administrator account? Or somehow remove/reset the parental control account access restrictions that I am experiencing?

    "when I enter the parental control in the non-administrative account, the system simply ignores the password that I entered"

    I suggest you read this info below on who has access to parental controls and how it works:

    http://www.bleepingcomputer.com/tutorials/tutorial139.html

    Link above has a very good tutorial on how to set up Parental controls.

    http://www.Vistax64.com/tutorials/95139-parental-controls-Setup-use.html

    Also, read the tutorial above and the 'Related links' tutorials to vistax64.com.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for