skillbuilders modal page: how to submit the page parent after closing modal window
Hello.
I use Apex 4.2.1 on mod_plsql and Oracle 11 g 3.
I installed version 2.0 of plugin Skillbuilders Page modal.
In may, app, page 7 presents a button. When you click on it, page 6 is displayed as a modal popup. Users can change this modal page form fields and then click on a "submit" button. This, in turn, automatically closes the modal page. Users seek then to page 'parent' (page 7). It all works very well.
My problem: Page 6 (modal page) contains a collection of Apex. This collection is updated when users click the submit button. It is this collection to be displayed with the data updated on the page "parent" (page 7). And so, I need to automatically send page 7 when the modal page closes automatically after clicking submit on the modal page.
I tried a dynamic action that performs an action of "submit page" whenever the user clicks on the button send in the modal page. But because the plugin uses an iframe to display the modal page, the action of page submit real that happens in the iframe, not in the 'parent' page (page 7). When the modal page closes automatically, users are left looking at the page of 'parent' (page 7) with the previous data (not updated). I have to manually refresh the page (via the browser) to see the data updates to the collection.
And then, does anyone know how to automatically return the page of 'parent' when the modal window closes automatically?
Thank you.
Elijah
Your dynamic action automatic closing has not been set correctly. The action is not triggered on a specific item, but rather on the 'document '. Your selection should be 'Élément DOM' and the element must be "document".
(Note that if you use several modal pages on one page, this action triggers for each of them. You can use the 'modal page id' in the creation of the page modal DAs must be able to stand out in outreach. You can find this in the documentation, too.)
Tags: Database
Similar Questions
-
region of refresh on the page parent after closing popup inframe
Hello
I have parent page with several regions, and one of the reports is related popup to another page using inframe. All these are works fine but now iam trying to a parent region partially regenerate after closing the window contextual inframe, I tried apex.submit (region1) but it does not work? no idea how can I update this after the closure of the window popup?
Best regards and thank you
Hi Gor_Mahia,
Gor_Mahia wrote:
Here are the details,
application ID = 46268
page ID = 13
demo123/demo123
proj2010 = workspace
Use the links in the second column IR
Once again thanks for your time.
Check your application now. The interactive report is refreshing on the closure of the modal dialog box using the method of dynamic, such action described in the blog post:
Monkey on Oracle: Modal popup with dynamic Actions
Here are the changes:
- Edited your action dynamic and value:
In the section "Advanced":
Scope of the event: Dynamics
In 'true Actions:
Action edited your "run the Javascript Code" and "Code" to modified:
From:
/* prevent default behavior on click */ var e = this.browserEvent; e.preventDefault(); /* Trigger JQuery UI dialog */ var horizontalPadding = 30; var verticalPadding = 30; $('').dialog({ title: "Edit Employee", autoOpen: true, width: 700, height: 300, modal: true, close: function(event, ui) { apex.event.trigger('#P13_AFTER_MODAL','select',''); $(this).remove(); apex.submit('edit-IR'); }, overlay: { opacity: 1.0, background: "black"} }).width(700 - horizontalPadding).height(300 - verticalPadding); return false;
NOTE: remove the apex.submit call in the function close to the code below so that it submits the page.
TO
/* prevent default behavior on click */ var e = this.browserEvent; e.preventDefault(); /* Trigger JQuery UI dialog */ var horizontalPadding = 30; var verticalPadding = 30; $('').dialog({ title: "Edit Employee", autoOpen: true, width: 700, height: 300, modal: true, close: function(event, ui) { apex.event.trigger('#P13_AFTER_MODAL','select',''); $(this).remove(); }, overlay: { opacity: 1.0, background: "black"} }).width(700 - horizontalPadding).height(300 - verticalPadding); return false;
I hope this helps!
Kind regards
Kiran
-
Satellite A500 - how to restore the factory settings after upgrading to Windows 7?
Hello
Since I have updated my OS to Windows 7, I have a few problems. In general, I noticed my laptop would ' t work as well as it was running Vista 32 bit. Especially with games online (souch as counter strike 1.6).
The problem is that I have for my backup DVD because my DVD burner work not at all :/ Now I just wonder how could I return for win Vista without the DVD. Is it still possible? I also do not have small jets CD I bought my laptop. So, what should I do?
null
Hi stab them.
I think that I n the new good t for you: restore factory settings without Toshiba recovery disc isn t possible in your case! :(
First of all I think it's normal to s no recovery disk is delivered with the laptop as you will need to create them yourself using the Toshiba recovery disc creator. That is why it s recommended using high quality as Verbatim DVD-R media.
I think that the only option to recover to factory settings is to order a new Toshiba recovery disc.
https://backupmedia.Toshiba.EU/landing.aspxI put t understand why you didn't create this disk, because after the first boot, if you shut down the computer area, you get the following message:
+ Important INFORMATION +.+ your system is equipped with a hard drive recovery system. If you need repair.
+ your computer in the restaurant to original factory State, you can do it directly.
+ HDD (press F8 when you start your computer, choose "Repair your computer" +)
+ and follow the instructions in the menu) or create a media drive bootable recovery to that end. +.+ Toshiba recommends you create recovery disk medium uses the "Toshiba Recovery Disc Creator' to ensure the +.
+ Hat you are able to restore your computer to the State of origin, installed at the factory, even if your computer +.
+ Gets severely damaged. -
How disable us the "almost complete iDrive" notifications in Windows 7 Professional?
How disable us the "almost complete iDrive" notifications in Windows 7 Professional?
IDrive is not an Apple product, contact the iDrive and ask them.
-
How to set the maximum fan speed. on X230t (Windows 8)?
How to set the maximum fan speed. on X230t (Windows 8)?
I use TPfancontrol to set the speed of the fan in the X230t. However, this will result in excessive wear on your bearing X230t fan, which causes a premature fan failure. Is there a reason why you want to run the fan at max speed?
-
How to change the extensions on several files with Windows 7?
* Original title: Extentions
How to change the extensions on several files with Windows 7?
You hear no doubt, is that your movie software will only recognize certain types of image file formats. If this is the case, you will need to reformat format files to any format PNG is recognizable by the software.
Rather than we guess, please identify your «film» software
Download and install IrfanView, which is a free utility for images. http://www.IrfanView.com/
IrfanView has the ability to read a great many formats of image files. It can also convert image files formats. And even better - for you - it can do all these things on a batch of files.
As test, after I installed IrfanView, open one of your PNG files. Now click on file > save as, and select the 'Save as Type' to be little matter the file type of your movie software will accept. Save the file. Make sure your movie software can accept the new file.
Once you are convinced that you can modify files that you have in a format that you can use, use IrfanView
File > Batch Conversion/Rename command. If necessary, see IrfanView help on this topic.
-
IN UCS how to restart the chassis only or closed is broken?
IN UCS how to restart the chassis only or closed is broken?
Here's how you can Deomm:
(1) make sure that you remove thr blade profiles.
(2) SAT select chassis # in the Hardware tab-> slot the general tab-> choose to decommission chassis
(3) wait 10-15 minutes so he can fill
(4) to discover it again:
(i) first of all, make sure that the cables are conencted correctly, that is, the IOM A to FI - A and the number of cables are, or more links specified in the strategy of chassis discovery,
(II) select the OU of the appliance chassis-> select the tab 'Decommissined' in the work Panel. You will find the chassis which you deleted, you can add it from there.
I'm not sure what you mean exactly by that: 'the GP of A FBI must be 2 not one?
, / Afonso
-
How to rebuild the registry key 'Hkey_local_machine\software\microsoft\windows\currentversion\explorer\folderdescriptions '.
Hello
Hkey_local_machine\software\microsoft\windows\currentversion\explorer\folderdescriptions
Try to run the system restore.
Note: When you perform the system restore to restore the computer to a previous state, programs and updates that you have installed are removed.
To run System Restore, you can consult the following link:
How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows 7:
http://Windows.Microsoft.com/en-us/Windows7/system-restore-frequently-asked-questions
-
How to solve the questviewer.exe has stopped working windows 7
How to solve the questviewer.exe has stopped working windows 7
using the analysis
Make sure your system is clean first. use ccleaner to get rid of junkfiles http://www.piriform.com/ccleaner/download
Also look for viruses either using avast and spyware using superantispyware
go to msconfig (type in the search box in startmenu or run in xp, and then press enter) then prepare your computer to clean boot by disabling all startup items and any of the services of windows, and then restart your computer. See if it makes a difference? If it did then you know who caused the problem.
you will also need to know is that "questviewer.exe"? It belongs to a program? If the answer is Yes try to update or reinstall the program, but before that make sure that the program is not hamful to your pc.
-
How to give the bios password and secure in windows 7
How to give the bios password and secure in windows 7
Hello
BIOS - FAQ
http://Windows.Microsoft.com/en-us/Windows7/BIOS-frequently-asked-questionsCheck with the manufacturer of your system (manufacturer of motherboard for customized systems)
information on the definition of a BIOS password.I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
How to decompress the files downloaded for use with Windows 7?
How to decompress the files downloaded for use with Windows 7. Specifically, zip files are a Magellan GPS unit.
There are instructions at: http://windows.microsoft.com/en-us/windows7/compress-and-uncompress-files-zip-files
-
How to create the hard disk volume/partition in windows 8?
I bought a new Sony Vaio with windows 8 OS. I need to create a new partition/hard disk volume. How to create the hard disk volume/partition in windows 8?
I bought a new Sony Vaio with windows 8 OS. I need to create a new partition/hard disk volume. How to create the hard disk volume/partition in windows 8?
shrink the volume c: http://www.sevenforums.com/tutorials/2672-partition-volume-shrink.html
Then create a new volume u want http://www.pcandtablet.com/windows-8-drivers/1216/how-to-extend-volume-in-widows-8-and-take-extra-space-for-a-drive.html
-
How to identify the primary Parent of a shared node?
We have a property that is set to Local defined, inherit,
Suppose the 'Color' property and currently is the behavior in DRM
Parent A - blue
Child 1 - blue (inherited from Parent)
Child 2 - color blue (inherited from Parent)
Child 3-color blue (inherited from Parent)
Parent B - Red
Child 3 ~ part 1 - red color (inherited from Parent B)
Child 4-color red (inherited from Parent B)
Children 5 - red color (inherited from Parent B)
The customer has improved the requirement so that in the case of shared members 'color' is inherited from the primary parent like the example below.
Parent B - Red
Child 3 ~ action1 - blue (inherited from "Primary" Parent A)
Child 4-color red (inherited from Parent B)
Children 5 - red color (inherited from Parent B)
I guess I'm going to need a new property like 'Primary colors' and I need to write a formula to calculate the color of base on the primary parent. However, I do not know how to identify the "main Parent" a shared node we use version 11.1.1.2 N-Tier
I'm looking for suggestions on how to calculate the value of the property you want.
Any help will be greatly appreciated.
Hello
You can create a new property derived like u said and use instead of the property defined in your exports or anywhere where you have to refer to the color. The property set can be used just to take the user input.
The new derived property should be a logic like that-
If (PropValue (Core.SharedFlag_MDM),
NodePropValue (PropValue (Core.PrimaryName_MDM), Custom.Colour)
PropValue (Custom.Colour))
Now, 11.1.1.2 I lost the memory of how the properties are referred to as - if they are just used with their names or namespaces is mentioned (Core. , custom.). You can change the formula accordingly to view properties
Thus, if SharedFlag_MDM is True, then it will take the value of the property to its primary node, which is inherited from the primary parent and if the shared flag is False then it is just a varValeurProp on the node itself.
I hope that answers you.
Thank you
Denzz
-
How to change the language in after effect
How to change the language in after effect
-
How to make the paper dirty after update links?
Hello
I use the code to update the link between resources by providing new URI below. The relationship between resources are updated, but the document is not become dirty.
InterfacePtr < ICommand > updateCmd(CmdUtils::CreateCommand(kLinkResourceStateUpdateCmdBoss));)
UpdateCmdData InterfacePtr < ILinkResourceStateUpdateCmdData > (updateCmd, UseDefaultIID());updateCmdData-> SetResource (REF.) GetUID());
updateCmdData-> SetDatabase (REF.) GetDataBase());
updateCmdData-> SetNotify (true);
updateCmdData-> SetUpdateAction (ILinkResourceStateUpdateCmdData::kUpdateURI);
updateCmdData-> SetURI (newURI);
updateCmd-> SetUndoability (ICommand::kRegularUndo);
CmdUtils::ProcessCommand (updateCmd);How to make the paper dirty after update resources?
Thank you
Use PreDirty(); before your change.
Maybe you are looking for
-
portfolio &; apple pay missing in settings
I just got my iPhone SE. update to the latest version. Pay wallet and apple settings are missing
-
Hello last week, I found my old camileo s10 that I him have not used for a year or two, so I guess the battery was completely dead and unusable. However I found a charger that has mounted the camcorder, it may not have been that which is expected but
-
Pavilion a6245n: latest version of the BIOS for HP Pavilion a6245n
Where can I find the latest BIOS for my HP Pavilion a6245n? The support page is a drivers and downloads"" section. http://support.HP.com/ca-en/product/HP-Pavilion-A6200-desktop-PC-series/3548186/model/3577452/more-o...
-
Pavilion 15-p080no: having trouble to find a power cord for my Hp Pavilion laptop
Hello Recently, I lost my power cord to a review of my school, and since then no one has seen, or heard where he might be. Therefore, I was looking for a replacement, but did not find sites that sell power for this model agreements. My question is; N
-
How can I stop getting email that confirms my impression
As topic.