Make tree 3 levels deep

I am truying to make a tree that is three levels deep. The tre isn't used for anything but a graphical representation. cuurently i can get the tree to kind of work but not. right now it is supposed to go: project -> task -> subtask. below is the code i am using:
select case when connect_by_isleaf = 1 then 0
            when level = 1             then 1
            else                           -1
       end as status,
       level,
       d as title,
       null as icon,
       r as value,
       null as tooltip,
       null as link
from (select SUB_NUM || SUB_NAME d, SUB_NUM r, TASK_NUM parent from SUBTASK
       union all
      select TASK_NUM||'--'||TASK_NAME d, TASK_NUM r, PROJ_NUM parent from TASK
       union all
      select PROJ_NUM||'--'||PROJ_NAME d, PROJ_NUM r, null parent from PROJECTS)
start with parent is null
connect by  NOCYCLE prior r = parent
order siblings by dsome where in my "from" area it is messed up. i need to make the subtask line look at task_ and proj_num to group the results. i just dont know how to do it.

Didn't you ask this similar question in this thread: Can't get tree to work right
PLEASE DO NOT POST A NEW THREAD TO AN OPEN QUESTION YOU!!! It doesn't help the issue and causes people to get frustrated with you..
Please mark this thread as closed and focus on the open thread you have..
Thank you,
Tony Miller
Webster, TX
A lady came up to me on the street, pointed at my suede jacket and said "Do you know a cow was murdered to make that jacket?"
"I didn't know there were any witnesses", I replied " Now I'll have to kill you too"

