Back on the tree Page when click the button cancel on a Page called

Hello

I develop an application that uses the Application Express 4.1.1.00.23, I developed a tree similar to the APEX tree, Example of Application of database (i.e. reports > shaft of product).
When I click on a specific node of the tree, it navigates to another page in the existing application (such as tree of the database Application example).

Example of Application of database does not return to the called Page (so called from reports > shaft of product).

I have an obligation to come back on the tree of the Page when I click the button cancel on a Page called.

Please advice. Thanks in advance.

tnvrahmd wrote:
Hi Rohit,

Thanks for the reply. If you look under query (query Sample Application tree), clicking on a tree node, it opens the page 3, 6 or 29 based on link_type = am ", 'C', 'P' or 'o' and the constructed url."

In this case just a tree node gets selected and should capture the number of the called page.
As there are 4 urls and 3 pages being called, how do I capture the page given in hidden element or application,

Thank you.

I understand the code of the tree. But I'm not clear on what you mean by "How can I capture page reset hidden element or application". Do you mean that you need to store the page in a hidden page element numbers? If so, you can set the value in the URL that you generate in the tree. For example,.

 case when link_type = 'M'
             then 'f?p='||:APP_ID||':3:'||:APP_SESSION||'::NO:RIR:P1_HIDDEN_PAGE_ITEM:'||3
             when link_type = 'C'
             then 'f?p='||:APP_ID||':3:'||:APP_SESSION||'::NO:CIR:IR_CATEGORY,P1_HIDDEN_PAGE_ITEM:'||name||','||3
             when link_type = 'P'
             then 'f?p='||:APP_ID||':6:'||:APP_SESSION||'::NO::P6_PRODUCT_ID,P1_HIDDEN_PAGE_ITEM:'||sub_id||','||6
             when link_type = 'O'
             then 'f?p='||:APP_ID||':29:'||:APP_SESSION||'::NO::P29_ORDER_ID,P1_HIDDEN_PAGE_ITEM:'|| sub_id||','||29
             else null
             end as link 

where P1_HIDDEN_PAGE_ITEM is your element on the page where you have the tree.

>

-Application of tree-
with the data as)
Select'm ' as link_type,.
NULL as parent,
"All categories" as id,.
'All categories' as the name.
NULL as sub_id
of demo_product_info
Union
Select distinct('C') as link_type,
'All categories' as a parent,.
category such as id,
category name,
NULL as sub_id
of demo_product_info
Union
Select 'P' as link_type,
parent category,
TO_CHAR (product_id) id,
product_name as the name,
product_id as sub_id
of demo_product_info
Union
Select 'o' in the link_type,
TO_CHAR (product_id) as a parent,
NULL as id,
(select c.cust_first_name |) ' ' || c.cust_last_name
of demo_customers c, demo_orders o
where c.customer_id = o.customer_id
and o.order_id = oi.order_id). ', ordered ' | TO_CHAR (OI. Quantity) as the name.
order_id as sub_id
of demo_order_items oi
)
Select case when connect_by_isleaf = 1 then 0
When level = 1 then 1
of another-1
end the status,
level,
name as title,
NULL as an icon,
ID as the value,
'See' as ToolTip,
-case when link_type = am'
then ' f? p ='|| : APP_ID | » : 3 :'|| : APP_SESSION. ': NO:RIR '.
When link_type = 'C '.
then ' f? p ='|| : APP_ID | » : 3 :'|| : APP_SESSION |':NO:CIR:IR_CATEGORY:'
|| name
When link_type = 'P '.
then ' f? p ='|| : APP_ID | » : 6 :'|| : APP_SESSION |': NO::P6_PRODUCT_ID:'
|| sub_id
When link_type = 'o'
then ' f? p ='|| : APP_ID | » : 29 :'|| : APP_SESSION |': NO::P29_ORDER_ID:'
|| sub_id
Another null
end as link
from the data
Start with the parent is set to null
connect by prior id = parent
siblings arrested by name

Tags: Database

