Tree on page 0

I have created a tree on page 0. The tree works as a navigation menu common for the entire application. My problem is that if I click on any of the buttons 'Collapse All', 'Expand All' or 'Reset Tree', the current page loses focus. Is there a way to have HTML DB return the control to the "lost page" after having processed the tree request on page 0?
HÃ¥kan

HÃ¥kan - On page zero, edit the buttons that you mentioned. Go to the Optional URL Redirect section and where the Page value is 0, change it to &APP_PAGE_ID. (with that trailing period).
Scott

Similar Messages

  • I will type in google let say tree the search will click on to one of the searches and instead of tree web page showing up a ad page will come up this happens with very thing can you help.

    I will type in google let say tree the search will click on to one of the searches and instead of tree web page showing up a ad page will come up this happens with very thing can you help.

    You (or your kids) inadvertently installed adware. You do not need to download or install anything to fix it.
    Any tips on how to stop it from happening?
    Yes. To learn how to avoid it in the future read How to install adware.
    If you require them, Apple's removal instructions are linked in the Recovery Procedure near the end of that document. Read and follow them carefully. Pay particular attention to the easily overlooked passages directing you to restart your Mac when required.

  • How can you opening the tree.jsp page to a specific folder?

    I am trying to pass a query string into the viewer.jsp page so that I can open the appropriate folder relating to that query string. I can't find a way to do this as of yet. A lot of the code doing the work is only .class files so it is challenging.
    If you have any ideas as to how to begin to tackle this problem please let me know. Basically the querystring would contain the folder I want the tree to open to.
    Thanks,
    Simon

    See:
    *https://mike.kaply.com/2012/02/09/integrating-add-ons-into-firefox/

  • Stop tree refreshing page

    Hello
    I have implemented the AJAX tree, but now want to stop the clicking of a node refreshing my page. I have created an iframe region on the page that I want to refresh when a node is clicked by I dont want the tree to refresh itself. I think my problem is due to the code below (taken from the AJAX tree package), but I'm not sure on how to fix the problem.
    htp.prn('<li style="vertical-align:middle;"><img style="cursor:pointer;margin-right:5px;"src="/i/' || p_icon || '.gif" onClick="getTreeNode(this,''' || p_id || ''') " /><a class="' || p_class || '" href="f?p=' || v('APP_ID') || ':31:' || v('APP_SESSION')|| '::::P1_SELECTED_NODE:' || p_id || '">' || p_name ||'</a></span></li>');
    Please can anyone help?
    Many thanks
    Paul

    Either you submit or you dont submit, there is nothing in between.
    If you submit then you wll need to make all fields get filled in after the submit if you dont want to loose the info.This can be very easily done if you use MVC framewroks like Struts and JSF
    Another option is to submit to a hidden frame or hidden iframe and have some javascript process the data that gets send back on request. This result in your page staying the same but with the possibility to have values changed

  • Need to create tree-view page.

    I'm trying to create a tree-view display using Oracle JDeveloper 10g Release 3, ADF and JSF.
    I need to show a tree (folder names) and on a click of the last level folder to show table with File names that are related to the selected folder.
    Data is stored in two tables:
    1. contains Folder names and hierarchy relations;
    2. contains File names.
    These tables related by folder ID.
    Using ADF Faces Component, I created a 3 level Tree that expends and collapses each level of Folder names but I don't know how to populate the View part (table with File names). Basically, I need to take an ID of the selected row in the Tree and pass it as a parameter to the View table query where clause.

    Since this is not a hibernate forum i suggest you ask your question about hibernate somewhere else.

  • Creating expand/collapse trees in Pages

    I'd like to make a list where it's possible to expand or collapse parts of the list. I envision it using the arrows that point down to reveal the expanded list or right to collapse the list and when you click on the arrow it swaps between the two. Is this possible in Pages, or is there another application I should be using. I can't seem to figure out how to do it.
    Thanks,
    Nate
    Message was edited by: sdoigsd

    Hello,
    Omni Outliner does perfectly what You want.
    http://www.omnigroup.com/applications/omnioutliner/

  • Safari ne parvient pas à trouver le serveur lorsque je veux faire apparaître ma page web?

    Mon problème j'ai ma page web qui fonctionnait très bien lorsque j'ai voulu changer ma photo. Il n'est plus posible de la fair apparaitre sur safarie avez vous une idée merci

    If the google translation helps anyone:
    Safari can not find the server when I want to bring up my web page?
    My problem I have my web page that was working fine when I tried to change my photo. It is not posible to appear on the fair safarie you have an idea thank you

  • Navigate from tree selection to parameterized report on same page

    I have a simple tree showing the departments and roles within our organization.
    I have a simple report showing the skills required for each node in the tree, sometimes general skills that apply to whole department, sometimes specialized skills for the roles within a department.
    I've created a page that has two regions. I managed to get the tree on the left and report on the right by including the two regions in the same display point and changing the column of the report to "2".
    When I click a node in the tree, I want the ID behind the selection to be passed to the simple report. The report will show the skills mapped to the selected node in the tree.
    But since the report is on the same page, I imagine this might be a bit tricky. When the user clicks a node, the whole page would have to be refreshed, preserving the tree expanded to the point where the user clicked, and running the report with the now filled ID.
    In order to do this, I guessed I'd need an application item that preserved state. I created item F1000_OU_ID.
    The SQL for the tree is :
    select "OU_ID" id,
    "PARENT_OU_ID" pid,
    "OU_NM" name,
    'f?p=&APP_ID.:1:&SESSION.::NO::F1000_OU_ID:'||"OU_ID" link,
    null a1,
    null a2
    from "#OWNER#"."TR_OU"
    order by seq_num
    The SQL for the report is:
    SELECT s.skill_type,
    s.skill_nm
    FROM tr_skill s,
    tr_ou_skill os
    WHERE s.skill_id = os.skill_id
    AND os.ou_id = :F1000_OU_ID
    Under the report region, I gave it a conditional display directive to not display until F1000_OU_ID was not null.
    That's as far as I've gotten. The page runs. The regions display where I want them. But when I click nodes in the tree, the page blinks and nothing happens to the report. What am I missing Aces?
    bc

    200 views and 1 reply? Come, come, Aces, you can do better than that!
    Leo, thanks for taking the time to look at it. As I understand it, the "bind" or "host variable" syntax of preceding colon, e.g. ":F1000_OU_ID" is used when referring to application or page items from a SQL Query. The "substitution" syntax of preceding ampersand and following period, e.g. "&F1000_OU_ID." is used when referring to application or page items from things like HTML text.
    To verify this, I used one of the blank pages in my app, page 5. I created two regions, one HTML text, one a report based on a SQL Query.
    For the HTML text, I typed in
    Here is the application item value &F1000_OU_ID..
    For the report's SQL query, I typed in
    SELECT 'OU_ID selected is ['||:F1000_OU_ID||']' text
    FROM dual
    These both work as expected. After I have clicked on a node in Page 1's tree, the F1000_OU_ID is set to a value and that value then appears on page 5 in the two test regions mentioned above.
    So I have no trouble passing stateful values between different pages. My problem, perhaps poorly worded in the original post, is how to "pass" the selected value to the same page, since clicking a link in the tree refreshes the page it is on, in order to pass the value to the report region on the same page.
    If anyone has done this before, please chip in or point me to the thread. Various searches in the forum were just coming up with too many non-relevant results, so I thought I'd ask the experts. Thanks in advance!
    bc

  • I add some node to a tree but it is not shown in web page.

    Hi
    thank you for reading my post.
    I read some tutorial in the web and i add some tree node to a tree dynamically.
    but none of them is shown :(.
    I should say that i write the code that create a tree in session scope bean because my tree is placed in a fragment and fragment has no preRender method.
    here is code that initiate a tree, and i think it is correct.
        public void initiateTree() {
            getTree1().setClientSide(true);       
            System.out.println("Setter called");
            Context ctx=null;
            DataSource ds=null ;
            Connection con=null ;
            Statement st = null ;
            List rootMenuItems = new ArrayList();
            ResultSet rs = null;
            try {
                ctx = new InitialContext();
                ds= (DataSource) ctx.lookup("java:comp/env/jdbc/dataSource");
                con= ds.getConnection();
                st= con.createStatement();
            } catch (Exception ex) {
                ex.printStackTrace();
            try {
                java.sql.PreparedStatement childsPSt  = con.prepareStatement("select * from categories where parentcategory = ?");
                rs=  st.executeQuery("select * from categories where parentcategory= 0 and language = " +"'"+getLang()+"'");
                //roots
              while(rs.next()){
                  int parentID = rs.getInt("categoryID");
                                System.out.println("A root has been added   "+parentID );
    TreeNode aRootNode =  new TreeNode();
    aRootNode.setText(rs.getString("categoryname"));
                //childs
                    childsPSt.setInt(1,parentID);
                    ResultSet cRs = childsPSt.executeQuery();
                    while(cRs.next()){
                        System.out.println("Achild has been added "+ cRs.getString("categoryname")+ " " + parentID);
    TreeNode childNode = new TreeNode();
    childNode.setText(cRs.getString("categoryname"));
    aRootNode.getChildren().add(childNode);
    getTree1().getChildren().add(aRootNode);
            } catch (SQLException ex) {
                ex.printStackTrace();
       I call this method in session bean constructor.
    here is code that bind the tree in page fragment to session bean tree1
                <ui:tree binding="#{SessionBean1.tree1}" id="tree1" style="height: 167px"/>here is console output that prove the initiate method do some works.
    Setter called
    A root has been added   1
    Achild has been added cat name 2  1
    Achild has been added cat name 3 1
    A root has been added   5

    i think u need to add hyperlink component to the node thus cause node must carry hyperlink or anything u like to add like staticText or checkBox ....
    add this code after creation the aRootNode and childNode
    it may works :)
    Hyperlink h = new Hyperlink();
    h.setText(cRs.getString("categoryname"));
    childNode .getFacets().put( childNode .CONTENT_FACET_KEY, h );

  • How to get Value of tree node without Reload Page

    hi,
    i worked with apex 4.2 and i created Tree and tabular form to retrieve the date according the value of tree select node the code of tree something like this
    select case when connect_by_isleaf = 1 then 0
    when level = 1 then 1
    else -1
    end as status,
    level,
    "ENAME" as title,
    null as icon,
    "EMPNO" as value,
    null as tooltip,
    'f?p=36648:34:5234984107903::::P40_SELECTED_NODE:'||empno as link
    from "DEPT"."EMP"
    start with "MGR" is null
    connect by prior "EMPNO" = "MGR"
    order siblings by "ENAME
    and i put Selected Node Page Item: P40_SELECTED_NODE . the tree worked good and retrieve the data into tabular form according to tree node value
    my Question :
    1- i want to retrieve the data without submit the page where each time i select value from tree make page reload to update the tabular form with new value ,there is any way to pass the value of tree node to P40_SELECTED_NODE item and refresh tabular form without page reload .
    2- i want when selected from tree run page process according to value of tree node i tray to create Dynamic action with *(jquery selector : div.tree li>a)* but the Value of node incorrect.
    Regards
    Ahmed;

    look at this link
    Re: How to get Value of tree node without Reload Page ..!

  • Tree expand/contract refreshes page

    Hi I'm using APEX version 3.1. I have a question regarding a tree. When I expand or contract the tree, the page will refresh. When that happens all my fields which
    contain freshly entered data will lose that data.
    Is there a simple method to avoid this kind behavior? I can think of a java script which builds the url but I'm hoping for something less complex.
    Kind regards,
    Patrick

    Instead of reloading the page, try submitting it (and not clearing its cache). That should save the item values.

  • Two trees in the same page

    Hi,
    is it so that there can be only one js tree per page ? If so, is there a workaround ?
    When I tried to put a second tree on a page, only empty region is showing. In the page source code,
    it seems that the data for the second tree includes nodes from the first tree, althought they surely are
    not included in the query for the second tree.
    Tiina

    Hi!
    I want to up this topic. I use Firefox 3.5.11 and I've made an example on apex.oracle.com (APEX 4.0.1.00.03, Oracle DB 11.1.0.7.0 EE) where you can see the trouble here: http://apex.oracle.com/pls/otn/f?p=2092:5:0. There are two regions with trees on the page. First one has the following tree query:
    select case when connect_by_isleaf = 1 then 0
                when level = 1             then 1
                else                           -1
           end as status,
           level,
           "ENAME" as title,
           null as icon,
           "EMPNO" as value,
           null as tooltip,
           null as link
    from "#OWNER#"."EMP"
    start with "MGR" is null
    connect by prior "EMPNO" = "MGR"
    order siblings by "ENAME"Second one has this tree query:
    select case when connect_by_isleaf = 1 then 0
                when level = 1             then 1
                else                           -1
           end as status,
           level,
           level as title,
           null as icon,
           level as value,
           null as tooltip,
           null as link
    from dual
    connect by level <= 5So you can see from the code, the second tree should only contain the numbers. But please follow the link above and expand the second tree - it contains the first tree nodes!
    I think it's a bug. Any other thoughts / workarounds, please?
    Edited by: tiPPLer on 26.08.2010 13:55

  • Hiding Page 0 Items and Tree Node Links

    I have two issues I'm trying to work out:
    1) I have created a tree on page 0 that I want to appear on all of my REPORT pages, so the user can filter the reports regardless of which page they're on. The problem is that the tree is also appearing on the login page and the Home page. Is there any way to hide the tree on the login and home pages but have it appear on all other pages? I'm trying to avoid having to create the tree on every single report page.
    2) I need the tree to work like this: the user clicks any node in the tree, and all reports (on multiple pages) are filtered based on the node selected. So I don't actually want the nodes to be links to a report, I just want the reports to be filtered based on the node value selected. Then I'll have tabs to navigate between the different reports. Is this possible?
    Thanks.

    I dunno if you correct it, but there was small mistake in the JS code - a closing bracket was missing
    $s('P0_TREE_NODE', $(this.triggeringElement).parents('li:first').attr('id'));
    it looks like the node value IS being stored in the session stateI hope you checked for items in page 0 (it should then list down page 0 items including P0_TREE_NODE) when you searched for session state(it defaults to whichever page is run currently)
    If these two are working fine, it has to be some page process/computation/item source/item default that modifies the item value when you move between pages.
    To find this: Turn debug on, reload the page , click on a tree node, then redirect to some other page and then check the debug report and see if the page 0 item: P0_TREE_NODE is being set/reset/modified elsewhere.

  • Trees in Apex 4.0

    Hello,
    Is it possible to make the ajax tree in Apex 4.0 to "memorize" it's state between page loads ?
    Now it's always returned to it's original state after page reload, for example a folder is closed.
    Tiina

    Hi Tiina,
    If you wish to save the state of your tree, to expand the tree to the last selected node, you will need to use the 'Selected Node Page Item' attribute of your tree. Edit your tree and on the Tree Attributes page, set the 'Selected Node Page Item' to a page or application item that you wish to hold the selected node value e.g. P21_SELECTED_NODE as used in the Tree demonstration. Then update the link parameter in your tree query to set this item to the VALUE parameter of your query .e.g EMPNO. Now when you select a node, and return to the tree page, the tree will expand to that last selected node.
    You may find it useful to refer to a related thread on this topic: Re: tree question
    Regards,
    Hilary

  • Tree Attributes Query Example is Incorrect

    I have been trying to create a Tree region in Application Express 4.0.2.00.07.
    In the "Tree Attributes" page the exmaple and help text are contradicting, the example is oncorrect whereas the help text is correct.
    This is very frustrating!
    See text:
    Syntax: select status, level, name, icon, id, tooltip, link from ... where ... start with... connect by prior id = pid order siblings by ...
    +1. You must select the columns in the following order (e.g. status, level, name, icon, id, tooltip, link..)+
    +2. Ordering applies the order_by_clause to the siblings of the hierarchy+
    Example:
    select case when connect_by_isleaf = 1 then 0 when level = 1 then 1 else -1 end as status,
    ENAME as title
    NULL  as icon,
    EMPNO as value,
    ENAME as tooltip,
    NULL  as link
    from EMP
    start with MGR is null
    connect by prior EMPNO = MGR
    order siblings by ENAME
    When following the example, I kept getting a javascript error when running the page and when viewing the source it was the ORA error No Data Found.
    Once I noticed the contradiction between point 1 of the Syntax help and the code example I tried using the columns in the Syntax help and the tree started working.
    Given the proximity of these two pieces of boilerplate text it'd be great if it could be made consistent.
    Hopefully this post will help anyone else who encounters this problem.

    And should look into this proper documentation http://docs.oracle.com/cd/E17556_01/doc/user.40/e15517/app_comp.htm#BABBCAEJ

Maybe you are looking for

  • HT1689 I purchased two songs and each one, half of it is silent and cuts off. I want my money back or I'd like to re-download for free

    I purchased two songs and each one, half of it is silent and cuts off. I want my money back or I'd like to re-download for free

  • Read faces-config.xml in the runtime

    I coding a new phaselistener in my app... I need to list all managed-beans inside faces-config.xml and the classes... Exists way to get this information without parse manually faces-config.xml ? The API has way ?

  • BPC 7.5 to BPC 10 upgrade

    Hi experts, Currently our system is BPC 7.5(BASE level) on NW 7.0 EHP1. this server is for our internal purpose. we are planning to upgrade it to BPC 10.0. it will be direct upgrade on the same server. I am concerned about whether we need to uninstal

  • SRM Vendor List - Sourcing

    We are trying to use vendor lists for sourcing our shopping carts.  We are using classic scenario.  We have setup the "source list" as it is called in R/3 and expected to be able to source the shopping cart with this list as it should show up as the

  • BIP Installation issues

    HI, I am installing Business Intelligence 11g on windows 7 (64bit) machine. 1. I have selected "Simple install" 2. I am now stuck at step 8 - "BIPlatform Schema". What should I enter here? 3. If I choose the Oracle DB and enter the credentials, it fa