Refresh the iframe parent page?

Hi guys,.
I have an iframe on a page "parent". I'm trying to regenerate the parent table when you press a button in an iframe, but so far without success.
Please help :)

Hello

have you tried this.
In the html header, enter the following code


Change the button and in the and in the target URL in URL, select enter javascript:onclick=RefreshParent()

Kind regards
SK

Tags: Database

Similar Questions

  • Method of child Taskflow in running the taskflow parent page

    Hi all

    I have a problem with the verification of data incorrect form Parent Taskflow button to check the incorrect data update in the display of the child page Taskflow object.

    JDev version: 11.1.1.3
    Scenario:
    External container page a back button to check child Casil taskflow gave incorrect update or not. Child Taskflow transaction is always create new transaction and not shared. But ControllerContext, root: service always related to the other viewobjects that is loaded in other tabs of the external container page, which is also incorrect data verification of an another tabs viewobject given incorrect archive (I must avoid this problem that's why does not not for me with the context of the controller). I'm thining to execute the method of taskflow of child in the parent on the back button to check the incorrect data update for the page the only tabs only. To do this, how can we child access taskflow method of parent with taskflow static region page. Is there a solution to implement it? Thank you very much.

    -Robin

    Hello

    This should work:

    1. child tasks flow setting entry has "parentBean" defined.
    2. the child workflow has a managed bean 'ChildBean' defined in pageFlowScope with a "parentBean" with the property setter/getter.
    3. the parentBean entry of parameter references (in its value property) #{pageFlowScope.childBean.parentBean}
    4. the parent bean is configured on the workflow view parent (viewScope) and passed as a parameter of task flow binding entry. The parent bean has a Boolean property "childFlowTransactionDirty".

    This allows the bean to the child to call the parent bean childFlowTransactionDirty to tell him that the transaction is dirty. On the parent view, you would simply check the status of parentBean for this property.

    Is then how do you set the value to the parentBean of the childTaskFlow. One option is to use a RegionController on the file views PageDef ADF bound in the child workflow.

    public class MyRegionController implements RegionController {
    
        public MyRegionController(){
        }
    
        public boolean refreshRegion(RegionContext regionContext) {
         int refreshFlag = regionContext.getRefreshFlag();
    
          //get access to the ChildBean and its parentBean property. Then call
          //ControllerContext .... to check the transaction state
          //update the childFlowTransactionDirty property
    
          ((DCBindingContainer)regionContext.getRegionBinding()).refresh(refreshFlag);
          return true;
        }
    
        @Override
        public boolean validateRegion(RegionContext regionContext) {
            regionContext.getRegionBinding().validate();
            return false;
        }
    
        public boolean isRegionViewable(RegionContext regionContext) {
            return regionContext.getRegionBinding().isViewable();
        }
    
        @Override
        public String getName() {
            return this.getClass().toString();
        }
    }
    

    Next: When users on the back in the parent view button, you call the ParentView bean childFlowTransactionDirty to check the child task debit transaction to be dirty or not

    Frank

  • Refresh the included tab Page

    Hi all:

    I have a page of fxml with a TabPane element with two tabs tabOne and tabTwo:

    < BorderPane fx:controller = "lc.controllers.ControllerOne" xmlns:fx =" " http://JavaFX.com/fxml ">

    < center >

    < fx:id TabPane = "tabPane" >

    < tabs >

    < tab fx:id = "tabOne" liquid = "false" >

    < text > < / text >

    < content >

    < BorderPane fx:id = "agendaBorderPane" / >

    < / content >

    < / tab >

    < tab fx:id = "tabTwo" that can close = "false" >

    < text > TWO < / text >

    < content >

    < BorderPane >

    < center >

    < fx: include source = "tabActions.fxml" / >

    < /Center >

    < / BorderPane >

    < / content >

    < / tab >

    < / tabs >

    < / TabPane >

    < /Center >

    < / BorderPane >

    As you can see above tabTwo has a separate included in fxml.

    Now the content of the tab in tabTwo should be updated based on actions performed in tabOne. But however included class action tab initialize method is called only once for the first time when the fxml page load. Can someone give a hint about how the initialize method of tabActions.fxml can be forced to run whenever the tab charges?

    Enjoy it!

    Thank you.

    You can inject the controller for the included fxml (tabActions.fxml) in the controller for the main fxml. You have a fx:id attribute to the fx: include element:

    
    

    Then in the ControllerOne class:

    public class ControllerOne {
        @FXML
        private TabActionsController tabActionsController ;
        // ...
    }
    

    Here I assume that your references to tabActions.fxml a = fx:controller class controller "TabActionsController". The rule for injection is that if the fx:id FX: include is fx:id = 'x', then the injected controller has field name "xController" (fx:id = "tabActions"-> tabActionsController). See the documentation FXML on nested controllerssection.

    This allows you to do what you want, because now you can define (and expose) the functions needed to "Refresh" in your TabActionsController class. For example:

    public class TabActionsController {
        @FXML
        private TextField textField ;
    
        public void initialize() {
             // ...
        }
    
        public void refresh() {
            textField.setText( /* some default value, or etc. */);
        }
    }
    

    and then:

    public class ControllerOne {
        @FXML
        private TabActionsController tabActionsController ;
    
        public void initialize() {
            // ...
        }
    
        @FXML
        private void handleRefreshButtonAction() {
            tabActionsController.refresh();
        }
    }
    
  • Flash stops made if iframe parent is resized

    Find a problem were I Flash made inside an iframe (created with an asynchronous method) works well. I have no control over the content loaded into the IFRAME - and these must be resized to fit its contents. I wrote a script that does just that. However, whenever I try to change the height of the iframe content flash stops rendering (does not seem serious if it's the ou.styles.height .height - attribute).

    This does not occur on a computer with Windows 7 - Firefox 19 and the last flash - but I can reproduce the issue again and again on another computer running Firefox 17 use not later but a nice new version of flash. And I had this past also reports on Firefox 19 even though I was not able to reproduce on this.

    I don't have access to this computer at this time, but if you need the right information, I will be able to deliver tomorrow.

    Any ideas on that? Or am I screwed if the only solution is to "update your browser, the Flash Player or real?

    See you soon!

    Okay, I think I thought about her.
    As you can see in the picture attached above there is obviously the space allocated by flash, but flash does not. I tried to hide her (the iframe) parent (display: no) and then post it again... and BOOOM flash is rendered.

    Don't really get why, but insofar as workaround that works for me. If you have any other suggestions or maybe an explanation of why this takes place first of all I would like to know why it is.

    See you soon!

  • Get the value of the portfolio-parent

    Hello

    Sorry, I'm in trouble explaiing what I want to do, but I'll try my best.

    I have four 'levels' portfolio and ideally, I would like to have a user select a year in the high parent page and have it spread down to the forms under.  I went as far only to create a category for all portfolios that accesses the value of parents above him.  Once on the level of form, I am unable to get this value.  I guess that the getHomePortfolio method does not once on the level of form, but I don't know.

    Unfortunately it doesn't seem to be the documentation with examples on how to use the functions at all so I'm poking around in hopes of understanding how everything fits together.  Unfortunately, I was in it for a year without any chance to find the most of.

    Does anyone have information on how I can create a global variable that is accessible from any level?

    Thank you.

    No, just another way to get the desired response. Probably you won't need the audit NaN since your RegEx is specific enough that it will return only an index for any string of 2000-20 to 2099-20.

    I suspect that you will need a text category for each position of FY you need year and add the "FY" + starting value of the year.

    V/r,

    Gene

  • refresh the report after you close the modal popup

    Hello

    I try to call page editing as popup modal as in this example below.

    http://Apex.Oracle.com/pls/Apex/f?p=45420:3:0:no:

    It works fine, but after you change/update a registration and closing of the edit page, is not refresh the main report page (first). How can I change so it refresh the report calling when closed. Please NOTE: I do not want to refresh the whole page, but only the report after you close the page modal popup.

    Apex 4.2

    Thank you in advance... regards

    It worked, now missed me the branching code and the parameter by js... Thank you

  • AS 2.0 button to open the iframe

    I created a banner for my website.  It has 6 buttons that open identical pages with iframes with the content.  I would like to have a page that contains the banner that open iframes in pages.  In other words, if my banner had six buttons marked labled 1,2,3,4,5,6, the first button would open the iframe to page 1, the second for page 2, etc.  I tried a code online, but this opens another page in a new tab.  Thank you once again.

    Select this option.

    the code I suggested when it is used in video/dmvchallengebanner.swf and attached to a button causes the button to replace homeinsert.htm in your iframe with the homepage of the adobe.com site when this button is released.  It works fine in mozilla, ie and safari.

    If you had two buttons and attached it to one:

    {We (Release)}

    getURL ("http://www.adobe.com", "homeframe");

    }

    and this to another:

    {We (Release)}

    getURL ("http://www.kglad.com", "homeframe");

    }

    they each would open different Web sites in your an iframe when you click it.  If you clicked on turn one and then the other, you would see your iframe displays a Web site, then the other repeatedly, to infinity.  Video/dmvchallengebanner.swf remains loaded and displayed all the time.

  • Refresh the Parent page after closing the popup

    Hello

    I open the pop for that insert data and then I want to see the page parent page refresh after closing of pop either perform cancel or closing popup using X.

    try like this

    < af:commandLink text = ' #{rank. " DEPTNO}"id ="cl1"partialSubmit ="true"returnListener =" #{backingBeanScope.backing_DeptDBFace.backFromPopup} ">
    "" < af:showPopupBehavior popupId = ': p1 ' triggerType = 'action' / >
    < af:returnActionListener value = "10" / >
    < / af:commandLink >

    When this method ({. backing_DeptDBFace.backFromPopup}) contains the PON - Stmts which are not executed after the closure of the pop-up window

    Thank you

    Venaktn

    Hello

    Try to use the popupCanceledListener. (af:popup)

    This event will happen only when you click the X or cancel the popup.

    Kind regards

    Ruben

  • 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

  • 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.

  • 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 soon

    Hi 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

  • IFRAME when refreshing the Page does not

    Hi all

    I have an iframe on my jspx page. The iframe loads on the click of a link on the page, but when I reload the page, the iframe goes out the DOM.

    Can anyone suggest me the possible reason that I am even not see no error in the log.

    Jdev version: 11.1.1.7.1

    Thank you

    I did not bind the property 'name', but 'facetName"property of af: switcher.

    Dario

  • 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;
    
  • 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

  • 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

Maybe you are looking for

  • Satellite C70D-A-117 swites of lots of small screen game FB

    I play games on Facebook and my laptop switches in the middle of the fashion game full screen on the small screen, I don't want to! How the hell can I stop this nuisance?It is also as slow as molasses... Anyone know how I can fix this problem?

  • Qosmio X 70-number of HARD drive

    Hello Toshiba has a lot of X 70 different models in Europe. But what are the real differences of them in the space of HARD drive. All models are supported by 3 hard drives?SSD 256 GB + 2 slots HARD drive? Where are these 2 HARD drive locations? Thank

  • Re: Need some drivers for Satellite C50-A-1JV

    Hello guys,. I have a problem with drivers for the laptop model TOSHIBA Satellite C50-A-1JV, I have used and installed all the drivers I could find on toshiba research pilot app but with no use, I need the drivers for the video card, WiFi, sound...Pl

  • Sony Cyber - shot DSC - H2 shutter button

    The shutter button was broken and fell out. How can I replace it? Thank you.

  • Owner password reset

    I hang an old computer, one with Widows XP.  However, I can not remember what is the password.  How can I retrieve or reset?