The tree question

Request Express 4.1.0.00.32

I created a tree using the following query:

Select case when connect_by_isleaf = 1 then 0
When level = 1 then 1
of another-1
end the status,
level,
MAJR_DESC as title,
NULL as an icon,
MAJR_CODE as value,
majr_desc as ToolTip,
' f ? p = & APP_ID.:2: & SESSION. : NO::P2_MAJOR:' | MAJR_CODE link
of ' #OWNER # '. " WLMAJORS ".
Start with 'COLL_CODE' is null
connect prior 'MAJR_CODE' = 'PARENT '.
siblings arrested by "MAJR_DESC".

The tree seems to work fine, but I have a little problem. The tree lists the six colleges at my University. When you click on a college to decompress, it shows the different "majors" of the order. By clicking on any of these majors then load of information that major in various parts on the same page that contains the tree. In the tree, Arts & Communication is the first college. If I develop a college, say Liberal Arts and choose a major, say that English journal, Arts and Communication develops as well. The first sheet (Arts & Communication) grows every time that the page is. I don't want to do. The single sheet should be extended is the College that contains the key that I consult.

None of this has meaning to anyone else than me? Any help is greatly appreciated.

Bob

Hello Bob,

Give a few static id for the region of the tree, for example tree-reg-static-id (make sure model respective has the substitution for #REGION_STATIC_ID string #)

And after the code to run when the page load section of your page @ apex.oracle.com

if ($("#P1_MAJOR").val())
{
var firstNodeChild = $("#tree-reg-static-id li:first").find("li#"+$("#P1_MAJOR").val()).size();
if( firstNodeChild == 0 )
$("#tree-reg-static-id li:first").removeClass("open").addClass("closed");
}
else
$("#tree-reg-static-id li:first").removeClass("open").addClass("closed");

That should do the trick.

However, I consider this a BUG!

Kind regards
Hari

Tags: Database

Similar Questions

  • Node of the tree in default expansion

    Hello
    I have an element in the tree, the first node which remains extended, I can not find the reason for this behavior, can someone tell me how to stop growing.
    Thank you

    Published by: aparm on May 9, 2013 04:21

    I think that I had the same problem you describe. Look at this thread:

    The tree question

    Bob

  • How to highlight the part of the tree?

    Hello everyone!

    I have a question: how to highlight a part of the tree on a condition? (please see the attached vi and the pictures for a clearer explanation of the problem)

    I'm using LabView 2014.

    Thank you very much!

    Have patience.  You only aske the question about 40 minutes earlier.

    You highlight the lines you want by writing the values to the control.  Don't mess with the background color of cell.

    You try to highlight several items?  If so, then right-click on the control and let him choose 0 or more elements.  As soon as you select a mode with the possibility of more than one element, the values of the tree becomes an array of strings, rather than just a string.  You need build an array of strings that you will write to a local variable of the control to highlight the various elements.

  • change the column of the tree

    Hi guys,.

    I'm new to the tree control.  I'm trying to programmatically change the State of the second column without changing the text of the left cell in the control (see attached photo).  Can you please point me to the right direction?  I use Labview 8.5.  Thank you.

    I am fairly new

    Hello

    There is a feature in LabVIEW, called property node. With the property node, you can change the front panel objects programmatically. You can make the property node with a right click on the object you want to change by programming and will create > property node and then you have all the properties of the selected object, you can programmatically change. When you created the property node, you can change access (read/write) with right click, and then you choose change all to write or modify To Read, depending on what you have chosen.

    In your case you will need 3 properties:

    Active cell > column Active - sets/bed number of the current column number

    Active element > line number - sets/bed number of the current column

    Active cell > String - string of the element sets/bed

    If you have any questions feel free to ask.

    Respect,

    Gregor ring

  • SQL query for the region of the tree

    Hello

    I was wondering if someone is able to help me work on a SQL query, to format the data in the table required in a part of the tree... I've never used a tree and I'm fighting to get the right data (if possible).

    The data in the table looks like this:

    data.PNG

    I want to put it in a tree, using level 1 level6 with a final layout that would look like this:

    tree.PNG

    As you can see, the data are formatted in level6 down in the tree, but are filled in the table from level 1. Not all of the columns will be filled, so level2 for anyone 4 (France) is the equivalent of level in the tree like level6 to person 1 (Spain).

    This is Apex 4.2.5

    Oracle 11.2.0.3.0

    Sample data:

    CREATE TABLE employees
       ( employee VARCHAR2(100),
         level1 VARCHAR2(100),
         level2 VARCHAR2(100),
         level3 VARCHAR2(100),
         level4 VARCHAR2(100),
         level5 VARCHAR2(100),
         level6 VARCHAR2(100)   
       );
    
    INSERT INTO employees (employee, level1, level2, level3, level4, level5, level6) VALUES ('Person1','Team One','Recruitment','Human Resources','Fictituous Company','Murcia','Spain');
    INSERT INTO employees (employee, level1, level2, level3, level4, level5, level6) VALUES ('Person2','Team Four','Testing','IT','Big Corporate','Hanover','Germany');
    INSERT INTO employees (employee, level1, level2, level3, level4, level5, level6) VALUES ('Person3','Big Corporate','Hanover','Germany', null, null, null);
    INSERT INTO employees (employee, level1, level2, level3, level4, level5, level6) VALUES ('Person4','Brittany','France', null, null, null, null);
    INSERT INTO employees (employee, level1, level2, level3, level4, level5, level6) VALUES ('Person5','Team Three','Testing','IT','Big Corporate','Hanover','Germany');
    INSERT INTO employees (employee, level1, level2, level3, level4, level5, level6) VALUES ('Person6','Public Relations','Government Agency','Brittany','France', null, null);
    
    

    Added example given.

    Hello

    Apex-user wrote:

    Thanks Frank, this is a good example, I can work with that! Your assumptions are correct.

    A question I came, however, is that I have a data segment that comes across poorly formatted so to speak... where only the lower levels (1-2, etc.) have been filled from the bottom up.

    An example of this data would be:

    1. INSERT INTO employees (employee, level 1, 2, level3, level4, level5, level6) VALUES ('Person7', 'One Team', 'Test', null, null, null, null);

    As you can see that if you rerun the select, the test team is now duplicated, both at the level of the root in the tree as it should.

    You are not sure if the sql can be adjusted to account for this, or if it's too hard?

    It is obviously a question of data and I am trying to solve this separately (extracted data from another system out of my control).

    Thank you!

    Sorry, I'm confused.

    You say that my assumptions were correct.  What includes supported that "If test ' occurs under 'IT' in a row, then the extent of the 'Testing' occurs, it must be under"IT "?  Right after you say that assumptions are correct, you give an example where 'Testing' occurs under 'IT' to a single line, but it is not less 'IT' to another line and where is 'One Team' under 'Testing' in a line, but is 'One Team' under 'Recruitment' in another row.

    When a situation like this occurs, how you cope?  Whenever you have a problem, please post the exact results you want from the given sample data, and an explanation of how you get these results.  If you don't know about what would be the ideal results, or if you are flexible on the exact results, then at least give an example and explain your reasons.

    Maybe you want to change the got_parent of subquery like this:

    WITH unpivoted_data AS

    (

    SELECT *.

    Employees

    UNPIVOT (node_name

    FOR lvl (level1 AS 1

    level2 AS 2

    level3 AS 3

    level4 AS 4

    level5 AS 5

    level6 AS-6

    )

    )

    )

    got_parent AS

    (

    SELECT c.node_name

    MIN (p.node_name) AS a parent

    Of unpivoted_data c

    LEFT OUTER JOIN unpivoted_data p ON p.employee = c.employee

    AND p.lvl = c.lvl + 1

    GROUP BY c.node_name

    )

    SELECT LPAD (' ' ')

    2 * (LEVEL - 1)

    ) || Node_name AS entity

    OF got_parent

    START WITH parent IS NULL

    Parent = node_name PRIOR CONNECTION

    ;

    In this way, if 'Test' is current 'IT' in one line, but not under what in another line, whether under would consider the 'IT' request and not to be a root.  If 'One Team' sudden 'Testing' in a line, but under "Recruitment" in another line, it will be (arbitrarily) consider it under "recruitment".

  • Catalogue again pass PC but moved with the tree files metadata and tag

    I'll start at the beginning. Years ago I had PS elements 4 original and upgraded to PSE11 on the same computer and no problem. . at some point, we moved the files from a PC to a new PC. We knew on the displacement of PES in the catalogue and transfer of files. I guess I have relabelled and organized all the photos and was happy for years.

    Last month my husband used the utility PC mover 'link turn' PES 11 to a new PC by moving all the files. I then found the problem, because all my photos had no information and no tag and no tree tag on the screen.  As a precaution, I saved the metadata to all media and created a tree of xml on the old PC before tags it back up again. We were going to do the process of back-up/restore to the new PC, but when my husband was struggling to install Adobe PES 11 on the new PC he transferred somehow all my photos (12,000) and there they were with labels and information and all organized under their respective keywords.

    The problem is PSE11 created a new file (Bethpictures) with all the photos inside.

    Now it seems that we SO 3 separate files with these same pictures 12 000 each. I see all these folders on the left side of the page of the Organizer.

    (1) the original file from Windows

    (2) the old file from PC-bethalbums

    (3) new file of PC-bethpictures

    and XML file - tree of the tag

    so is it possible to remove redundancies and the tag tree file without any screwing or should I delete it all and make the catalog upward and restoration of the process. Can we put the Bethpicture file under bethalbums and remove duplicates? Or get rid of bethalbums (from old PC) and only has Beth photos (new files created by PSE)? Can I delete this file tree of xml tag or ultimately the removal of the tree of the tag on my page of Organizer PSE?

    Should I back up catalog now on the new PC? And then when I get a new PC in the future I can use the backup/restore process or one should always save metadata to file?

    OR should I leave him alone?

    If I take a chance - I have the following questions about the process in two steps:

    Is there a video for me to watch on how to do this?

    some issues are still confused.

    1. on the new should PC-before you begin the process I install PES 11?

    1 a - should there be pictures on the new Windows PC at all? Or get everything restored with AdobePSE11?

    2 - when the backup catalog on CD it will prompt me when another CD is required to be inserted if several CD is necessary?

    Catalogue food 3 when to new PC is there an order to put in the CD?

    Sorry for the delay in responding to...

    beth1017 wrote:

    Now it seems that we SO 3 separate files with these same pictures 12 000 each. I see all these folders on the left side of the page of the Organizer.

    (1) the original file from Windows

    (2) the old file from PC-bethalbums

    (3) new file of PC-bethpictures

    and XML file - tree of the tag

    so is it possible to remove redundancies and the tag tree file without any screwing or should I delete it all and make the Catalog backup & restore process. Can we put the Bethpicture file under bethalbums and remove duplicates? Or get rid of bethalbums (from old PC) and only has Beth photos (new files created by PSE)?

    You have layoffs after several restorations.

    Before you delete it, you should check which of these 'restorations' are the best.

    Each restoration produced a copy of your image tree and a catalog folder.

    When you open the organizer with one of the catalogues referring to these various restorations, you can consult:

    -where the pictures are stored (in the information on the right panel)

    -where the catalog folder is stored: Help menu > system information.

    If you are satisfied with a given restore session, at the locations above should not be deleted, the others can be deleted completely from the Explorer or Finder.

    Your catalog is probably not in the default location on C:, it may be in a different location. You can use Catalog Manager to move the catalog to the location by default if it is not already there.

    Should I back up catalog now on the new PC? And then when I get a new PC in the future I can use the backup/restore process or one should always save metadata to file?

    OR should I leave him alone?

    It would be a good thing. Registration of metadata to the files is a good and redundant way to be sure, but a healthy backup is sufficient.

    1. on the new should PC-before you begin the process I install PES 11?

    Yes

    1 a - should there be pictures on the new Windows PC at all? Or get everything restored with AdobePSE11?

    No, everything is restored, firstly the photo files, then the catalog. If so, you will need to convert a catalog from an older version;

  • Possibility to hide nodes in the tree?

    Hi all

    I have reviewed the documentation, used Google and had a search in this space, but I can't find anything relevant...

    We have a number of people who are accustomed to using SQL * Plus for Windows (Windows-specific SQL * more client that has been deleted, I believe in GR 11, 1 material) to do their work (mainly support), and there are a few things that don't miss if force us to use 'classic' SQL * more in one window BACK. SQL Developer is a replacement of logic, but one of the questions a team member has raised is that same SQL Dev gives you all the permissions that you wouldn't in SQL * Plus, it has make it very easy to, for example, expand the 'Packages' in the tree and watch and potentially "inadvertently" to make a change to the code.

    Is it possible to hide certain nodes in the tree? Yes, I know that we can appropriate Oracle security to user to configure users such that they do not have permission on the particular objects, but I'm looking for something 'quick and dirty' at the moment. No real security, but something that makes it less likely that someone will make an involuntary change.

    Kind regards

    John

    Hi John,.

    You can "hide" the nodes using the preferences: filter database browser. It works at the level of the types of database objects. This is the level that you want to say or you want to hide from the nodes in a level of detail more?

    Best regards

    Joop

  • Problems with scripted patterns.  In the drop-down list, the trees do not appear and the box does not extend on the low side.

    I run Photoshop cc 2015, fully updated on a PC under windows 7

    Hi disable Question,

    The location of the tree models was changed to Filters > make > trees in Photoshop.

    Let us know if it helps.

    Concerning

    Sarika

  • How to get the tree pane in DW CC2015

    First of all, I feel like a fool asking but here goes.

    Some of the tutorials show an option where there are three components.  Upper left corner - Code, upper right corner - view CSS, low - mode Design.

    I ask just because adding, the designer of the CSS is great, but the three could help me work faster with the three components.

    The combo would be great, but I can't seem to get a view HTML, CSS and view Live or at the same time.  Is there a way to do it?

    Sorry for the question but I have a project that would be nice to have just for fun.

    TIA.

    See Customizing the workspace.

    Using Dreamweaver | Workspace and workflow in Dreamweaver

    In the article above, shown working space seems to be checked out to the workspace.  Excerpt from view on the left. Live view on the right and Code mode on the bottom (split with Live View mode).

    Associated files (external files linked to the document) are in the tabs at the top.   You can click on the tabs for faster access to editing code (CSS or JavaScript) while remaining in the same document. When you need to go back to the HTML page, click on the Source Code tab.

    In 2015 CC see DOM Panel. What is the tree you're looking for?

    Using Dreamweaver | DOM Panel

    Nancy O.

  • The user privileges for the recovery of the object in the tree

    Hello

    What privileges etc. is an Oracle user account must be able to load Tables, views etc. in the connections tree?

    I have an admin user account that load all objects and a read-only user account that cannot do everything.

    I prefer use the read-only account for questioning on the day the day, etc., but still want to be able to load objects in the tree.

    See you soon
    Bottom Groeneveld
    Reference Design

    >
    What privileges etc. is an Oracle user account must be able to load Tables, views etc. in the connections tree?

    I have an admin user account that load all objects and a read-only user account that cannot do everything.

    I prefer use the read-only account for questioning on the day the day, etc., but still want to be able to load objects in the tree.
    >
    You didn't say what the point was to see things that you can't do something with but try this

    create user read_only_user identified by read_only_user
    
    grant create session to read_only_user
    
    grant select any dictionary to read_only_user
    

    Then use the "Other users" of the tree to examine objects

    That's all you need in 11g.

  • How to get the value of the tree node without reloading the Page. !

    Hello
    I worked with apex 4.2 and I've created trees and as a table to retrieve the date according to the value of the tree node select the code tree something like that

    {
    Select case when connect_by_isleaf = 1 then 0
    When level = 1 then 1
    of another-1
    end the status,
    level,
    'ENAME' as the title,
    NULL as an icon,
    'EMPNO' as value,
    NULL as ToolTip,
    ' f ? p = 36648:34:5234984107903:P40_SELECTED_NODE :'|| EmpNo as link
    "Dept". "" EMP ".
    Start by "MGR" is nothing
    connect prior "EMPNO" = "MGR".
    siblings arrested by 'ENAME '.
    }
    and I put the Page selected node element: P40_SELECTED_NODE. the tree worked well and recover the data in tabular form according to the value of tree node

    My Question:
    1. I want to recover the data without submitting the page where whenever I select the value of the tree make page reload to update the tabular presentation with the new value, there is a way to convey the value of the tree node to point P40_SELECTED_NODE and in the form of refreshment without page reload.

    2-i want when selected in the page tree run process according to the value of the on-set tree node to create dynamic action with (jquery selector: div.tree li > a) but the value of the incorrect node.

    Concerning
    Ahmed;

    Take a look at my sample tree application.
    When you select a node, a details report is updated. That should help you implement for your situation.
    However, one thing to note is the link on each node that you have. Click on a node to redirect to the same page and set the value of P40_SELECTED_NODE. You can keep the element, but the link should go, as it's him "reload" the page whenever you click on a node. Implementation of the action of "onselect" tree and setting the page element to the value of the node that will be in place. Be sure to add the page element in the elements present in the form of tables.
    The reason why your selector didn't return the correct value is that you have a click event bound to the anchor tag in each element of the list. The anchor tag does not hold the real value (usually and id), but holds that the display value. The items list item containing the real value in their attribute "id". Therefore, to get this value you should always inspect the first parent of the clicked anchor tag. (which is another way to solve it, of course)

  • The ADF tree fades after adding a button after the tag from the tree of the ADF

    I have a tree ADF that will have a few Groups (parent) and issues (child), it displays the content properly, now I have to add a button at the end of the page, so when I added a button on the page is shrunk and I see two bars vertical and horizontal scrolling for the part Questions and groups. but I want the content to be displayed correctly, and at the end the button should available.

    I tried width ADF Stretch and addition of the tree and the key to all the different types of components, but they did not work.

    Can you please suggest me a way to do this?

    The jsp page looks like this:

    < af:form >
    < af:tree - >
    < f: facet name = "nodeStamp" >

    < af:outputText value = "#{node." GrpDesc}"id ="ot1">

    < af:outputText value = "#{node." QstnDesc}"id ="ot2">


    <!- and I have a few components of selectOneRadio here, which will be displayed for each question >

    < / af:tree >

    <! Here, I added a button and I have actions defined for it >

    < text af:commandButton = "save and continue".
    ID = "cb2" / >

    < / af:form >






    Thank you
    Jean Lou

    Published by: user12217808 on April 27, 2012 04:55

    Before adding a status bar button, you will need to place a toolbar item.

    PanelCollection is a naming container. If you try to access your tree by ID, you need to add ID of panelCollection and: entry. As "tree1"-> "pc1:tree1".
    I think that panelCollection itself cant' break the queried data.

  • Operations on the nodes of the tree

    Hi everyone, it's me again, with another question =)

    I need to be able to rename any node under a specific node in a hierarchy. Take this table and the following data samples.
    CREATE TABLE organisations
    (
      organ_id NUMBER(10) PRIMARY KEY, 
      parent_id NUMBER(10), 
      NAME VARCHAR2(255), 
      CONSTRAINT fk_org_to_parent_org 
         FOREIGN KEY(parent_id) REFERENCES organisations(organ_id)
    );
    
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (1,null,'Organisation 1');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (2,null,'Organisation 2');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (21,2,'Organisation 21');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (22,2,'Organisation 22');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (221,22,'Organisation 221');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (2211,221,'Organisation 2211');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (3,null,'Organisation 3');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (31,3,'Organisation 31');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (311,31,'Organisation 311');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (3111,311,'Organisation 3111');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (32,3,'Organisation 32');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (321,32,'Organisatin 321');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (3211,321,'Organisation 3211');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (3212,321,'Organisation 3212');
    Insert into ORGANISATIONS (ORGAN_ID,PARENT_ID,NAME) values (313212,3212,'Organisation with an id containing 31.');
    I would rename the tree nodes. For example, for example add the '-renamed "to all nodes under the node with the id of the organ = 31?

    I tried the following, but it is not good, because whenever I have another ID containing the number 31, I have an erroneous result.
    SELECT organ_id, lpad(' ', LEVEL * 2) || name, 
           -- sys_connect_by_path(organ_id, ','), 
            case when instr( sys_connect_by_path(organ_id, ','), '31') > 0 then 
               name || '- renamed' 
               else 
               name
            end
      FROM organisations
     START WITH parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    The following query performs the work:
    select organ_id, lpad(' ', level * 2) || name, 
           -- sys_connect_by_path(organ_id, ','), 
            case when organ_id IN (SELECT organ_id 
                                     from organisations 
                                    start with organ_id = 31
                                  CONNECT BY prior organ_id =  parent_id) then 
                  name || '- renamed' 
               else 
               name
            end
      from organisations
     start with parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    I wanted to know if it was possible without selecting sub?

    Thank you

    Hello

    user13117585 wrote:
    ... I tried the following, but it is not good, because whenever I have another ID containing the number 31, I have an erroneous result.

    SELECT organ_id, lpad(' ', LEVEL * 2) || name,
    -- sys_connect_by_path(organ_id, ','),
    case when instr( sys_connect_by_path(organ_id, ','), '31') > 0 then
    name || '- renamed'
    else
    name
    end
    FROM organisations
    START WITH parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    

    It is called the problem of 'Mother in chemotherapy', here's a way to solve it:

    SELECT organ_id, lpad(' ', LEVEL * 2) || name,
           -- sys_connect_by_path(organ_id, ','),
            case when instr( sys_connect_by_path(organ_id, ',') || ',', ',31,') > 0 then
               name || '- renamed'
               else
               name
            end
      FROM organisations
     START WITH parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    

    In other words, don't look for '31', look at ", 31,

    The following query performs the work:

    select organ_id, lpad(' ', level * 2) || name,
    -- sys_connect_by_path(organ_id, ','),
    case when organ_id IN (SELECT organ_id
    from organisations
    start with organ_id = 31
    CONNECT BY prior organ_id =  parent_id) then
    name || '- renamed'
    else
    name
    end
    from organisations
    start with parent_id is null
    CONNECT BY PRIOR organ_id = parent_id;
    

    I wanted to know if it was possible without selecting sub?

    Thank you

  • Update for the tree table problem

    Hello
    I use jdev tudio Edition Version 11.1.1.4.0
    I used the table tree to display my hirarchical data. I'm Bulding object for the purpose of list of floor.
    I created pojo data control. I am trying to drag and drop the level 1 of bulding1 on the bulding2 so it will be added to the bulding2. for that I packed a pojo addfloor() method and I add object floor in to list of floor of the bulding2 object. but the picture of the tree will not show the list update for bulding2.

    My question is how update the table of the tree so that it displays the data added to pojo on UI?

    I created the data from pojo under control
    package model;

    import java.util.ArrayList;
    import java.util.List;
    public class {Enterprise
    private list < Bulding > lstbuldingFor = new ArrayList < Bulding > ();
    Public Enterprise() {}
    Super();
    Bulding objbulding = new Bulding();
    objbulding.setBuldingName ("Bulding1");
    List < floor > lstfloor = new ArrayList < floor > ();
    Floor objfloor is new Floor();.
    objfloor.setFloorname ("Floor1");
    lstfloor. Add (objfloor);
    Floor objfloor2 is new Floor();.
    objfloor2.setFloorname ("Floor2");
    lstfloor. Add (objfloor2);
    objbulding.setLstfloor (lstfloor);
    lstbuldingFor.add (objbulding);
    Bulding objbulding2 = new Bulding();
    objbulding2.setBuldingName ("Bulding2");
    List < floor > lstfloor2 = new ArrayList < floor > ();
    Floor objfloor3 is new Floor();.
    objfloor3.setFloorname ("Floor3");
    lstfloor2. Add (objfloor3);
    Floor objfloor4 is new Floor();.
    objfloor4.setFloorname ("Floor4");
    lstfloor2. Add (objfloor4);
    objbulding2.setLstfloor (lstfloor2);
    lstbuldingFor.add (objbulding2);
    }

    {public adddFloor Sub (floor objfloor, String buldingName)

    System.out.println ("buldingName" + buldingName);
    System.out.println ("floor" + objfloor.getFloorname ());
    for (Bulding objBld:lstbuldingFor) {}

    {if (objBld.getBuldingName (.equalsIgnoreCase (buldingName)))}
    List < floor > objtempflr = new ArrayList < floor > ();
    System.out.println ("had correspondence");
    objtempflr = objBld.getLstfloor ();
    objtempflr. Add (objfloor);
    objBld.setLstfloor (objtempflr);
    break;
    }
    }

    getLstbuldingFor();
    }
    {} public void setLstbuldingFor (list < Bulding > lstbuldingFor)
    this.lstbuldingFor = lstbuldingFor;
    }

    public list < Bulding > getLstbuldingFor() {}
    for (Bulding objbld:lstbuldingFor) {}
    System.out.println ("@" + objbld.getBuldingName ());
    for (floor objflr:objbld.getLstfloor()) {}
    System.out.println ("@" + objflr.getFloorname ());
    }
    }
    Return lstbuldingFor;
    }
    }


    I'll call adddFloor() of the user interface to add the word to the bulding.

    Hello

    Make sure that you re - run the iterator that fills the tree. You make a change in the control of data, which is not immediately reflected in the link layer

    Frank

  • Dynamically change the height of the trees

    Hello, I have a tree in a VBox and I want to enlarge the height of the tree dynamically or set it to 100%. I know that using < mx:Tree height=100%/ > I can put 100%, but I use tree.height. How can I do not to see the line that Flex automatically put in my Vbox?

    If someone tell me how to put 100% when I'm with tree.height = it enough. If anyone has a better solution also say. I listened on Tree.height = Tree.measuredHeightOfItems (en); but I don't know how I can use it.

    I'm not sure I understand your question, but it might be good for you to watch in the .percentHeight instead of .height property.

    http://livedocs.Adobe.com/Flex/3/langref/MX/controls/tree.html#propertySummary

    The percentHeight property is inherited from UIComponent.

    In your project, use it like this:

    yourTreeControl.percentHeight=100;
    

Maybe you are looking for

  • Error 0x0000007E on normal startup, Mup.sys on SafeMode boot blue screen

    original title: BSOD on normal boot, safe mode startup Mup.sys So today, I got 18 updates on my laptop and Microsoft Office. I did both at the same time on both computers and my laptop lights no more.  My office works very well. two of my computers h

  • DVD/cd does not

    Equip the new CD to play does nothing that the reader does not appear in MY COMPUTER How can I solve this problem...

  • Accounts begin to standard user accounts

    Original title: "Administrative issues". I changed the administrator user account on my laptop, but then it changed to the standard user. I also have another account which was a Director. This account has changed to standard user as well. I can't cha

  • Problem of new hardware wizard.

    On the insertion of a new device to the USB port, the pop-up wizard new material appears flashes quickly, trying to recognize the new device but progressing no further and is difficult to cancel.thus no new USB devices cannot be recognized. Old appli

  • Sync blackBerry Smartphones. with Outlook

    Outlook on my desktop pc crashed and I had to re install.  I have saved my pst information and was able to reinstall it on the desktop so I have all my contact information and calendar on the pc, but am now unable to synchronize with your handheld us