Reg: navigation from tree node to page

Hi
plz suggest me form where should i start. I have similar use case as given in this link
http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx
left side i have tree and right side corresponding pages.Whenever i click on tree node corresponding page should display.
How can i achieve this ?
Thanks
nitesh

Hi Nitesh,
You should do something like this http://apex.oracle.com/pls/apex/f?p=54687:38:135151340818055:::::
or even a simpler version http://www.grassroots-oracle.com/2013/02/apex-tree-region-use-case-privileges.html
Best of luck,
Alex.

Similar Messages

  • Navigation from tree node to page

    Hi
    plz suggest me from where should i start. I have similar use case as given in this link
    http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx
    left side i have tree and right side pages .Whenever i click on tree node corresponding page should display.
    How can i achieve this ?
    Thanks
    nitesh

    You know that the sample you are referring to comes with the source code. You just have to click on the page source link to get to the source.
    One way to archive this is to use a link element to render the node. The link can directly navigate to the right target or show the right region.
    If you need something not sophisticated you can use a selection listener (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/november2011-otn-harvest-1389769.pdf) and to everything from a bean method.
    As you did not give any information about your Jdev version and how the tree is connected to the navigation it's hard to give more advice.
    Timo

  • Invoking taskflow dynamically on to dynamic Region from Tree Nodes

    Hello,
    I have a tree , each node represents application task flow want to invoke the corresponding task flow when node is clicked into same Dynamic Region, is it possible?
    Any idea will be greatly appreciated.
    Thanks
    Ram

    Thanks for quick response, I have a mouse double click event on tree node to fire task flow.
    I added a method in region bean to change and update the view scope from treeListener.
    public void handleTreeDoubleClick(ClientEvent ce){
    System.out.println(ce.getComponent().toString());
    RichTree tree = (RichTree)ce.getComponent();
    System.out.println("double click");
    System.out.println("sNodeValue : menuTreeSelectionListener "+sNodeValue);
    FacesContext fctx = FacesContext.getCurrentInstance();
    String rowKeyString = sNodeValue;
    RegionBean regionBean = new RegionBean();
    // regionBean.setDynamicTaskFlowId(TaskFlowId.parse(""));
    System.out.println("changing the task flow ...");
    regionBean.refreshRegion(TaskFlowId.parse("/WEB-INF/task-flow-welcome.xml#task-flow-welcome"));
    public void refreshRegion(TaskFlowId TaskFlowId) {
    System.out.println("taskflow id :"+TaskFlowId.toString());
    this.setDynamicTaskFlowId(TaskFlowId);
    oracle.adf.view.rich.context.AdfFacesContext adfFacesContext = oracle.adf.view.rich.context.AdfFacesContext.getCurrentInstance();
    adfFacesContext.getPageFlowScope().put("CurrentTaskflowId", TaskFlowId);
    But region is not getting refrehed with new taskflow id:
    console output.............
    changing the task flow ...
    taskflow id :/WEB-INF/task-flow-welcome.xml#task-flow-welcome
    any thoughts?
    Thanks
    Ram

  • JSF Page Navigation from Tab to another page and back to tab

    I have a Page with tabs and a button in each of those presenting a Table and "Create Button"
    I would like to go to a new page and come back to the same active tab.
    How do I set the page navigation properties?
    Right now I am in
    Page1(Tab3) Button click-> page2(Create)->Page1 is showing a wrong active tab.
    Can we tell page navigation to go activate a tab it came from?
    Message was edited by:
    spattabiraman

    Hello, maybe if u declare a sessionbean variable as string, in the page u want to open thew tab, in init() you must call the session bean withh the name of the tab u are calling, for example:
    getSessionBean1().setSeltab("tab1");
    i hope it can help
    Beltazor

  • Navigation from OnePage to Another Page in MS Visio chart added in SharePoint 2013 Site

    Dear All,
    I have made Org Chart in MS Visio 2013 including multiple pages (sheets) & hyperlink provided to navigate from one page to another after clicking on particular box/Icon.
    In Ms Visio, its working properly but when i have added this in SharePoint site then when clicking on hyper linked Box then instead of navigating to another page , it is downloading files.
    Kindly let me know what should be done.

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    How do you upload the Visio file to SharePoint 2013? Upload the whole file directly or use the Visio 2013 build-in feature to save as to SharePoint site.
    Which file format do you use? VSDX or VWD format (Visio Web Drawing)
    Which browsers do you use?
    If you did not use VWD format, I recommend you try to
    save diagrams to SharePoint as Web drawings, we are using Visio Services to make the diagram available for people to view in a browser. Web drawings can have hyperlinks, multiple pages, and other features like a standard Visio drawing, including the
    ability to connect to external data sources. (Based on my test, the method worked well for me, it would navigate hyperlink correctly among different pages)
    Then, if we can navigate hyperlink correctly, and it becomes ”downloading mode“. This issue may be caused by the browsers add-ins. Please try to disable all the add-ins to test.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • JDeveloper : Problem while navigating from one to another page.......

    Hi,
    I am using JDeveloper 11.1.1.4.0.
    Assume that Eo name : EmployeesEO. I want to display all employees those who r all under coreesponding Department. For that i have created ViewCriteria Named as EmployeeByDepartment for DepartmentId in EmployeesVO. where clause in Viewcriteria is:
    *( (Employees.DEPARTMENT_ID = :Departmentid ) )* .
    Then exposed that viewCriteria in AM for EmployeesVO Instance.
    Now i created taskFlow where I created two jsff page. In page 1 just i drag and drop EmployeeByDepartment viewcriteria from datacontrol [DataControl->EmployeesVO1->NamedCriteria]. Then i drag and drop EmployeesVO1 from Datacontrol to Page 2 as ADF Form.
    Now while clicking Search Button in page 1 it should navigate to Page 2 and also it should display Employee details those who r all under same Department.
    How can i achieve??
    Regards,
    Praveen.

    First question: which component do you use (af:query or anything else)?
    next question if you use af:query why not show the result on the same page (query with table)?
    Timo

  • Navigating from two different master pages to the same detail page

    Hi. Im using JDev 11.1.1.1.0 JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407. Fusion Web Application.
    I have two ViewObjects based on a unique entity Entity1 and each VO has a different set where clause. First, I create a master view page based on VO1 and a detail page based on the same VO1. Navigation is working fine using a link in the PK of selected row and using setCurrentRowWithKey.
    Next, I've created a second master view page based on VO2 and want to enable navigation to the detail page based on VO1. I figured the key is the same (Entity has a one column PK, and the same thing VO1 and VO2) but when I tried navigation with setCurrentRowWithKey or setCurrentRowWithKeyValue doesn't work.
    Can anybody provide steps to achieve this? Is it possible to do?
    Thanks.

    Hi,
    You might be using setCurrentRowWithKey method of VO2, if so, try to use setCurrentRowWithKey method of VO1(on which detail page is based)
    Sireesha

  • Tree node selection lost after returning from called page

    Hi
    in a default unbound task flow i have a Page1 calling Page2.
    Page1 displays a master-detail data using treetable component, while Page2 displays detail data (selected from Page1) as a read-only form.
    When coming back from Page2, Page1 tree node selection is lost and tree table is rendered as if was called for a first time (detail data are disclosed).
    How can I restore an original selection?
    (Jdev 11.1.2.2)
    Many thanx

    1. before goind to the Page 2, remember somewhere the selected row keys, as follows:
        RowKeySet rks = yourTreeTable.getSelectedRowKeys();2. after returning to the page 1, do as follows:
        Iterator rksIterator = rks.iterator();
        if (rksIterator.hasNext()) {
                 List key = (List)rksIterator.next();
                 JUCtrlHierBinding treeTableBinding = null;
                 treeTableBinding =
                         (JUCtrlHierBinding)((CollectionModel)table.getValue()).getWrappedData();
                 JUCtrlHierNodeBinding node =
                     treeTableBinding.findNodeByKeyPath(key);
                 RowKeySet newRks = new RowKeySetImpl();
                 if (node != null)
                     newRks.add(node.getKeyPath());
                 callSelectionListener(yourTreeTable, newRks);
                // refresh your tree table  - ommited here
         // where is:
         protected void callSelectionListener(RichTreeTable table, RowKeySet discRows) {
             SelectionEvent selEv =
                 new SelectionEvent(table, new RowKeySetImpl(), discRows);
             JSFUtils.resloveMethodExpression("bindings.YourVO.treeModel.makeCurrent", // <--  of course, adjust this value to the your selectionListener expression
                                              null,
                                              new Class[] { SelectionEvent.class },
                                              new Object[] { selEv });
         } // of makeCurrent()
        public  Object resloveMethodExpression(String expression, Class returnType, Class[] argTypes, Object[] argValues) {
            FacesContext facesContext = FacesContext.getCurrentInstance();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            MethodExpression methodExpression = elFactory.createMethodExpression(elContext, expression, returnType, argTypes);
            return methodExpression.invoke(elContext, argValues);
        }

  • 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

  • Create a tree node and show the report on the same page

    Hi,
    I have created a tree for our organization and each node represents a unit. The top one is office level and followed by division and brach.
    I have created a reprot on the same page as the tree node.
    What I want to do is:
    I would like to click a specific node and the report shows only that node and bellow. So, If I click division A and division A has two branch. my report shows only those two braches that bellong to division A.
    Can someone help me?
    Thank you

    The only way it could work is using iframes. Now OBIEE 11g would not allow iframes inside it's dashboard. It offers a dashboard object called "Embedded content" which is a restricted iframe kinda thing but unless you get this object's id from generated HTML you can change it's content dynamically. Besides, such an implementation may break with next patch. So here is an idea.
    Create a HTML page with two iframes, left one will hold all the reports with links (you can always generate a list of reports through catalog manager, open it in excel and make HTML links from it) that open report urls (in the format of ./saw.dll?GO&Path=....) in right iframe (using javascript open.window method). Once that page is working, call this page from dashboard using an action link. This is slightly twisted approach but at least it would give you what you asked for.
    About making the report list dynamic, I am afraid there are no easy answers. OBIEE provides web service that will allow the users to query catalog to get a list of reports. You can try some basic JSP to access the web service and generate the list dynamically. But that is not something I can provide here.

  • Navigating from a tree.

    Hi,
    I do have a tree as described below in my application...
    <mx:XMLList id="treeData">
    <node label="Mail Box">
    <node label="Home"/>
    <node label="Student">
    <node label="Create"/>
    <node label="Edit"/>
    <node label="View"/>
    </node>
    <node label="Professor">
    <node label="Create"/>
    <node label="Edit"/>
    <node label="View"/>
    </node>
    </node>
    </mx:XMLList>
    Now how do i navigate to the various files from here, on the
    click of the individual tree nodes. What are the containers i may
    have to use to make this working.
    Thanks in Advance.

    Hmm,
    I had a look at your example application on the supplied link, however I cannot find any instructions or steps on how to go about implementing this method.
    Using my current method (from the thread linked in the first post of this thread) I have no problem getting the javascript to recognise changes and prompt the user on trying to leave - it's just that the href continues regardless of the user clicking cancel (wish grahamr managed to resolve somehow). Do you know why this might be?
    My javascript (2 posts above) is fired within the Anchor tag of my tabs and tree items like so; (Im only using [ ] brackets here so that it will display in the forum)
    [a onclick="javascript:checkForChangedData();" href="#TAB_LINK#" ][font color="#FFFFFF"]#TAB_LABEL#[font][a]
    Or if possible is there any assistance you could provide for implementing the method in your sample application? (I dowloaded the app but that page was not in it)
    Any help you can provide is greatly appreciated,
    Jordan

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

  • Help:create tree node dynamically from java code...

    hi there...can anyone give me solution how to create or add tree node dynamically from java code???
    currently i am using tree node to handle my menu...i try to create tree and add treenode dynamically from .java page, but it failed...can anyone give solution how to create tree ui from java code, so i can create a dynamic menu...thanz before...

    Hi:
    Just put the statements you would normally put on a sqlplus command line in jdbc statements and execute them?
    http://www-db.stanford.edu/~ullman/fcdb/oracle/or-jdbc.html#0.1_executeUpdate
    MJG

  • Populating tree node data from database

    I have to populate a tree node with data in the database.Its like this..I have to show emp table in the form of a tree. Under Empno, I have to get the data from the table and populate it.like wise all the columns should be retrieved. This is wat i need..
    -EMP
    -Empno
    7369
    7500
    5432
    +Ename
    +Job                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

    Gail just announced in our blog (http://blogs.sun.com/roller/page/divas?entry=june_tutorial_update) that she is working on this tutorial. If you would like to be an early reviewer, send email to [email protected] with "Database Tree Tutorial Early Reviewer" in the subject.
    Diva #2

  • Navigation from a report to dashboad page

    Hi all,
    In obiee 11g , if i navigate from a report which has a navigation link to a dashboard page , it populates the prompt but report does not come automatically we need to click it once more where as it works with obiee 10.1.3.4.0 version.
    Is there any way to solve this issue ?
    I have kept a BI publisher report in dashboard and passing parameters to bipublisher report.
    thanks in advance..

    Hi,
    This can be disabled.While creating the interaction, you can watch below the option-->Do not display this pop up....
    You need to check or uncheck depending upon your requirements.
    Regards,
    MuRam

Maybe you are looking for

  • Does not join to any fact source issue in 10g

    HI, I am getting below issue while compiling rpd. Logical Dimension Table Dim-XX has a source xx_aa that does not join to any fact source. Let me describe situation here. In physical layer , i have one xx_v table . there is no join condition physical

  • Can you help me with my program please?

    hi all, I have a problem with the sellMilk function at the Milk class I don't know how to write it right I've tried everything so I need you to help me. this function should check the expiry date of the milk and sell the required amount if it is not

  • Strip Tags From Interactive Report Download.

    Hi, Is it possible to strip html tags from a column during a CSV download on a interactive report? Basically i have a report where one of the columns is as follows 453<font color="red"> | </font>0 but in the download i want to strip out the tags so i

  • Loading a new file into Photoshop from Camera Raw, it displays a grid.

    Every time I open a RAW file from ACR into Photoshop, I get a grid over the screen (in Photoshop CS6). I tried resetting the saved presets by opening with Shift-Ctrl-Alt held down, but the next time I started Photoshop it happened again. Does anyone

  • Photoshop cs6 option size printing

    Hello, why the size printing function is not available with PS CS6 creative cloud? it's a shame because I use regularly. Do you correct this problem?