Tree component problem

The follow Exception is threw if I put a Tree component in any page in one of my project :
java.net.MalformedURLException: no protocol: /layout/layout.dtd
stack trace:
java.net.MalformedURLException: no protocol: /layout/layout.dtd     
at com.sun.rave.web.ui.renderer.template.xml.XMLLayoutDefinitionManager.getLayoutDefinition(XMLLayoutDefinitionManager.java:194)     at com.sun.rave.web.ui.component.TemplateComponentBase.getLayoutDefinition(TemplateComponentBase.java:150)     at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeBegin(TemplateRenderer.java:73)     at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)     at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)     at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:543)     at org.apache.jsp.index_jsp._jspx_meth_ui_tree_0(index_jsp.java:322)     at org.apache.jsp.index_jsp._jspx_meth_ui_form_0(index_jsp.java:256)     at org.apache.jsp.index_jsp._jspx_meth_ui_body_0(index_jsp.java:231)     at org.apache.jsp.index_jsp._jspx_meth_ui_html_0(index_jsp.java:169)     at org.apache.jsp.index_jsp._jspx_meth_ui_page_0(index_jsp.java:146)     at org.apache.jsp.index_jsp._jspx_meth_f_view_0(index_jsp.java:119)     at org.apache.jsp.index_jsp._jspService(index_jsp.java:89)     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)     at sun.reflect.GeneratedMethodAccessor183.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:585)     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)     at java.security.AccessController.doPrivileged(Native Method)     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)     at java.security.AccessController.doPrivileged(Native Method)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)     at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)     at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)     at java.security.AccessController.doPrivileged(Native Method)     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)     at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:585)     at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)     at java.security.AccessController.doPrivileged(Native Method)     at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)     at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)     at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)     at java.security.AccessController.doPrivileged(Native Method)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)     at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)     at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)     at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)     at java.security.AccessController.doPrivileged(Native Method)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)     at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)     at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)     at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)     at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)     at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
Caused by: java.net.MalformedURLException: no protocol: /layout/layout.dtd     
at java.net.URL.<init>(URL.java:567)     at java.net.URL.<init>(URL.java:464)     at java.net.URL.<init>(URL.java:413)     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:968)     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:905)     at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:872)     at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:282)     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1021)     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)     at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)     at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)     at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:123)     at com.sun.rave.web.ui.renderer.template.xml.XMLLayoutDefinitionReader.read(XMLLayoutDefinitionReader.java:146)     at com.sun.rave.web.ui.renderer.template.xml.XMLLayoutDefinitionManager.getLayoutDefinition(XMLLayoutDefinitionManager.java:190)     ... 82 more
Message was edited by:
hugebrush
Message was edited by:
hugebrush

hello
you wrote:
>>Problem above just occurs when the application runing in bundled Sun Application Server PE 8.2 ...
How solve this problem with SAS PE8.2
I tested my app (with tree component) in Tomcat, the app not functioned normally.
I don't know, how solve this problem.
I think, it's not correctly to edit the webui.jar file.
See
http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=98154
Thank you.