Similar Questions

  • Frustration of fresh paint - when I click the button cancel the entire image is annihilated

    Original title: Frustration of fresh paint

    I am an older user and love the app, but my work is wiped out all of a sudden. I'll work on an image for days and save after each use, then for some reason, when I click the button cancel that the entire image is wiped out except the works which have been recorded at the start of the first time. When I do my "save under", he asked if I want to replace my drawing with the new and I click Yes. The day after the registered design is here and I can work on that. I have no idea why, while in the workplace the Cancel button clears all of this. Understand that I will have used the button cancel successfully with this doesn't happen. Help, please. It's very depressing to create something, you've spent time on and then lost it.

    Please keep in mind that I am a novice. Please answer in understandable language. Thank you

    Hello

    1. have you tried to click the Redo button to bring back the deleted image?

    2 has there been any changes made on the computer before the show?

    Method 1:

    First of all, I suggest you to run the app store that would check if there are problems with an application.

    Method 2:

    I suggest to refer to the article and follow the steps to solve the problem:

    What to do if you have problems with a soft

    Let us know the results.

  • Prevent fireing "Submit BeforePage" - dynamic Action if I click the button CANCEL

    Hello
    I create a dynamic Action on the event "before submitting the Page" which shows me a "Please Wait" - window, if I submit a page. It works very well.

    But if I click the button CANCEL, dynamic Action runs as well. Because of that I put the status "request is NOT contained in the Expression 1" and 1 Expression I put BACK, because demand from the button CANCEL is BACK. Unfortunately it is running if I press the button CANCEL.

    The action is "executing JAVA-code" and the code is:
    $x_Show('AjaxLoading');  
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    What's not here?

    Kind regards
    Mark

    Hi Mark,

    If you change your button 'CANCEL' to a "Redirect to the page of this application" button, the page is not submitted and does not fire the event "before submitting the Page.

    Or if you want to stick with the shipment, you can check for this.data in JavaScript code because that will contain the value of the application to send it. So, for example, you could use

    if (this.data != "ZURUECK") {
      $x_Show('AjaxLoading');
      window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    }
    

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • How to set a value of outputText 0 during the click on the button cancel using javascript

    Hi Experts,

    JDEV version 12.1.3.0

    I have an outputText at the foot of the column. And I have a button cancel on the top of the page. Then click on the button cancel. How can I set the outputText zero value.

    Thank you

    AR

    Hello

    Please check the labour code. Make clientComponent = "true" in the output text.

    function customOutputValue (event) {}

    var buttonComponent = event.getSource ();

    Find the client component for the af:outputText 'greeting '.

    var oComponent = buttonComponent.findComponent ("ot1");

    Set the value of the outputText component

    oComponent.setValue("0")

    }

    >

    Thank you
    Amey

  • Set up the button cancel in an entry form?

    Hello

    What is the easiest way to set up the button 'Cancel' in an entry form please?

    I use the jdev 11.1.2.4.0 version and trying to implement using no. 3:

    http://www.Ateam-Oracle.com/a-hidden-gem-of-ADF-faces-12C-the-aftarget-tag/

    I made the links, my method is a

    public String ResetValues() {}
    System.out.println ("Cancel");
    setIt1 (null);
    Returns a null value.

    }

    When I click on the Cancel button, it1 is undefined as null

    Thank you.

    Have you tried to remove the condition of disabled, so it is always enabled? You can try and see if it roll back the insertion without problems?

    Concerning

  • How to remove the button cancel default of the dialog system?

    Hi all

    I wanted to remove the button cancel default from the system dialog box. After doing some searching on Google has got a solution

    cancelButton.label: the undefined, but all using this line of qml in error "invalid property.

    Here is my code.

     SystemDialog {
                id: userNameValidation
                title: "Alert!"
                body: "Please enter user name"
               cancelButton.label: undefined
            }
    

    Eralier this worked but once I updated my IDE QNX after getting error on

    cancelButton.label: undefined
    

    Any solution?

    Thanks for the reply. will do the same

  • How to hide the button cancel on LOV

    Hi all!

    I have a very strange requirement, so I want to consult you forms - the Experts for this:

    A LOV customer want to hide it from the button cancel user must choose only one value. Is this possible?

    My suggestion to change the object Type LOV to List Item (text-> list item element) want not customer...

    See you soon!


    Environment:
    Forms [32 bit] Version 10.1.2.0.2 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64 bit Production
    With partitioning, OLAP and Data Mining options
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle V10.1.2.0.2 - Production procedure generator
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Query Oracle 10.1.2.0.2 - Production Designer
    Oracle virtual graphics system Version 10.1.2.0.2 (Production)
    The GUI tools Oracle Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle tools integration Version 10.1.2.0.2 (Production)
    Common tools Oracle area Version 10.1.2.0.2
    Oracle 10.1.0.4.0 Production CORE

    I do ' t think you can disabled the button cancel on the LOV. This is the default functionality of forms.

    Concerning

    SUN

  • How to create the button cancel in the message pop up

    Hi gurus,

    My requirement is that we need a few customizations in the existing custom form.
    (1) if we click on Edit button it will display a pop-up message with "Id has been changed with the OK button. I did this customization.
    (2) now our new requirement is that if users want to undo the change after you click the button change, we need a message pop-up as above as well as the Cancel button.

    I jst wrote my code of the trigger 'WHEN-BUTTON-PRESSED' for the 1st req by calling a function from the packaging.
    Could someone give me some suggestions about the 2nd requirement?

    Looking forward for your reply.

    Thanks in advance.

    You can create an alert with 3 buttons (Yes, no, cancel)

    And then write your code as follows

    DECLARE
    number of alert_button;
    BEGIN
    alert_button: = SHOW_ALERT ("MY_ALERT");

    IF alert_button = alert_button1 Then
    -code that will record changes
    ELSIF alert_button = alert_button2 Then
    -code that will restore changes
    ON THE OTHER
    -code that will simply put the cursor on the record
    END IF;
    END;

    Hope that answers your question
    Sandeep Gandhi
    OMKAR Technologies Inc.
    Techno-Functional consultant

  • By pressing the button Cancel to fail in sequence

    Hi all

    Small question:

    In a sequence (main), I called a sous-suite. This sequence of void sends three signals to a monitor, causing three different screens.

    Using windows popup message, I want the tester to decide that the screen is good. If it's good, he or she must press the OK button, right, press the Fail.

    So, when I press the test button (button 1) spent and should continue to the other.

    When I press the button (button 2) Fail the test fails and the (main) sequence to be not.

    Currently when I press on the fault, step in the subsequence fails, but the main sequence which the sequence of void is called, is always passed saying.

    Here are the settings for my popup message because they are:

    Expressions:

    Display expression: RunState.SequenceFailed = (Step.Result.ButtonHit == 1)? False: true

    Pre expression: Step.Result.ButtonHit == 1? 'Past': 'failed '.

    Thanks in advance!

    Jeroen, Netherlands

    Hey Jeroen.

    I think I have the cause of your problem at this time. You use any of the term post in step of popup message. You can just have your expression of State. Whats playing is when you run the sequence when the 1st two steps fail and the step 3 passes, 3 step sets the Boolean RunState.SequenceFailed return to the fake. If the result of the sequence becomes past. In short, deleting the phrase post in your message drop-down steps will solve the problem.

    Thank you

    Sirot

  • How to prevent the menu instance when click a button?

    Hi all

    My screen has added a button and I put in place for processing when the user clicks on this button.

    When I click on this button, my treatment of click event code has will work perfectly. But after the click, a menu always occur an inconvenience to the user. This menu contains the elements 'Application Switch' and «Full Menu»

    How to prevent this, thank you!

    use CONSUME_CLICK

    ButtonField sample = new ButtonField("Test",ButtonField.CONSUME_CLICK);
    
  • Cancel the PIP without the button "Cancel".

    I'm open to suggestion here.   I'm trying to change between two sources which are not synchronized, time sinks, to the other.   The solution I came with is to overlay one source to another using PIP, match the shot, and then make the necessary changes.   However, once I made the game, so I have to resize the source, so they all look like a single video.   Is it possible to cancel the PIP effect on an individual clip without having to do it manually?  I tried to delete the video effect - that didn't work all

    Buddycat

    Please come back on what I wrote... This will make two small adjusts scale and Position if you opt for the scale and move the position of the PiP.

    Start by

    Video on Video track 1, to stay as it is.

    Video on Video 2 track, to be your PiP (picture in picture).

    Highlight video 2 video tracks, go to its request under the relaxed applied effects tab panel leave the

    Panel range/Motion applied effects extended open.

    Debrief of the two values, 360.0 (side to side) and 240,0 position (up and down).

    And you know that you start at 100% scale.

    Drag the PiP 40% LR preset in the video 2 video tracks to get

    Review the scale values and the Position in the expanded Motion Panel.

    The two Position values have changed and are related to the current position of the PiP. You can move the PiP

    around as much as you want, and whenever the Position of values will change accordingly. If you keep the 40%

    Dimensioning of the screening, the scale will remain 40 whenever you move the PiP.

    When you are ready to remove the PiP effect, turn to the Panel movement expanded and simply type in the 'before '.

    Position (360.0, 240,0) values and scale of 100. You should not run in any jumps side effects.

    What is the problem with that? There is no toggle on and off a preset PiP I've ever met.

    RTA

  • How to remove the button cancel in SystemDialog in QML?

    I have this in QML to display dialog system.

    {SystemDialog}
    ID: myQmlDialog
    Title: 'title '.
    body: "Hello."
    }

    and I call it with myQmlDialog.show)

    everything works except that I have buttons OK and cancel both.  He tried to add

    myQmlDialog.cancelButton.setLabel (null) before calling show() and it does not work.

    In C++, I have no problem.  What is the trick?

    It worked for me:

    // Default empty project template
    import bb.cascades 1.0
    import bb.system 1.0
    
    // creates one page with one button and a SystemDialog
    
    Page {
        Container {
            layout: DockLayout {
            }
            Button {
                text: "Push"
    
                attachedObjects: [
                    SystemDialog {
                        id: myQmlDialog
                        title: "My Title"
                        body: "Message Body"
                        cancelButton.label: undefined
                    }
                ]
                onClicked: {
                    myQmlDialog.show()
                }
            } // button
        }
    }
    

    In your .cpp file, be sure to add:

    #include 
    

    And in main():

    qmlRegisterType("bb.system", 1, 0, "SystemDialog");
    

    Also add in your .pro file:

    LIBS += -lbbsystem
    
  • Undo the button of reset TOC?

    < captivate 7, WIn 7 >

    Hello

    I've renamed all my Table of contents slides, grouped, etc..

    When I went to click on the 'Settings' button, I clicked on the button Reset TOC.

    BANG - all my customization of the slide titles have disappeared.

    I tried to cancel via Control Z and clicking on the button cancel of Captivate. Did not work.

    I closed the table of contents without clicking on the little disk icon to save him. When I returned, the table of contents had always reset.

    ARGGHHH!

    I'll have to redo all the titles of slides and pools.

    In the case where I accidentally hit the reset button TOC again, is possible to cancel it?

    Thank you!

    I fear the answer is no. But from what I've seen only slide grouping going for a draw. Slide titles are updated to new names.

    How do you day slide titles? Do you not it slide > properties?

    Anthony

  • When I right click on a link 'Open link in a new tab"for a few days, he"jumps"tab to the right and opens in the tab beside it. How can I change this back to the opening in the tab next to the page, hence I open as it used to be?

    When I right click on a link 'Open link in a new tab"for a few days, he"jumps"tab to the right and opens in the tab beside it. How can I change this back to the opening in the tab next to the page, hence I open as it used to be?

    Just to add to the response of cor - el, in my case (identical) was specifically the complement DivX HiQ, worm 2.1.0.900. As soon as I turned it off, the tabs started to behave normally again.

  • When you're in the long list, and you are in the Middle when click a link and open the go back to page 1 will top and the keyboard popup

    How can I go back to the same place on the page without firfox me to go upstairs.

    Open worldgsm.com and navigate to treat and offers page, then select any product the go back to deal with and the page it is going back at the top of the page and the pop-up keyboard.

    The site defines a no.-cache header when sending to the homepage of the site and we have therefore re - search the page from the server. We don't remember the position of ScrollBar in this case because the page is likely to have changed.