Similar Messages

  • Importing xml that is 2+ level deep tree

    How do I lay out the tables to handle this
    and or is it even possible?
    I know that you can only 'nest' things one level deep, but you can use REF arbitrarily deep.
    I would like to import and export this directly using the XML utils.
    <item>
    <level1>
    <level2>
    <a>a</a>
    <b>b</b>
    <c>c</c>
    <level3>
    <d>d</d>
    <d>d</d>
    </level3>
    </level2>
    <e>e</e>
    <f>f</f>
    <f>f</f>
    </level1>
    <level1>
    <f>f1</f>
    <f>f2</f>
    <level2>
    <a>a1</a>
    <b>b2</b>
    <c>c3</c>
    <level3>
    <d>d4</d>
    <d>d5</d>
    </level3>
    </level2>
    <e>e6</e>
    </level1>
    <itema>a</itema>
    </item
    <!ELEMENT item (level1+,itema)>
    <!ELEMENT level1 (level2*,f*)>
    <!ELEMENT level2 (level3?,a,b,c)>
    <!ELEMENT level 3 (d+)>

    In Oracle8i, you'd have to use a technique like the XMLLoader utility described and built as part of Chapter 14 in my Building Oracle XML Applications book.
    In Oracle9i, the restrition is lifted on not being able to have collections of collections.

  • If you create a 3 level deep site heirarchy (with the first two levels based on the document centre template) the sharepoint OOTB breadcrumbs break

    if you create a site collection with document center as the template, then create another document center site (as a subsite) underneath it. Then create a team site (as a subsite) in this document center site. So now you have a 3 level deep site heiarchy
    with 2 levels of doc center followed by a teamsite.
    Note that the breadcrumb (when I say breadcrumb I mean the drop down folder button which shows the heirachy) shown on the teamsite skips the middle level doc center.
    I have replicated this bug in production and in my test server.  Has anyone run into this before?  This must be something peculiar with the Doc Center template.  If I do the same thing but I make the middle level a team site I do NOT have
    this problem
    krd

    Hi,
    Per my test, it seems that if the second level uses a different category template except the Collaboration templates, the site will not show on the breadcrumb.
    No matter if the first level uses any template, when we view the subsite which uses the Collaboration templates, all the subsites which uses a different category template above will not show in the breadcrumb.
    You can create your own breadcrumb using code.
    http://blog.mastykarz.nl/building-breadcrumbs-sharepoint-2010/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Problem with auto forward in nested groups of 3-levels deep (Struts/UIX)

    Hi all,
    In my time registration applications I use master-detail relations of 3 levels deep: Weeks - Days - Hours.
    For user convenience I forward directly from the Weeks table page to the DaysHours master-detail page, skipping the Weeks detail page.
    Therefore I replaced the forward-on-success-path to the WeeksPage with the WeeksDaysRouter, as if the user selected it manually in the WeeksPage.
    This works well, including getting the propper dataobjects and dataobjectsets of all levels.
    However when I browse to the next Day in the DaysHours master-detail page using the '>'-button, the server responds with the next week in a WeeksPage.
    It seems that the application turns into another state when a user action is simulated in the struts config.
    It is unclear to me how to configure the controller to exactly simulate the user action. Who else is in control here? According to MVC I would not expect controlling behaviour in the UIX views.
    Can somebody help?
    kind regards,
         Martijn

    Martijn,
    In formPage.uit, the template used by your page that includes the brow2sebuttons, you can find the following line:
    <formValue name="targetGroup" data:value="jhsPreviousForward@jheadstart:sessionData"/>
    The problem is that jhsPreviousForward still points to the weeks group. You can do two things to solve this:
    1. put a custom Struts action in between that changes the value of jhsPreviousForward to "DaysHours" (assuming that is the name of your group.
    The code to do this in your Struts action:
    sessionData.setAttribute(JHS_PREVIOUS_FORWARD,"DaysHours",SessionData.SESSION_SCOPE);
    See chapter 2 of the Dev Guide for more info on writing custom Struts actions.
    2. Make a copy of formPage.uit, rename it and change the targetGroup formValue to
    <formValue name="targetGroup" value="DaysHours"/>
    and have your page use your custom template instead of formPage.uit.
    I would favor the first option, you could even make this action generic by passing in the targetGroup name using set-property in the struts-config, rather than hardcoding it in the action.
    Steven Davelaar,
    JHeadstart Team.

  • How to count the tree levels?

    Hi..
    I'm a new memeber here.. and I have a problem :S
    My problem is about counting the maximum number of a tree levels.
    the question was: write a methode that receives a root of a binary tree and returns the maximum number of levels it has.
    I wrote the following methodes:
    public void depth() {
    System.out.print(depthHelper(root));
    private int depthHelper(TreeNode node) {
    int level = 1;
    if (node == null) {
    return 0;
    level = level + depthHelper(node.rightNode);
    return level;
    The problem is that these methodes count levels from one side which is the right side or left side if I wrote "node.leftNode".
    SO, how can I count them from both sides?
    I'll be very glad if you help me.

    It's often best to start with standard recursive tree traversal algoritm,
    private dH(TreeNode node) {
       if (node != null) {
          dH(node.leftNode);
          dH(node.rightNode);
    }You must keep track of the current depth and the maximum depth so far. The current depth is easy. You just increment it each time you go deeper.
    private dH(TreeNode node, int current) {
       if (node != null) {
          dH(node.leftNode, current + 1);
          dH(node.rightNode, current + 1);
    }The maximum depth is global to the tree so you should keep it outside the method. In each recursive step you compare it to the current depth
    int maximum = 0;
    private dH(TreeNode node, int current) {
       if (node != null) {
          if (current > maximum)
             maximum = current;
          dH(node.leftNode, current + 1);
          dH(node.rightNode, current + 1);
    }Now maximum contains the maximum depth.

  • Dashboards - More than one level deep

    Is there a way to create a Dashboards more than one-level deep. Currently I can put a Dashboard within another Dashboard (Getting the flyout menu when I select the top-level dashboard in the Interface). However, what if I want to go one level deeper? So have Dashboard Header show as the link, a flyout menu with Dashboard 1, then another flyout menu off of Dashboard 1 having the link for Dashboard 2.
    I saw this tag DashboardMaxBeforeMenu but don't know if this resolves the issue above as I tried to implement and still was not able to set up the above scenario.
    Thanks.

    Hi Mike,
    Sorry for the delay. The whole team has been busy with JavaONE for the past week.
    We currently do not support reverse engineering of an operation to a sequence diagram more than one level deep. I opened an enhancement request for you:
    http://www.netbeans.org/issues/show_bug.cgi?id=103780
    The UML pack is now part of NetBeans. Check out these links for the latest info regarding UML:
    http://www.netbeans.org/products/uml/
    http://uml.netbeans.org/
    Thanks,
    George

  • Targeting Dynamically Attached MC's (2-3 Levels Deep) From Root????

    I am in the process of building an application where all of
    the functions will be eventually exported into seperate AS files. I
    am having issues with a Sub Navigation that is attached and managed
    dynamically.
    The Sub Navigation is in an MC which contains a mask (which
    has a tween animation to add a fade in effect), and a blank MC
    which will contain all of the navigation items.
    Upon load of an XML file, the navigation items are extracted
    and buttons are created within the blank MC. Each button is
    inserted using the blank MC instance name at the next highest
    depth.
    All of the actions associated with the above need to be
    issued from the root timeline but when I call the dynamically
    attached clips (full target path) it cannot seem to find the clips.
    I have checked the target path numerous times and used a variety of
    debugging techniques but no luck.
    Has anyone else had issued targeting dynamically attached
    MC's that are nested two - three levels deep?
    Thank you so much in advance!

    Here is what is being returned by the output when the Sub
    Navigation is displayed:
    Level #0:
    Variable _level0.$version = "MAC 8,0,22,0"
    Variable _level0.NAV_Active = false
    Variable _level0.NAV_ActiveButton = 0
    Variable _level0.NAV_MaximumButtons = 7
    Variable _level0.NAV_EaseSpeed = 1.5
    Variable _level0.Navigation_ActiveButton = 0
    Variable _level0.SubNavigation_XML =
    "_xml/DestinationDetails.xml"
    Variable _level0.SubNavigation_ItemCount = 0
    Variable _level0.SubNavigation_ItemsXPositioning = 10
    Variable _level0.SubNavigation_ItemsYPositioning = 12
    Movie Clip: Target="_level0.instance1"
    Movie Clip: Target="_level0.instance2"
    Movie Clip: Target="_level0.instance3"
    Movie Clip: Target="_level0.instance4"
    Movie Clip: Target="_level0.instance5"
    Movie Clip: Target="_level0.instance6"
    Movie Clip: Target="_level0.NAV_Master"
    Movie Clip: Target="_level0.NAV_Master.instance7"
    Movie Clip: Target="_level0.NAV_Master.SNAV_Master"
    Movie Clip: Target="_level0.NAV_Master.SNAV_Master.instance8"
    Movie Clip:
    Target="_level0.NAV_Master.SNAV_Master.Button_Container"
    Movie Clip: Target="_level0.NAV_Master.SNAV_Master.instance9"
    Movie Clip:
    Target="_level0.NAV_Master.SNAV_Master.Scroll_Down"
    Movie Clip:
    Target="_level0.NAV_Master.SNAV_Master.Scroll_Down.States"
    Movie Clip:
    Target="_level0.NAV_Master.SNAV_Master.Scroll_Down.States.instance10"
    Movie Clip:
    Target="_level0.NAV_Master.SNAV_Master.Scroll_Down.instance11"
    Movie Clip: Target="_level0.NAV_Master.SNAV_Master.Scroll_Up"
    Variable _level0.NAV_Master.SNAV_Master.Scroll_Up.onRollOver
    = [function 'onRollOver']
    Movie Clip:
    Target="_level0.NAV_Master.SNAV_Master.Scroll_Up.States"
    Movie Clip:
    Target="_level0.NAV_Master.SNAV_Master.Scroll_Up.States.instance12"
    Movie Clip:
    Target="_level0.NAV_Master.SNAV_Master.Scroll_Up.instance13"
    Movie Clip: Target="_level0.NAV_Master.PNB_6"
    Variable _level0.NAV_Master.PNB_6.onRollOver = [function
    'onRollOver']
    Variable _level0.NAV_Master.PNB_6.onRollOut = [function
    'onRollOut']
    Variable _level0.NAV_Master.PNB_6.onRelease = [function
    'onRelease']
    Movie Clip: Target="_level0.NAV_Master.PNB_6.PNBS_6"
    Movie Clip: Target="_level0.NAV_Master.PNB_5"
    Variable _level0.NAV_Master.PNB_5.onRollOver = [function
    'onRollOver']
    Variable _level0.NAV_Master.PNB_5.onRollOut = [function
    'onRollOut']
    Variable _level0.NAV_Master.PNB_5.onRelease = [function
    'onRelease']
    Movie Clip: Target="_level0.NAV_Master.PNB_5.PNBS_5"
    Movie Clip: Target="_level0.NAV_Master.PNB_4"
    Variable _level0.NAV_Master.PNB_4.onRollOver = [function
    'onRollOver']
    Variable _level0.NAV_Master.PNB_4.onRollOut = [function
    'onRollOut']
    Variable _level0.NAV_Master.PNB_4.onRelease = [function
    'onRelease']
    Movie Clip: Target="_level0.NAV_Master.PNB_4.PNBS_4"
    Movie Clip: Target="_level0.NAV_Master.PNB_3"
    Variable _level0.NAV_Master.PNB_3.onRollOver = [function
    'onRollOver']
    Variable _level0.NAV_Master.PNB_3.onRollOut = [function
    'onRollOut']
    Variable _level0.NAV_Master.PNB_3.onRelease = [function
    'onRelease']
    Movie Clip: Target="_level0.NAV_Master.PNB_3.PNBS_3"
    Movie Clip: Target="_level0.NAV_Master.PNB_2"
    Variable _level0.NAV_Master.PNB_2.onRollOver = [function
    'onRollOver']
    Variable _level0.NAV_Master.PNB_2.onRollOut = [function
    'onRollOut']
    Variable _level0.NAV_Master.PNB_2.onRelease = [function
    'onRelease']
    Movie Clip: Target="_level0.NAV_Master.PNB_2.PNBS_2"
    Movie Clip: Target="_level0.NAV_Master.PNB_1"
    Variable _level0.NAV_Master.PNB_1.onRollOver = [function
    'onRollOver']
    Variable _level0.NAV_Master.PNB_1.onRollOut = [function
    'onRollOut']
    Variable _level0.NAV_Master.PNB_1.onRelease = [function
    'onRelease']
    Movie Clip: Target="_level0.NAV_Master.PNB_1.PNBS_1"
    Movie Clip: Target="_level0.NAV_Master.PNB_0"
    Variable _level0.NAV_Master.PNB_0.onRollOver = [function
    'onRollOver']
    Variable _level0.NAV_Master.PNB_0.onRollOut = [function
    'onRollOut']
    Variable _level0.NAV_Master.PNB_0.onRelease = [function
    'onRelease']
    Movie Clip: Target="_level0.NAV_Master.PNB_0.PNBS_0"

  • Reverse engineering sequence diagram with more than one level deep

    Hello,
    When I generate sequence diagram from a method with Java Studio Enterprise 8.1, it only shows the method called directly by this method.
    Can I also show the methods that are called by the other methods that the one I'm generating the diagram from?
    Thanks,
    Mike

    Hi Mike,
    Sorry for the delay. The whole team has been busy with JavaONE for the past week.
    We currently do not support reverse engineering of an operation to a sequence diagram more than one level deep. I opened an enhancement request for you:
    http://www.netbeans.org/issues/show_bug.cgi?id=103780
    The UML pack is now part of NetBeans. Check out these links for the latest info regarding UML:
    http://www.netbeans.org/products/uml/
    http://uml.netbeans.org/
    Thanks,
    George

  • Tree Level Query

    Dear Sir
    I need a Tree Level Query in looping Condition and examples using Sql Server
    Regards
    Mohamed Usman

    in sql developer like this
    select level, ename ,empno from emp
    start with mgr = 1001
    connect by prior empno=mgr;

  • I have garageband 11 and need to know how to make a good deep bass drum that thumps for a rap type song - thanks

    I have garageband 11 and need to know how to make a good deep bass drum that thumps for a rap type song - thanks
    just getting started so I would appreciate some assistance
    Mike

    Quit Mail. Force quit if necessary.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Mail/V2/MailData
    Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder
    from the menu bar. Paste into the box that opens by pressing command-V, then press return.
    A folder window will open. Inside it there should be files with names as follows:
              Envelope Index
              ExternalUpdates.storedata
    Move those files to the Desktop, leaving the window open. Other files in the folder may have longer names that begin as above. Move those files, if any, to the Trash.
    Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is damaged and that Mail has to quit. Click OK. Typically, the process takes a few minutes, but it may take hours if you have gigantic mailboxes. In that case, you may be able to speed things up by temporarily adding your home folder to the Privacy list in the Spotlight preference pane. Remove it when Mail has finished importing.
    Test. If Mail now works as expected, you can delete the files you moved to the Desktop. Otherwise, post your results.

  • How the do I make the cells deeper or taller

    How do I make the cells deeper or taller in numbers?

    Click and hold on the vertical or horizontal lines the separate cells in the row or column headers after the cursor changes to a bar with a double ended arrow:
    use the row headers to change the height of a cell and the column headers to change the width of a column.
    You can also adjust the width and height of a cell by using the cells inspector by selecting the menu item "View > Show Inspector", then clicking the cell inspector.:
    You can also get this an other valuable information from Users' Guide which you can download for free:
    http://support.apple.com/manuals/#iwork
    See Chapter 3, page 49

  • If I have a 3 level deep tree, linked, how do I grab those values to serve

    as variables in a sql statement? Anyone?

    Use the instructions on this page to differentiate the two machines.
    (11852)

  • Eliminating Group Tree Level in VS2010

    I need to have a variable number of levels in the group tree in VS2010, a technique I have used in CR for VS2005. I also saw this resolved for someone using VS2008 on thread 1493907 using the same method that I used in 2005. If, at the most detailed level, I group on a formula that I set to return a zero length string, that level still shows up in the tree and causes an error if the user tries to drill down that far.
    The 3 grouping furmulas:
    Group 1 formula
    select {?level}
    case 1 : {XXX.AGENCY_CD}
    case 2 : {XXX.REGION_CD}
    case 3 : {XXX.ORG_CD}
    default: ""
    Group 2 formula
    select {?level}
    case 1 : {XXX.REGION_CD}
    case 2 : {XXX.ORG_CD}
    default: ""
    Group 3 formula
    select {?level}
    case 1 : {XXX.ORG_CD}
    default: ""
    Summary
    If reporting from Level 1, then all levels of the tree are necessary. If reporting at level 4, I hide the group tree, since it is not necessary. If I want to report from level 3 (or 2), 2 (or 1) levels of grouping should be eliminated, but they are not.

    Don
    I set the grouping level to 3 (out of 1,2,3,4). If the level is 4, the tree makes no sense, so I hide it.
    If I run the program from the IDE:
    When I try to drill down in the GroupTree to the level that should not exist, Visual Studio breaks n allInOne.js with the error "Microsoft JScript runtime error: 'txtTooltipLyr' is null or not an object".
    If I view it in the Main Report Preview in the IDE:
    The 2 levels of nodes that should be eliminated are visible, but they do not do anything. The have no text and expanding the lowest level of the tree does nothing.
    If I deploy the web page and run it without using the IDE:
    The 2 levels of nodes that should be eliminated are visible, but they do not do anything. The have no text and expanding the lowest level of the tree does nothing, except that on the browser status bar there is an 'Error on page.' message.
    I have never exported to RPT format. I just tried it and I had to open it with visual studio. It acts just like Main Report Preview described above.
    DebugDiag does not show anything, I am guessing because the IDE is catching the error and nothing is really crashing.
    Chip
    Edited by: sandcrab72 on Feb 22, 2011 9:27 PM

  • Make tree structure persitent

    Hello,
    i have a tree structure in my Webdynpro.
    For example a project of buildings, levels, floors and rooms.
    This works fine with recursive nodes in the context and the WD-Tree-UI-Element.
    Now i want to make this persistent in my Database.
    I use CAF with Application Services, WebService and Business Objects.
    What is the best BO-Structure ? One BO with an association to himself ?
    I test it, but i doesn't work.
    Or better a BO with a parentKey-Field and no assocation ?.
    What is the best way ?
    What ist the best container to transfer the tree-date to the Application-Service to store and load it.
    Can anybody help me ?.
    Thanks.
    Best regards
    Klemens

    Hi, please read the FAQ before posting again.  Following those guidelines will yield better results and sooner.
    See this link for some great examples of APEX Trees:
    http://apex.oracle.com/pls/apex/f?p=36648
    Jeff

  • How can I make tree view for hierarchical data from select with connect by?

    If we have selected hierachy with connect by clause, how can we make it to see in tree view?

    You can't do this using the ADF, Tree Binding used by JHeadstart.
    However, If you have a recursive relationship (for example managerid) you can get a tree what you want as follows:
    - create one root ViewObject that returns the top-level employees without a manager by setting the where clause to managerid=null
    - create a second ViewObject that simply queries all employees
    - Create a ViewLink between the two view objects, and create a nested VO usage in the app module for the second view object
    - Create corresponding nested group in the application definition file and set the layout style to "tree-form" on both groups.
    See Developers Guide, chapter 3, section recursive trees for more info.
    Steven Davelaar,
    JHeadstart Team.

Maybe you are looking for