Similar Messages

  • Tree component problem plz help me

    Hi all,
    tree component is working perfectly. But according to my requirement i need to sort the date in tree.
    Iam trying that since 2 days but not able to find any solution.
    can any one help me plz.
    Thanks in advance.

    Check this thread:
    ADF Sortable TreeTable
    This would provide the required inputs for sorting the tree.
    Thanks,
    Navaneeth

  • Displaying more than one display attribute in a tree component problem

    Hi,
    I have a parent table and child table, I want to display a parent table's display attribute and below that i want to display child tables two display attributes (while defining the rule for a tree compoment).
    What i'm getting is :
    I can able to display more than one "display attributes" for my parent table, but when i'm trying to implement that for my child table under my parent table. I am only geting the blank folder structure without names.
    For example:
    Parent table: Deparetment(id, name)
    child table: Employee(id, firstName, lastName)
    What i want is:
    In a Tree:-
    (Department name): software below that i want display both (firstName and LastName) stephen Fleming
    for that employee.

    Hi,
    do you use ADF ? If yes, have a look at "master table with inline detail" option when dragging the master View
    Frank

  • Tree component display problem when text too long???

    hi all
    whenever i use a tree component to display some sort of text, i run into problems when the width of the text being display for a node is larger than the width of the tree component.
    Given: Tree tree1 with Node node1 and Child Node child1
    When the text of either node1 or child1 is longer than the width of tree1, the text is displayed on its own single line UNDERNEATH the node images. this makes the text look like it does not belong to the group of children of a given node.
    is there anyway to add maybe a text area or some sort of scrolling region to allow for any length of text for any node??
    thanks everyone!

    Yes, you can change the size of the tree node text field. Please see the "Tree Node Component Properties Window" section in the Help Contents within the IDE. Look at the info under the "Appearance" section.

  • Label display issue in Tree component when it is having vertical scrollbar

    I am using tree component as dropdown factory for combo box. When i open dropdown, it doesn't have vertical scrollbar and all the root nodes are getting displayed correctly(in closed mode). Now if i try to open any node, i am getting vertical scrollbar as the child nodes are more. Now the problem is if scroll down, some of the nodes(labels) are not getting displayed but i am able to see the icon. If i keep on scrolling bottom to top and top to bottom, some of the nodes are showing labels and some are not(It is inconsistant).
    I have not used any custom item renderer for tree control. I used my custom dataDescriptor which i have implemented from ITreeDataDescriptor. Also I tried extending DefalutDataDescriptor, but no luck.

    Does it work if the tree is not in a combobox?

  • Questions about AS2 Tree Component (Flash CS3)

    I have Flash application with a Tree component on the Stage. I'm using an XML file to create the structure of the Tree component.
    Each entry on my XML has the attributes id, label, heading, desc, and icon.
    My problem is that I can't seem to be able to set the Tree to default with the first node open.
    My code is:
    var xmlTreeData:XML = new XML();
    xmlTreeData.onLoad = function() {
    mTree.dataProvider = this.firstChild;
    xmlTreeData.ignoreWhite = true;
    xmlTreeData.load("xml/treeValues1.xml");
    mTree.setStyle("fontSize","11");
    mTree.setStyle("selectionColor","0xE0E0E0");
    mTree.setStyle("useRollOver",false);
    mTree.setIsOpen(mTree.getTreeNodeAt(0), true);
    My tree populates fine, and the handler I retrieve whatever item is clicked works great. However, the tree refuses to default to having that first node open.
    I'm also interested in placing custom icons into certain nodes via the icon attribute I've set in the XML, but that will have to come later I guess.

    I've never used the Tree component, so I'm just guessing here....
    There is a slight delay before the xml file loads and your tree has its data provider.
    Perhaps during that time there is no node at mTree.getTreeNodeAt(0) to open? Try adding this just before the last line of your code:
    trace("the node is: "+mTree.getTreeNodeAt(0));
    What do you get?
    You might need to move that code inside the xml's load event handler.
    Another thing is that the Flash components tend to work on an invalidate-then-wait-one-frame-to-redraw kind of model. So it is possible you will need to wait one frame after the xml has loaded and then tell it to open that node.
    The doLater method might help with that.
    var home:MovieClip=this;
    var xmlTreeData:XML = new XML();
    xmlTreeData.onLoad = function() {
    mTree.dataProvider = this.firstChild;
    mTree.doLater(home,"delay");
    xmlTreeData.ignoreWhite = true;
    xmlTreeData.load("xml/treeValues1.xml");
    mTree.setStyle("fontSize","11");
    mTree.setStyle("selectionColor","0xE0E0E0");
    mTree.setStyle("useRollOver",false);
    function delay(){ 

  • Ext. data source and Tree component

    Im using tree component and XMLConnector here.
    as far as i can see results in my tree (when testing my
    movie) it ouputs data thats loaded fom ext. XML file.
    But the problem is that it publishes [type Function] in the
    tree.
    no actual xml nodes are visible, just bunch of [type
    Function]
    ive also searched for info / tutorial how to publish actual
    xml data in the tree component but without any luck.
    So what should i do and how ?

    Solved
    xml tags needed just a label with attributes

  • Tree Component and as3

    Hello ..
    my problem is tree component and AS3 , before we hade such
    easy time with tree component in as2 but now i founded that we cant
    talk directly to tree component and we have to use API and XML ,
    well i never liked XML and before i worked with tree component
    directly and no problem but now , Flex force me to work with XML or
    API(well I don’t know what dose it mean ) and I was tiring to
    find any way to get directly to tree component in Flex2 and no
    result … so my question , do I have use XML ? Is there any
    another way to get to Tree Component ? I was looking in Flex help ,
    and I find the help content is really bad . pleas help , I get
    crazy about this problem …….
    BWY this form work terrible on my PC ….. anyone have
    same problem ?

    Use xml. Resistance is futile.
    Tracy

  • Tree Component ... getting crazy !

    So tree component is terrible , every thing is gone , trying
    all day to get directly to tree component and no result ,and there
    is no basic explanation and no examples , i tried to search in Flex
    Help Content , but I get more Cold Fusion tree help than Flex tree
    .. spend 800 dollar for flex and get CFHelp , I don’t think
    is good idea , so pleas help me , how can i add simple tree node
    with out XML , I hate XML , and i know some how we can work with
    Tree component directly though ITreeDataDescriptor , but how ..?
    In As2 it was simple and easy, now how to do this I
    don’t know and I am not only one!
    I am not a specialist in Action Script but in AS2 I never had
    a problem, and if I did, we have a lot of documentation about AS2
    and examples, but Flex trying to sell a product that not supports
    any examples and documentation... Write in search content
    ‘tree’ and you get cf tree examples and structures, but
    I don’t need cftree information, I need flex tree exemplas,
    but there is few... Working with flex all week I get more tired and
    depressed.. Any thing I trying to do is going wrong, AS2 is not
    there any more and I understand that I have to learn AS3 from
    beginning to understand it... I hate it!!!!!!
    Flex - Rich Application for users and Rich work for
    Developers!

    Eddy, chill out man.
    How can you say, "I hate XML," and really even try to learn
    Flex? Flex is based on XML, MXML is XML, any services you call
    (HTTP or WEB) are XML. I think it's time for change and time you
    picked up XML. It's actually very, very simple.
    You don't have to learn AS3 from the ground up. There are a
    lot of similarities between AS2 and AS3.
    You just need to write a simple function which goes through
    the array and converts it to xml. While I could program that for
    you, I think you could probably figure it out yourself.
    But why even bother? Using an XMLList is just as easy.
    Behold:
    <mx:XMLList id="treeData">
    <node label="Mail Box">
    <node label="Inbox">
    <node label="Marketing"/>
    <node label="Product Management"/>
    <node label="Personal"/>
    </node>
    <node label="Outbox">
    <node label="Professional"/>
    <node label="Personal"/>
    </node>
    <node label="Spam"/>
    <node label="Sent"/>
    </node>
    </mx:XMLList>
    XML is composed of parents and children. You can do much more
    with XML than you can with plain old arrays, plus, when's the last
    time you saw a 10-tiered multi-dimensional array? It's not possible
    to do something like that without XML.
    Over and out - Taka.

  • Tree component bug (?) and some questions

    Hi! I have some problems and questions about tree component.
    Problems:
    1. I have an expanded tree with ~300 items. Each item label
    displayed in 2-3 strings. After QUICK tree scrolling using mouse
    wheel (I make 3-5 scrolls) for most of items displayed only last
    string and one empty string :(
    Bug of tree renderer? Is it fixable?
    Questions:
    1. Can I have font color X for tree item 1 and font color Y
    for tree item 2?
    2. I have a tree with ~300 items. Expand/Collapse tree
    operations takes 5 to 10 seconds on Core2Duo. Is it possible to
    speed up this operations?
    Code:

    Hello.
    About problem 1.
    I faced this problem several times, cann't understand the
    problem. May be it's a bug.
    Questions.
    1. Of course you can. Write itemRenderer for this.
    2. Tree has effects for expanding and collapse events, you
    can reduce times for them.

  • Tree component in Flex 4

    Are there any known issues with the <mx:Tree component in Flex 4?
    We have upgraded from Flex 3 builder to Flex 4 builder. Everything works except any where we have used a tree component the data is no longer showing. Has there been a change in how to populate the Tree component? We populate the tree by setting the dataProvider with an ArrayCollection.

    @travr,
    I'm not aware of any big known issues in mx:Tree between Flex 3.x and Flex 4.x. What problems are you seeing, and can you reproduce the issue with a simple test case (if so, please post the simple test case here and we can take a look).
    This works in Flex 3.5:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:ApplicationControlBar dock="true">
            <mx:Button id="sdkVer" initialize="sdkVer.label = mx_internal::VERSION;" click="System.setClipboard(sdkVer.label);" />
        </mx:ApplicationControlBar>
        <mx:Tree id="tr" labelField="name" width="200" x="20" y="20">
            <mx:dataProvider>
                <mx:ArrayCollection>
                    <mx:Object name="1. One">
                        <mx:children>
                            <mx:Object name="1.1 One" />
                            <mx:Object name="1.2 Two" />
                        </mx:children>
                    </mx:Object>
                    <mx:Object name="2. Two">
                        <mx:children>
                            <mx:Object name="2.1 One" />
                        </mx:children>
                    </mx:Object>
                </mx:ArrayCollection>
            </mx:dataProvider>
        </mx:Tree>
    </mx:Application>
    And this seems to work in Flex 4.5/Hero beta:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
        <s:controlBarContent>
            <s:Button id="sdkVer" initialize="sdkVer.label = mx_internal::VERSION;" click="System.setClipboard(sdkVer.label);" />
        </s:controlBarContent>
        <mx:Tree id="tr" labelField="name" width="200" x="20" y="20">
            <mx:dataProvider>
                <s:ArrayCollection>
                    <fx:Object name="1. One">
                        <fx:children>
                            <fx:Object name="1.1 One" />
                            <fx:Object name="1.2 Two" />
                        </fx:children>
                    </fx:Object>
                    <fx:Object name="2. Two">
                        <fx:children>
                            <fx:Object name="2.1 One" />
                        </fx:children>
                    </fx:Object>
                </s:ArrayCollection>
            </mx:dataProvider>
        </mx:Tree>
    </s:Application>
    Peter

  • Tree component not working in a mask

    I have been having problems displaying the labels on tree
    component , I have now found the cause it was in a mask.
    Once I moved it out of the mask it worked fine!!. But the
    thing is now how do I get it to work in a mask????
    You can test this for yourself by opening the
    gallery_tree.fla in \Flash 8\Samples and adding a layer making it a
    mask (and making a box around the whole thing).
    I need to use the tree in a mask as it is part of a bigger
    picture.
    Thanks for the help
    BP

    I'm not sure if that will help, but you can try to set the
    mak at runtime (MovieClip.setMask()) - I'm not even sure if that is
    "leagal" with components, but setting a (rectangular) mask wia
    actionscript is the only way to mask device text, and that should
    be part of your component.
    Watch out rot problems of depths-order though, as depth
    management with component (v2) is different from "normal" depth
    management.

  • Tree component in Sun Studio Creator

    Hello.
    I have a problem with Tree component in Sun Java Studio Creator when i use it.
    Error:
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.net.MalformedURLException: no protocol: /layout/layout.dtd
    Please, tell me, how to use this component?
    Thank you.

    java.net.MalformedURLException: no protocol:
    /layout/layout.dtdDid you ever bother to read the error message? It tells you what's wrong, and it tells you how to fix it.
    "/layout/layout.dtd" is not a valid URL. Fix that.

  • Tree component bug

    We use a tree component on client side with several tree nodes.
    We have a tree action for them.
    It usually works fine, but randomly getCookieSelectedTreeNode() method returns null (empty string). Sometimes no error after 10 clicks, but sometimes it returns null after a few click.
    If somebody have a solution for this, please let us know.

    I have a solution for my problem now. It turns out that my issue wasn't quite the same as the original problem cited by K_Gabor.
    Our issue was machine specific and was down to the fact that getCookieSelectedTreeNode() will return null if cookies are blocked by the browser. Not really surprising given the name of the method, but it is something that should be kept in mind when using this method.
    Given that cookies are frequently blocked, is there an alternative method for getting the selected node that doesn't rely on cookies?
    Cheers,
    Chris.

  • Tree component customization

    Hi all,
    I'm new to flex and having a hard time figuring out the best way to approach the following problem (in Flex context, _not_ AIR):
    I need a tree representation of some hierarchical/composite data structures as depicted below (for those familiar with XMLSpy, the diagram is similar to the XSD tree structure diagrams):                                                                                     |-------------|
                                                                                         | Child       |
                                                                                         | child info  |
                                          |------------------|                           |-------------|
                                       |--| Child            |--------- Choice (x) ------|
                                       |  | Child Info      (x)                          |-------------|
                                       |  --------------------                           | Child       |
                                       |                                                 | child info  |
    ---------------                    |  |------------------|                           |-------------|
    | Parent      |------ Sequence (x)-|--| Child            |
    | Parent Info (x)                  |   | Child Info     (x)
    ---------------                    |   --------------------
                                       |
                                       |  |------------------|
                                       |--| Child            |
                                          | Child Info      (x)
    The (x) in the picture are the collapse/expand buttons.
    What would be the best way to approach this project ?
    - Is it a customization of the standard Tree component + custom Tree Item Renderer ?
    - The nodes should be expandable/collapsible + selectable (additional information to be displayed on selection of node without expand/collapse effect)
    - For the nodes would it make sense to derive them from the ToggleButton ? (and what would be the most sensefull way of introducing the second line on the button ? Or just building a proper graphical component for it (derived from Group)?
    - What is the most effective way to deal with the balancing of the tree in such a way that subtrees move out of the way/in place on expand resp. collapse of nodes ? (through (H/V)groups ?)
    - What would be the most efficient way to deal with the connectors between nodes ?
    - dataprovider would be an XML structure - what is the best place to put the building algo ? (Every node know how to create itself and the first level children ? Or a tree traverse on the XML structure, building all components in one go ?)
    Any advice/thoughts/references are welcome !
    Thanks in advance,
    Best regards,
    Bart

    Sorry for the "text picture" - if you copy/paste it in word (with courier new font
    ), the picture becomes clear ;-)

Maybe you are looking for

  • Upgrade Failure from apex 3.0 to 3.1 on Oracle 10.2.0.3

    Hi: When I was upgrading apex from 3.0 to 3.1 on Oracle 10.2.0.3, I experienced the error below: I did use the sysdba login when I was doing the upgrade. Thank you for your help! ...create wwv_flow_sw_binds references flows_files.wwv_flow_file_object

  • Find details about users on network

    I've got a wireless network set up at home with WPA encryption. However, recently I've noticed a rogue user - in my Finder's "Shared" sidebar section - called "mlt1ab676", showing up as a PC server. I'm worried that, using some illicit hacking tool,

  • Best Practice - Securing Schema from User Access

    Scenario: User A requires access to schema called BLAH. User A is a developer that built an application using this schema in a separate development environment, although has the same privileges mirrored to production (same roles etc - required for op

  • N95 V12 firmware withdrawn?

    Has V12 firmware been removed from the Nokia update site. Tried updating my N95 this evening and was only offered the same V11 that I already have to reinstall.

  • Changes in depreciation rate

    dear all, once the depreciation rate is changed & we need to execute the depreciation run & also TC-AFAR to recalculate the depreciation..correct me if i am wrong.After this changes in the dep. amount we need to report in our financial statement also