Maybe you are looking for

  • New HP cartridges give "exhausted ink cartridges" error

    I replaced the Starter cartridges in my HP OfficeJet Pro 8600 with new HP cartridges, but the printer gives me an error "of ink cartridges run out" and won't let me print anything.  I tried one of the colors replacing with 2 different new cartridges

  • Problems with my Lenovo L410

    Hello I have two questions for which some experienced help is requested. First is that I don't know what driver for some unknown device in my equipment manager. Device instance ID is ACPI\IBM0068\5 & 15D725F4 & 0 Secondly, I tried again and repeatedl

  • Need XP disc for eMachines T3516A

    I have a new, but 6 years old, not registered emachines T3516 that was bought as a back-up.  I decided to save up for my daughter, but miss me the "operating system MS Windows XP Home Edition emachines disk".  eMachines have this disc.  I thought tha

  • No sound on playback in Movie Maker

    HelloI hope you can help me.I'm breaking the sound of the video. I want to paste a picture on top of someone who speaks.I copied the audio in the Audio / Music track and cut the original sound - I think it should work correctly.  I can see the wavefo

  • What is the code for error windows 800736b, get error after uninstalling Firefox

    using windows 6 vista 1525 32 bit sp 2 to know that I have a 800736b windows error code What does that mean? Thank you