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.

Tags: Database

Similar Questions

  • Get the values of the components within the region on the Parent Page

    Hi all
    I use Jdeveloper 11.1.1.5.
    I just wanted to know that my use case can be mounted to the contextual events or should I use the #{data.pageDef.Attribute.inputValue} to get the values.

    I have a stubborn taskflow 'ChildTF.xml' with the fragment to say "child.jsff". Now I dragged the ChildTF.xml the other say 'Parent.jspx' page as a region. In the child.jsff page I had entered with 20 fields of form and all 20 fields are trained since a view object so I do not have the field values related to the managed Bean and on the parent 'Parent.jspx' page, I have a button. Now when you click on the button, I need to get the values of these 20 fields on the page "child.jsff".


    How can I achieve this?
    Thank you
    Shah

    If you want to access the same data that is stored in the current line of an iterator, you must add the vo to the pagedef.

    Timo

  • 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

  • Link chart action for refreshing a report of region within the same page

    Gurus of the APEX

    As long as we have the graph and report region region on the same page and based on the action of graph link must be able to refresh the report region within the same page

    for example: I expense spend by category such as a pie chart and on the link of the action of which I want to refresh a report region by the right of it (in the same page) to show the details contained in this category spend - also I do not have to réactualisiez around the same page, just to refresh the region related to the category Click on the graph

    Any help would be great on this - I use APEX 4.2

    Thank you

    Shas

    Thanks Tom / Scott - sound now worked

    Following my code for the javascript function in the page section,

    function clickPie (pID) {}

    $x('P4_ITEM_CATEGORY').value = pID;

    $('#CategoryDetailsDD').trigger ('apexrefresh');

    }

    And here is my URL of the link graphic action section

    JavaScript:clickPie("#label#")

  • 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

  • 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

  • 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

  • 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

  • Cannot change my editable region on the child page is grayed out

    I have a model. And on the pages of children from this I try to change the region of editabel ("name =" head) with a few metatags for Facebook, unique for each page, but it is grayed out.

    And I think it's strange spesial because the combo box ""name = "doctitle" is editable. "

    I'm working in Dreamweaver CC2015. Model comes from the Business Catalyst.

    What I am doing wrong?

    It is the code:

    < head >

    "" <!-TemplateBeginEditable name = "doctitle"--> < title > It's editable < /title > <! - TemplateEndEditable - >

    "" <!-TemplateBeginEditable name = "Chief"-> This is NOT editable and greyed out <! - TemplateEndEditable - >

    < / head >

    Please anyone who can help?

    If you have reviewed the file on the remote server and the code is in place, this is what will be sent to the browser. The fact that you have edited the child page outside of Dreamweaver makes no difference whatsoever. Dreamweaver template tags are simply HTML comments that start with InstanceBeginEditable or InstanceEndEditable. Dreamweaver uses comments internally to control what can or cannot be changed within Dreamweaver. According to browsers and web servers are concerned, they are simply comments that are ignored.

    It is possible that a proxy server is caching of your page. You could try renaming the page, download the renamed version and check that.

    The only other thing I can think is that you use a model of Business Catalyst. Business Catalyst is is more integrated with Dreamweaver CC 2015.

  • two region on the same page of repetition

    Hello, I need to display a repeat region of the recordset in two places inside the page as on the top and the bottom.

    What is the best way to do it? I need to create two recordset?

    I have now added to the Dreamweaver FAQ and created a short article about it here: http://kb2.adobe.com/community/publishing/528/cpsid_52877.html.

  • ADF Faces 11R2 - taskflow region discount table in the parent page

    Hello world

    I use 11R2 ADF Faces and ADF Jésus BC.

    I work with a project that consist of a page with a table and a region that is a workflow. The region contains only one button.

    The behavior is: ' whenever the user presses the button in the region, then the table on the page must be re-queryed and updated on the page.

    I use the parent action in the workflow to specify the result of the container page and page flow routera then to execute the method = "executeWithParams" and then return to the page to redisplay the it.

    It seems that the query is actually underway, but the page is not refreshed.

    Any ideas how to do this in a standard way?

    Kind regards
    Jan

    Hello

    You set the property to change policy in the file table to PPR binding PageDef?

    Frank

  • How can I change a URL to include the parent page?

    How can I change the URL to include the parent Muse page?

    for example my URL is www.splinterd.com/kauri.html and I need to be www.splinterd.com/store/kauri.html

    I have the page of kauri sitting under store (such as a child page) Muse page.

    I have an online marketing person asking it is set like this to help with google rankings / SEO.

    Thank you!

    Hello mariac,.

    This can actually be set up by your FTP host.

    Please go to them like asking the necessary changes to the file system of your web site.

    Thank you

    Ankush

Maybe you are looking for