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
Tags: Database
Similar Questions
-
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.)
-
How to change the page numbers after you add and save the page numbers in the pdf document - need to change the existing page printed on the upper right in the header numbers.
These page numbers were initially created using Acrobat PDF header and footer.
I have a 750 page pdf document that I've created.
I have to sometimes the pages up and down after that I added the page numbers in the document by using the Header_Footer tool on the right column of tools.
But after you save the document, if I get a few pages around, I can't go back and change the page numbers.
I thought that the page numbers, as indicated in the header and footer must have changed automatically, but I guess that once its print, that it cannot be edited - is that, as what is?
So I guess we should always first get a copy without numbers of pages before confirming the documents and the creation of an index.
A way to remove these page numbers already there and add new page numbers.
Its a lot of work to align 750 court documents and then realize that you must move some and then realize the page numbers cannot be changed and thus begin to do this all over again to compile which can take about 10 hours.
My question is quite simple, but I hope that overall, I got my point. Sorry if I made it is too complex.
If no simple way, want to know if anyone has another different tool or a few recommendations to better highlight what I'm doing wrong.
Thank you for your review and response.
You should be able to update with tools - Pages - header & foot-
Update... It not work for you?
If this isn't the case, then try to remove from this menu and then re - adding them.
Tuesday, June 23, 2015 23:55, Fortune Mile forums_noreply@adobe.com>
-
Periodic data refresh on the page or refresh on command?
Hello!
I have a start page of my application that displays data from a couple of iterators. This page is intended mainly to access certain tasks on these data, but the task is based on the data itself. So I have to make sure, when the user clicks a command link (let's saj in a column of the table) the data in this table is updated. I thought a lot about some features that cause the data on the page to refresh periodically since there is also a picture showing the current positions of certain transport units (or at - he or she is not, I have no update in real time). Second option is to update the required iterator somehow when the user clicks on the line because sometimes it happens that a user clicks on the link of the line, but when the task starts data are not the line clicked on but a completely different recording since there are a few changes of data of another user that caused the order of the lines in this table.
Please let me know what is the best way to deal with my needs and if the periodic refresh is OK, how to implement a periodic refresh of the page or so concidering these tips: http://radio.weblogs.com/0118231/stories/2005/06/16/whyIsntRefreshingTheBrowserPageEnoughToRefreshTheDataDisplayed.html - update all iterators on the page.
I hope my question is clear.
Kind regards
BB
BTW
With the help of ADF BC 10.1.3.3
Published by: Brokenbone on July 22, 2009 11:41Hello
I think you can use the poll with specified interval and pollListener tag, you can find more information on links below
http://www.Oracle.com/technology/pub/articles/Jellema-Muir-ADF-part2.html
http://thepeninsulasedge.com/frank_nimphius/2007/09/18/ADF-faces-using-afpoll-to-refresh-a-tableJean Lou
-
Get the following message after closing or printing a document: the Organizer database is damaged and will be rest next time Acrobat is launched.
Please check the solution in this doc. KB: http://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
Let me know how it goes.
Kind regards
Nicos -
Problem refreshing the page parent when a modal window is closed.
I have the page that opens a modal window of a column in report link. In the modal window, I want to be able to make my changes and press a button so that the modal window is closed and the parent page is refreshed to display the details changed in the report. In Firefox all works well, but IE I get the error message 'Window.opener.location is null or not an object ".
When I comment out window.opener.location.href = window.opener.location.href; the modal window is closed without error, but I want to refresh the parent page with the changes in the modal window.
I'm afraid that my java script is very limited (the code is inspired other peoples examples.)
Page parent I call this function of a column in report link to display a modal window. Sets the hidden field of the SAVE_STATUS to the landing page of "n".
function modalWin (pshow)
{
var url;
URL ='f? p = & APP_ID.: "+ pshow +": & SESSION. : SAVE_STATUS: NO;
If (window.showModalDialog) {}
window.showModalDialog (url, "name", "dialogWidth:650px; dialogHeight:700px"); }
else {}
Window.Open (url, "name", "height = 700, width = 650, toolbar = no, directories = no, status = no, menubar = no, scrollbars = no, resizable = no, modal = yes");
}
}
Landing page (modal window)
Header HTML.
Function closeWindow should refresh the parent page and close the modal window.
< base target = _self >
< script language = "JavaScript" type = "text/javascript" >
<!--
htmldb_delete_message = "'DELETE_CONFIRM_MSG" ";
function closeWindow() {}
If (document.getElementById("SAVE_STATUS").value == 'Y')
{
Window.opener.Location.href = Window.opener.Location.href;
Window.Close ();
}
}
->
< /script >
Attribute Html Body .
onLoad = "closeWindow (); »
P_UPDATE_DATE process called of the button changes. Games of the SAVE_STATUS flag 'Y' for the onload in the html body.
UPDATE event
SET event_date =: P5001_EVENT_DATE
WHERE contract_reference =: P330_EVD_CONTRACT
AND event_number =: P330_EVD_EVENT_NUMBER;
: SAVE_STATUS: = 'Y ';
Thank you in advance, I'll take a look when back in the office on Monday.
Pete has soonHi Pete,.
In my view, that the refreshment of your page should happen on your parent Page. You can also check the JQueryUI there a beautiful modal dialog Widget.
--
Chris -
I click on any link in HOTMAIL or GMAIL and it does that refresh the page, it won't go to page links in a new window or in the current window. The links work on all the other web pages.
I disabled Fasterfox and no problem. I guess that's maybe a good time to look at the plugin Fasterfox.
RCA999
-
Using the page submit after elements in the process of treatment page
Hi all
I have a form of DML in which the user can update a column.
After clicking the Apply Changes button that I need to send an email saying the record has been updated with some page elements in the body of the email.
I am able to send email, but I'm not able to display the page elements in the body.
After changing the save the session state for the 'yes' also he did not.
Y at - it another option that must be set so that I can use the page elements in the body of the email.
Thank you
MJ
Make sure that after settlement it is normally a reset page call, is perhaps what kills the variables you are trying to access. You should put your mail send processes PRIOR to the reset page process...
Thank you
Tony Miller
Los Alamos, NM -
All links on the page fail after migration to Trinidad
Migrated Jdev 10g App to JDev 11g (11.1.1.9).
Note: the page works in 10g.
I got the site working with the exception of one page (and a few minor bugs). This page looks like others he has a tab-based menu (and duplicate links) and a search box. When I search for or click on one of the links the backing bean ActionListener code is not executed, and I get a message the top left of the page with just a picture of X and the word Error.Console journal has this:
< oracle.adf.model > < DCJboDataControl > < initializeApplicationModule > < [499] DCJboDataControl.initializeApplicationModule (520) (oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode immediate = >)
< oracle.adf.model > < DCBindingContainerState > < validateToken > < [500] DCBindingContainerState.validateToken (680) process BindingContainer State token(decompressed_state):BCST: = 0CablesByStage2TestIDReportView1Iterator = - D-, >
< oracle.adf.model > < DCUtil > < findSpelObject > < [501] DCUtil.findSpelObject (372) DCUtil, returning:oracle.jbo.uicli.binding.JUApplication for ETAppModuleDataControl >
< oracle.adf.model > < DCJboDataControl > < initializeApplicationModule > < [502] DCJboDataControl.initializeApplicationModule (520) (oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode immediate = >)
< oracle.adf.model > < ApplicationPoolImpl > < reuseReferencedInstance > < ApplicationPoolImpl.reuseReferencedInstance (2509) [503] reuse an instance of session cached request module >
< oracle.adf.model > < DCUtil > < findSpelObject > < [504] DCUtil.findSpelObject (372) DCUtil, returning:oracle.jbo.uicli.binding.JUApplication for ETAppModuleDataControl >
< oracle.adf.model > < DCUtil > < findSpelObject > < [505] DCUtil.findSpelObject (372) DCUtil, returning:oracle.jbo.uicli.binding.JUApplication for ETAppModuleDataControl >
< oracle.adf.model > < DCIteratorBinding > < getViewObject > < DCIteratorBinding.getViewObject (1474) resolution [506] VO: Macpac2bodshullView1 for the iterator binding: Macpac2bodshullView1Iterator >
< oracle.adf.model > < DCIteratorBinding > < getViewObject > < DCIteratorBinding.getViewObject (1474) resolution [507] VO: Stage2TestIdByHullView1 for the iterator binding: Stage2TestIdByHullView1Iterator >
< oracle.adf.model > < DCIteratorBinding > < getViewObject > < DCIteratorBinding.getViewObject (1474) resolution [508] VO: CablesByStage2TestIDReportView1 for the iterator binding: CablesByStage2TestIDReportView1Iterator >
< oracle.adf.model > < DCUtil > < findSpelObject > < [509] DCUtil.findSpelObject (372) DCUtil, returning:oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding for CablesByStage2TestIDReportView1 >
< oracle.adf.model > < DCJboDataControl > < syncWithForceOption > < DCJboDataControl.syncWithForceOption (1905) [510] * DCDataControl.sync () called from: DCBindingContainer.refresh >
< oracle.adf.model > < DCBindingContainerState > < validateToken > < [511] DCBindingContainerState.validateToken (680) process BindingContainer State token(decompressed_state):BCST: = 0CablesByStage2TestIDReportView1Iterator = - D-, >
< oracle.adf.model > < DCBindingContainer > < validateInputValues > < DCBindingContainer.validateInputValues DCBindingContainer:etwclreportPageDef (4352) [512] no postings were not made >
< oracle.adf.model > < DCJboDataControl > < syncWithForceOption > < DCJboDataControl.syncWithForceOption (1905) [513] * DCDataControl.sync () called from: DCBindingContainer.refresh >
< oracle.adf.model > < DCIteratorBinding > < releaseDataInternal > < [514] DCIteratorBinding.releaseDataInternal (2965) releasing iterator binding: variables >
< oracle.adf.model > < DCIteratorBinding > < releaseDataInternal > < [515] DCIteratorBinding.releaseDataInternal (2965) releasing iterator binding: Macpac2bodshullView1Iterator >
< oracle.adf.model > < DCIteratorBinding > < releaseDataInternal > < [516] DCIteratorBinding.releaseDataInternal (2965) releasing iterator binding: Stage2TestIdByHullView1Iterator >
< oracle.adf.model > < DCIteratorBinding > < releaseDataInternal > < [517] DCIteratorBinding.releaseDataInternal (2965) releasing iterator binding: CablesByStage2TestIDReportView1Iterator >
It's almost as if a validation is a failure, but I only see a validator on the page.
I'm running out of things to try on this. When I put breaks in the code of the bean to support they are never reached. WLS newspapers don't have any error in them.
There is a custom listener phase with methods that are available, but no error is generated in it.
Any ideas on where to look to fix this?
Thank you
Dave
I found this piece of code in the page is the problem:
value = "#{bindings." CablesByStage2TestIDReportView1Iterator.rangeSize}">
This inputText sets the RangeSize of the iterator. I comment this out and I don't get the error. I tried to simply remove the validator but always error.
What is the best solution - capture the value of the text input and use a method on the bean managed for the value and update the rangesize?
Is there a declarative way? I use Trinidad components due to migration of the 10 g page.
-
Correct use of the page-break-after
Hello
I don't know that it is a simple question for you.
I have LONG pages of stuff on the web for people to print, and I wish they were able to print in a very specific way-
I want to decide when the page "breaks".
On the web, I saw simple HTML, but also JAVASCRIPT solutions - and I like to keep the solution as simple as possible.
On this forum, there are a few discussions of pagebreak, but no simple and final solution.
In your opinion, does the following work?
< html >
< head >
< style >
{.breakhere}
page-break-after: always ;}
< / style >
< body >
Page 1
Page 1
Page 1
Page 1
Page 1
Page 1
Page 1
Page 1
< div style = "breakhere" > < / div >
Page 2
Page 2
Page 2
Page 2
Page 2
Page 2
Page 2
Page 2
< div style = "breakhere" > < / div >
Page3
Page3
.
.
.
< / body >
< / html >
Have a look here http://css-discuss.incutio.com/wiki/Print_Stylesheets
However, the best solution for printing, is to use a PDF file, what they are for. Create a PDF file containing the same data. You have total control over the printing format in this case. Have a look here http://www.fpdf.org/
-
Reset the app to the starting position after closing app
Hello!
Currently, after I close totally the application I created of DPS, (after drag you closed since the 'home' double-tap button).
and I reopen it the application from the homepage of my iPad, it takes me again on the last page I was reading and not at application start.
Is there something I can do to have the app reset after you leave? No matter if it resets as soon as you exit the application, or if it only resets when you close completely. It would be it.
Thanks for any help you guys can provide!
Karl
There is no way to automatically reset the content after leaving the application. You can add a button or a hyperlink in your content that goes to navto://relative/reset to reset the content, but that requires intervention by the user.
Neil
-
partialTrigger of the page parent region
Hi, OTN,.
I have a test application for the interaction of the master / detail with the region.
The layout is simple:
There is a main table on the main form page and in detail in a region. The form is not updated when a row in the table is selected, the cause I can not set the value of partialTrigger of PanelFormLayout of the parent of the component.
It is clear that I can put partialTrigger in the region table, and this helps. But I'm not sure I want to repaint the entire region whenever I select a row in the table. I don't need a form update.
So is there a better way to solve this problem?
Thank you.
JDev 11.1.1.1.0ILya,
Set the property partialTriggers of the component panelFormLayout inside the region to the id of the parent component page table as below (ignore the warning jdev)
"partialTriggers =":
" You can copy and paste the value (the partialTriggers property), you gave to af:region tag to the panelFormLayout component
Jean Lou
Published by: Israel Jean Lou October 12, 2009 10:38
-
Constantly crashes on first loading of the page, even after relocation.
Firefox crashes whenever it tries to open a page. I reinstalled several times and manually deleted the 2 additional directories in addition to Program Files. Safe mode does not help. Happy to provide you with all relevant information.
Here are a couple of reports of incidents:
Crash ID: bp-abb45d9e-a533-4b77-b9ba-cfdd52130328
Crash ID: bp-fce9869e-ede9-49e9-81d7-faa312130328Wish I could provide more data, but I hope the incident reports.
Thank you!
-Brian -
I would like to know if there is a call to API or similar which will refresh the menu apps dynamically. Because of the way that the applications menu groups of shortcuts by default, if you have multiple items of the same seller they will most likely be displayed together. It becomes quite confusing when all the shortcuts have the same name. This happens more often than I like. To minimize confusion, I have a version icons to move to a different subfolder under start\program c:\programdata\Microsoft\Windows\Start.
For example, two versions of IBM ODM are installed, they have almost identical shortcuts but both are needed by the developer, so we have:
c:\programdata\Microsoft\Windows\Start Menu\Programs\IBM\ODM 8.5.1
c:\programdata\Microsoft\Windows\Start Menu\Programs\IBM\ODM 8.7
In the view menu apps, all will be grouped under "IBM." I moved and renamed ODM 8.7 to:
c:\programdata\Microsoft\Windows\Start Menu\Programs\IBM ODM 8.7.
However, the menu apps will always show both sets of icons as everything under 'IBM' however a game does not work (because they have been moved). without any other process, the only way I found to refresh, it's to open a session and return twice. Reboot, restart explorer.exe (someone suggested that) or other tricks mentioned in the links down below has no effect.
Steps to recreate:
1 see the menu apps2. rename any existing subfolder which is directly under start\program c:\programdata\Microsoft\windows\Start
3. open the menu of apps again. the modified file should be not displaying and in the old group of folder shortcuts no longer work.
4. open a session once and relog in. Still, the change should not display.
5. open a session once and relog again. The change should now display.This delay in the update of behavior has been observed by several people, one that suits that I remember:
Microsoft.com: how to change the name of one of the program groups that appear on the screen all applications? who asked several years without resolution.
I asked several days regarding the exchange of Experts to see if anyone knew a method without a resolution so far other than workarounds: Experts-Exchange: Windows Apps Menu 8.1 will not update dynamically when you manually change the locations of shortcuts
Any advice would be greatly appreciated I know I will run into this many times in the future when the native installer does not permit you to change the location of the shortcut.
Hi Dan,
Thanks for posting the query on Microsoft Community.
This problem may be the best answer by MSDN, publish the query on the MSDN Forum.
https://social.msdn.Microsoft.com/forums/en-us/home
In the future, if you have problems with Windows, get back to us. We will be happy to help you.
-
Toshiba lap top... windows vista
Try this:
http://help.ISU.edu/index.php?action=FAQ&CATID=79&docid=396
Problem:
Windows returns to the login screen of the screen saver. How can I change this?
Solution:
Windows Vista
- Right-click on any empty space on the desktop and select personalize.
- Click on screen saver.
- Uncheck the box on the resume, the logon screen .
- Click OK.
See you soon.
Mick Murphy - Microsoft partner
Maybe you are looking for
-
I want to spend some of my emails from the IMAP server and save them on my hard drive
I'm an iMac user who just flipped to Thunderbird. I can not all topics that deal with this issue. I see the 'local folders' at the bottom of my email accounts. This is where I can implement the records to move email messages on my hard drive. I have
-
A few questions about the Satellite A100 PSAANE
Hi friends, I have a Toshiba Satellite A 100 - PSAANE with Vista Home Basic preinstalled in it.Now, I have a few questions... I mention below: -. (1) if I want to format my laptop, I need a CD to install for Vista Home basic... then I don't have this
-
I need help finding the following drivers. Any help at all would be greatly appreciated. This is for a 8470p Elitebook Base system device PCI\VEN_197B & DEV_2392 & SUBSYS_179B103C & REV_30PCI\VEN_197B & DEV_2392 & SUBSYS_179B103CPCI\VEN_197B & DEV_23
-
I have a problem with the network connection to applications, do not know if they are called 3rd party applications, such as MSNmessenger, Skype, steam and WorldOfWarcraft? All of these types of programs that use the Internet outside of a Web browser
-
Audio does not not in Windows Vista
Original title: no sound! Running on Vista and since last week my sound did not work at all. PC and speaker volume are completely upward, it won't work even through headphones. Very confused and embarrassed, please help!