Binding  to Faces Client Component (Tree view)

Hi experts,
I am trying to build a hierarchical tree and display it in a page.
The data I need to display is hierarchical.
/A
/B
/A/1/a
/A/2/k
/B/1
etc....
I need to display the above data in a tree format. I am using Rational Application Developer.
The problem is, I can t figure out in what way I have to store the data in the bean making it available to the page, and in what way I have to bind it to the faces tree - client component.
Please help

Reference your UIData component in the a backing bean.
In the action event handler, for one of the columns,
you can call UIData.getRowData() and it will return the object
of the currently selected row data.

Similar Messages

  • JSF tree view GUI component and tree node actions

    Hi,
    I am new in using JSF and have a problem with my simple test application.
    The application contains a tree view control with one static tree node and a separate text area. Clicking on the tree node shall fill the text area with the string 'hello'. Seems to be very simple, but it doesn't work.
    What did I do?
    First of all I use the Sun Java Studio Creator 2.
    By double clicking on the tree node in the design window of the IDE a method called treeNode1_action() was created. I also added the String text to the session bean. treeNode1_Action() does not more than setting text='hello' ( getSessionBean().setText('hello'); ).
    The jsp file contains the line
    <ui:textArea binding="#{Page1.textArea}" id="textArea" style="height: 192px; left: 360px; top: 48px; position: absolute; width: 456px" text="#{SessionBean1.text}"/>, so the text of the text area is bound to the session property 'text'.
    Running the application and clicking on the tree node does nothing except reloading the page (no 'hello' inside the text area).
    Using the debugger showed me that the bean property text is set correctly to 'hello', also after reloading the page.
    What did I do wrong?
    What do I have to do to display 'hello' in the text area?
    I would be glad for some good advice to solve my problem and looking forward for an answer.
    Regards from germany
    Matthias

    want to remove the green patch from the jsf tree componentas u said ,, it is COMPONENET so this is a pre-made creator component that u cant chnage its attributes ,,
    instead u can extract Theam.jar file and change the icons ,, u i didnt do it before ,, but u may be find what u want there,
    hope this will help
    good luck
    Mohammed

  • Tree View Second level is not displaying bind parameter

    Studio Edition Version 11.1.2.2.0appears this problem is addressed in
    http://dailydevfixes.blogspot.com/2011/07/setting-bind-parameters-on-hierarchy-of.html
    unfortunately I must be missing something.
    as a test using the hr schema
    I was doing a tree view with hire date as the first level then the employee id, last name and first name as the second level.
    I hard coded employee id of 187 on a bean called by a button.
    the first level is updated unfortunately the second level is not (employee id 107 should not show up)
    --1999-02-07
    ----- 187 Cabrio Anthony
    ----- 107 Lorentz Dianahere is my bean the first level is updated but the second level is not not quite sure what I am missing
        public void ButtonClick(ActionEvent actionEvent) {
            BindingContext bindingctx = BindingContext.getCurrent();
            BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
            DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
            DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("ParentVO1Iterator");
            ViewObject Parentvo =dciter.getViewObject();
            Parentvo.setNamedWhereClauseParam("empid",187);
            Parentvo.executeQuery();
            AttributeDef attrDef = Parentvo.findAttributeDef("ChildVO");
            ViewObject childvo = attrDef.getAccessorVO(Parentvo);
            childvo.setNamedWhereClauseParam("empid",187);
            childvo.executeQuery();
            AdfFacesContext adfFCtx = AdfFacesContext.getCurrentInstance();
           adfFCtx.addPartialTarget(treeupdate);
        }here is the query for the parent view object.
    select trunc(hire_date) hire_dt
    from employees
    where :empid is null or employee_id = :empid
    group by trunc(hire_date)here is the query for the child view object
    select trunc(hire_date) hire_dt, employee_id, employee_id||' '||last_name||' '||first_name nm
    from employees
    where :empid is null or employee_id = :empid
    order by trunc(hire_date)here is the view link
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewLink SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewLink
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="ParentToChildViewLink"
      Version="11.1.2.61.83">
      <Properties>
        <SchemaBasedProperties>
          <LABEL
            ResId="model.view.link.ParentToChildViewLink_LABEL"/>
        </SchemaBasedProperties>
      </Properties>
      <ViewLinkDefEnd
        Name="ParentVO"
        Cardinality="1"
        Source="true"
        Owner="model.view.ParentVO">
        <DesignTime>
          <Attr Name="_accessor" Value="true"/>
          <Attr Name="_finderName" Value="ParentVO"/>
          <Attr Name="_isUpdateable" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.view.ParentVO.HireDt"/>
        </AttrArray>
      </ViewLinkDefEnd>
      <ViewLinkDefEnd
        Name="ChildVO"
        Cardinality="-1"
        Owner="model.view.ChildVO">
        <DesignTime>
          <Attr Name="_finderName" Value="ChildVO"/>
          <Attr Name="_isUpdateable" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.view.ChildVO.HireDt"/>
        </AttrArray>
      </ViewLinkDefEnd>
      <ResourceBundle>
        <PropertiesBundle
          PropertiesFile="model.ModelBundle"/>
      </ResourceBundle>
    </ViewLink>and here is the tree
        <af:tree value="#{bindings.ParentVO1.treeModel}" var="node"
                                 selectionListener="#{bindings.ParentVO1.treeModel.makeCurrent}" rowSelection="single"
                                 id="t1" binding="#{myBean.treeupdate}">
                            <f:facet name="nodeStamp">
                                <af:outputText value="#{node}" id="ot1"/>
                            </f:facet>
                        </af:tree>

    thanks I am working through that example unfortunately I ran into a problem
    previously (in my real application) I was using bind parameters and my query had the following where clause.
    ( I did this to turn a comma separated list into an in statement)
      WHERE    :Bind_Batch_NM_Comma_Sep_List IS NULL
             OR batch_nm IN
                   (    SELECT REGEXP_SUBSTR (:Bind_Batch_NM_Comma_Sep_List,
                                              '[^,]+',
                                              1,
                                              LEVEL)
                                  batch_nm
                          FROM DUAL
                    CONNECT BY LEVEL <=
                                    REGEXP_COUNT (:Bind_Batch_NM_Comma_Sep_List,
                                  + 1)however in the example presented you are to create view criteria and there is a panel on the right called view object where clause but I can not figure out how to type into it directly
    and I find it unlikely I can recreate this where clause using the add item button.
    is there a way to manually type the where clause in the view object where clause box?

  • Help! can i get a tree view component used in jsp ,urgent!!

    hello all
    can i get a tree view component can be used in jsp ,it gets children data from database only when user expand one node, and it must be able to add nodes or removes node by user,so i can do some post handler in my database.
    regards!

    Where did you get this tree view component?

  • Web Page Tree View Not Working for One Client

    Hello all,
    I have one client who is suddenly having problems with the "Tree View" in Web Pages. He clicks it and nothing happens, so he can only view pages by List View. Also, when he clicks the pagination at the bottom of List View, nothing happens. However, he can still use the Next/Previous and First Page/Last Page arrows - they work, but it takes forever to find a page since it's a very large site.
    He logged in on a co-worker's computer, and did not have the problem. He's running Windows XP, and it happens in both FF & Chrome. He updated flash and java, and disabled all his extensions and it still caused the problem.
    Has anyone else seen this? I'm at a loss as to what to do. He's the only one within the organization that is having this problem, and of course, he's the one who uses ABC the most. He's super frustrated.
    Thanks!

    Okay, it turns out the problem is when the client is logged in in French. When he switches his account to English, the problem goes away. When he logs in on his computer with a co-workers username, it works in English, but not in French. When he logs in at the co-worker's computer with either his or her username, same thing - it works in English, but not in French.
    So, there is something wrong with French UI.

  • How to create a view(Component Tree)?

    After I look at the source codes of the RestoreViewPhase.java and ViewHandler,I find that "createView" only to get an instance of the UIViewRoot class,and not add any children at all.So I want to know how JSF can get the component Tree from the "createView" method?

    In fact if the first time a page is accessed, the component tree is only complete AFTER the render response. I must agree that this is lousy. In fact Smile supports a non-JSP model where the component tree is constructed at createView() time. Which allows you to do some initialisation for your new page/screen.
    In the JSP model you have to go through managed beans or setup context upfront, which you don't want because you want the init code for a screen be coded together with that screen.
    In fact I'm still looking for a way to stick with the spirit of the specs, but have a common way to have some 'event handler' that allows you to setup some context when a new screen is accessed.
    Dimitry D'hondt. (http://smile.sourceforge.net)

  • Validation error corrupts component tree?

    I've got a strange problem trying to use validation on input fields.
    The basic setup is as follows:
    I've got a page divided into two parts with separate h:form tags, the one holding a dataTable with some elements and the other showing the element details in inputFields once an item is selected in the dataTable via a commandLink. A commandButton on the detail side allows you to update the values of the selected item which is being reflected in the dataTable on reload. So far so good.
    Here comes the strange part:
    All the inputFields are marked required. Now once you leave a field empty and try to submit the form, you get a validation error as expected. BUT if you now select a different element from the dataTable, ONLY the field whose validation formerly failed is being updated, the other fields still show the same value as before. The backing bean method that belongs to the commandLink is being executed, and the underlying data object of the input fields is being set properly, only the values in the component tree aren't updated. This behaviour persists until you enter a valid value in the formerly invalid input field and submit. Debugging shows that as long as at least one field has had validation errors, only the getter of these backing beans properties are being invoked during render response phase, as opposed to the "normal" case where the getters of all the backing beans properties are being called.
    For some reason, the render response phase seems to ignore the other components in the component tree when there was some validation error on one or more fields.
    Another interesting observation:
    This is the behaviour if I don't specify an action attribute in the commandLink selecting an element from the dataTable, as I want to return to the same page again. But if I define a navigation case that brings me to the same page and put that into the action attribute, the problem doesn't occur. Unfortunately this is no option for me, as I'm aiming to do all this with ajax.
    I've created a simple example so you can try out yourself:
    test.jsp:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <html>
    <head>
    <title>validator test</title>
    </head>
    <body>
    <f:view>
         <h:form id="form1">
              <h:dataTable id="table" value="#{bean.datas}" var="data" binding="#{bean.table}" border="1">
                   <h:column>
                        <h:commandLink actionListener="#{bean.selectData}" value="#{data.string1}" />
                   </h:column>
                   <h:column>
                        <h:outputText value="#{data.string2}" />
                   </h:column>
              </h:dataTable>
              </h:form>
         <hr />
         <h:form id="form2">
              <h:inputText value="#{bean.data.string1}" id="field1" required="true" />
              <h:inputText value="#{bean.data.string2}" id="field2" required="true"/>
              <h:commandButton value="submit" />
         </h:form>
    </f:view>
    </body>
    </html>Bean.java:
    needs to be defined in faces-config.xml as bean "bean" with session scope
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.component.html.HtmlDataTable;
    import javax.faces.event.ActionEvent;
    public class Bean {
         private Data data;
         private List<Data> datas;
         private HtmlDataTable table;
         public Bean() {
              datas = new ArrayList<Data>();
              datas.add(new Data("data1value1","data1value2"));
              datas.add(new Data("data2value1",""));
         public void selectData(ActionEvent event) {
              data = (Data)table.getRowData();
         public List<Data> getDatas() {
              return datas;
         public Data getData() {
              return data;
         public void setData(Data data) {
              this.data = data;
         public HtmlDataTable getTable() {
              return table;
         public void setTable(HtmlDataTable table) {
              this.table = table;
         public class Data {
              private String string1;
              private String string2;
              public Data(String string1, String string2) {
                   this.string1 = string1;
                   this.string2 = string2;
              public String getString1() {
                   return string1;
              public void setString1(String value) {
                   string1 = value;
              public String getString2() {
                   return string2;
              public void setString2(String value) {
                   string2 = value;
    }My system setup:
    WinXP Professional
    JDK 1.6.0-b105
    Tomcat 5.5.20 (also tried 6.0.7)
    JSF RI 1.1.02_b08 (also tried 1.2_04-b10-p01, different but anyway not expected behaviour with MyFaces 1.1.5)
    Thanks for any input,
    Harry.

    Is there noone here who can tell me if this is behavior like specified or if I miss some point?
    A possible solution seems to be telling JSF programmatically to rebuild the view root. Does anyone if this is possible?

  • How to construct the component tree in my custom component?Help!

    Hi, i am writing a custom component like this:
    public class HtmlCategory extends HtmlPanelGrid
         public void processRestoreState(javax.faces.context.FacesContext context,
                java.lang.Object state)
              setColumns(1);
              HtmlCommandLink link=new HtmlCommandLink();
              link.setValue("Let's Bingo");
              MyUtil.setActionListener(context,link,"#{temp.mytest}");
              UIParameter param=new UIParameter();
              param.setName("name");
              param.setValue("Robin!");
              link.getChildren().add(param);
              param.setParent(link);
              getChildren().add(link);
              link.setParent(this);
              super.processRestoreState(context,state);
    }         you see, i want to construct the compont tree at Restore View phase this way,because the structure of the component tree will always be the same, so i don't the user to write extra code.
    But the children of the component are not rendered,the renderer of the HtmlCategory component just extends the HtmlGridRenderer(myfaces) directly,and always calls the "super" methods in the encode methods of the renderer.
    I got a message from the console:
    Wrong columns attribute for PanelGrid id0:id4: -2147483648
    but i have set the columns attribute in the code above, so what's happening? or please give some advice about how to render the component tree by myself in Restore View with the tree constructing code in the custom component class code,just lke the code above.
    Best Regards:)
    Robin

    Well, i don't know if i have got my question clear.
    usually, according to the tags you use in the jsf page, a component tree will be created at the Restore View phase,for example:
    <f:form>
      <h:panelGrid ...........>                         
              <h:dataTable ................>
              </h:dataTable>
       </h:panelGrid>
    </f:form>but because i am writing a component for my web app, all the child components and their attributes are not likely to change. so i want to reduce the tags into one custom tag, and construct the component tree internally by myself.But it is not the case of backing bean.So i wrote the the code in the method:
    public void processRestoreState(javax.faces.context.FacesContext context,java.lang.Object state)as it is shown in my orginal message.But it seems that it is not right way to construct my component tree.So where should i put the code that construct the component tree?Overriding the method :
    public void processRestoreState(javax.faces.context.FacesContext context,java.lang.Object state)is not the right way?
    Best Regards:)
    Robin

  • Bug in tree view of synonyms owned by other user

    Hi,
    I'm connecting into Oracle 10.2.0.3 whith SQL Developer 1.5.3.0.53 and user SYS as SYSDBA. When I browse tree view of synonyms of another user, the synonyms that include database link don't display !!! If I connect whith that user the synonyms are displayed correct.
    Is this a bug ? There are a solution ?
    Thanks !
    About
    Oracle SQL Developer 1.5.0.53
    Versão 1.5.0.53
    Build MAIN-53.38
    Copyright © 2005,2008 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.0.22.49.35
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.53.38
    Component Version
    ==========     ======
    CVS Version     Internal to Oracle SQL Developer (client-only)
    Oracle IDE     1.5.0.53.38
    Plataforma Java(TM)     1.6.0_06
    Versioning Support     1.5.0.53.38

    Hi there,
    while we support dblinks, we dont support following them thru on synonyms or browsing them either. This is a feature right now and you can vote for this as a feature in a later release by submitting a feature request at sqldeveloper.oracle.com

  • JDeveloper 11.1.2.3, ADF Faces: declarative component does not support af:clientListener?

    I am trying to create a declarative component with the following code:
    <?xml version='1.0' encoding='UTF-8'?>
    <af:componentDef xmlns:af="http://xmlns.oracle.com/adf/faces/rich" var="attrs" componentVar="comp" definition="private"
                     xmlns:afc="http://xmlns.oracle.com/adf/faces/rich/component">
        <af:xmlContent>
            <afc:component>
                <afc:display-name>DoubleClickTableDialogClientServerListener</afc:display-name>
                <afc:component-extension>
                    <afc:component-tag-namespace>org.mskcc.crdb.common.declarativecomponent</afc:component-tag-namespace>
                    <afc:component-taglib-uri>http://www.mskcc.org</afc:component-taglib-uri>
                </afc:component-extension>
            </afc:component>
                <af:clientAttribute name="serverListenerType" value="TableDoubleClickEvent"/>
                <af:clientListener method="handleTableDoubleClick" type="dblClick"/>
                <af:serverListener type="TableDoubleClickEvent"
                                   method="#{EditAddDialogTemplateBean.handleTableDoubleClick}"/>
        </af:xmlContent>
    </af:componentDef>
    At runtime I recieve the following error:
    javax.faces.view.facelets.FaceletException: ADF_FACES-60023:Component: DoubleClickTableDialogClientServerListenerComponent[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@7170a7, id=dctdcsl1] does not support client listeners.
      at oracle.adfinternal.view.faces.facelets.rich.BaseClientListenerHandler.apply(BaseClientListenerHandler.java:53)
    This component was intended to be dropped off within an af:table component. I would like to hear suggestions on workarounds, one other way I thought about was to create a code template for the three tags, however, the con to this approach is each developer would need to configure this template within jdeveloper. Ideas are appreciated.
    Also a side question, how can I embed code properly with the new forum? [code] tag does not seem to work now.

    Wes, can't help with the real question, but can tell you how to format code
    Change to the advanced editor (top right over the editor field), then you get more options. The one you are looking for is behind the blue '>>'. Here you select the language you want to insert and you get nice code formatting and color.
    Timo

  • Need to create tree-view page.

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

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

  • [solved] problems w/rich client component demo

    Hello -
    I've been trying to run the rich client component demo as described in http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html
    in TP2 of JDeveloper 11. I've run into a few problems. (I am assuming that the article will work as written in TP2 since the date on the article is September 2007.)
    (minor) The link to the demo under the "Running the Demo from Oracle JDeveloper" section is broken. The link in the section for "Installing the ADF Faces Component Demo on a Standalone OC4J" works.
    Attempt #1: When I create the project from the WAR file and try to run index.jspx, JDev tries to compile the project. It shows the following errors:
        C:\workspace\adffacesdemo\adffacesdemo\public_html\srg\bug6367532.jspx
            Error: Cannot use #{DemoDropHandler.handleFireDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\fileExplorer\navigators.jspx
            Error: Cannot use #{explorer.navigatorManager.foldersNavigator.onTreeDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\fileExplorer\contentViews.jspx
            Error: Cannot use #{explorer.contentViewManager.tableContentView.onTableDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
            Error: Cannot use #{explorer.contentViewManager.listTableContentView.onTableDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\feature\dragAndDrop.jspx
            Error: Cannot use #{demoDropHandler.handleFireDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
            Error: Cannot use #{demoDropHandler.handleDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\explorer\fileExplorerTable.jspx
            Error: Cannot use #{fs.onTableDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\explorer\fileExplorerAccordion.jspx
            Error: Cannot use #{fs.onTreeDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction
        C:\workspace\adffacesdemo\adffacesdemo\public_html\components\panelBox.jspx
            Error: Cannot use #{panelBoxDropHandler.handleComponentMove} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDAction (There are also a few hundred warnings listed below the errors)
    Attempt #2: After deploying to OC4J 11 preview, navigate to Framework Features -> Drag and Drop. The page does not display. The console shows the following error:
    2007-10-02 12:37:20.252 NOTIFICATION  J2EE JSP-0008 Unable to dispatch JSP Page: The following exception occurred:oracle.jsp.parse.JspParseException:
    /feature/dragAndDrop.jspx:
    Line # 56, <af:dropTarget actions="COPY" dropListener="#{demoDropHandler.handleFireDrop}">
    Error: Cannot use #{demoDropHandler.handleFireDrop} to set deferred method in attribute dropListener. Value cannot be converted to return type oracle.adf.view.rich.dnd.DnDActionAre these known problems or am I just doing something wrong?
    Thanks,
    -- Scott
    Message was edited by:
    scott.turnquist

    Nevermind. I thought I had TP2 but I think it was really TP1. Creating (and running) the project from the WAR file works for me now.

  • Component Tree Iteration???

    I have read several posts that some what deal with what I am trying to accomplish. I am trying to iterate through the component tree and set certain attributes on each component based on a user's security. For instance, a user logs in, and only has access to half of the components on a page, I would like to be able to iterate through each component and set the Rendered flag based on that user. However, I know the tree is not built the first time the page is viewed, so my question is.... how do I get around this? I would just add the "rendered=blah blah" to each component in the JSP, but I need to change other attributes on the components dynamically as well, not just the rendered state. Is there any way to tell faces to build the tree from the JSP before the render response phase?

    Bumping this post

  • Display data as a tree view on IE5

    I want to display data which is parsered by .xsql and use .xsl transfrom to HTML as a tree view(using javascript).
    Is there any sample or suggestion will eb grateful.
    Regards,
    Kelly

    Thanks for the backup :-)
    A new version of the Tree Tag will be out some time this summer, by the way. It features:
    1) The possibility to attach an object to a tree node (getObject(), setObject(...)).
    This means you can display more information in the tree than just what is available
    on the tree node itself. The information in this attached object can also be displayed.
    This attached object can for instance be rendered by Struts's <bean:write ...> tags
    2) Client side event listeners.
    A new tag will be added that will only evaluate it's body when a node is expanded, collapsed,
    selected or unselected. This way you can have a small bit of javascript sent along with the tree html to the browser, when a node is expanded/collapsed or selected/unselected, that for instance reloads the page in another frame in the browser
    3) The <tree:tree...> tag will be able to detect selected/unselected nodes by itself, if the select request is sent to the page containing the <tree:tree tag>. In the current version only expands/collapses are detected automatically. This new feature is implemented to support the client side event listeners.
    4) Someone asked for no-arg contructors of the TreeNode for use with reflection. They will be added to.
    A larger, more detailed manual will probably also be available for a small fee, in addition to the free basic user guide and the free web app. example.
    Look out for it ;-)
    Jakob Jenkov
    http://www.jenkov.com

  • Tree view control - populating speed - over 100 nodes

    I have a few questions about a tree view control:
    1. If you put more than approximately 100 nodes in a tree, it populates too slow. There is no change if you try with query or record group. I figured that the populating of the record group makes all problems, but there is no chance to enlarge the array siye of the record group. Developer 6 has some built-ins which can do that, bu after many unsuccesful tries I don't see a solution.
    I tried to make fetches from cursor into a record group (30 nodes on a "page", but it looses a real hierarchy and you should do a lot of programming). If anybody knows how to make the population of the tree faster or have some template / please forward.
    2. After we put the patch 5 of developer6, tree view control is totally unpredictable. Usually its when you programmaticaly try to select a node (ftree.set_tree_selection)...Anybody have the same problems?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Natasa Stojovska ([email protected]):
    I have a few questions about a tree view control:
    1. If you put more than approximately 100 nodes in a tree, it populates too slow. There is no change if you try with query or record group. I figured that the populating of the record group makes all problems, but there is no chance to enlarge the array siye of the record group. Developer 6 has some built-ins which can do that, bu after many unsuccesful tries I don't see a solution.
    I tried to make fetches from cursor into a record group (30 nodes on a "page", but it looses a real hierarchy and you should do a lot of programming). If anybody knows how to make the population of the tree faster or have some template / please forward.
    <HR></BLOCKQUOTE>
    Try taking out the 'start with' and 'connect by' clauses in your select statement if you're using them. However, this will mean that you will have to determine the levels of the tree manually and ensure that the data comes out in the same order each time you execute the select statement.
    null

Maybe you are looking for

  • How to check if Oracle Data Access Components  is installed?

    How to check if  Oracle Data Access Components is installed and version on my computer? Also How to check if Oracle Data Provider is installed and version? TIA Steve42

  • BDC Step by Step Process

    Hi Experts, I'm new to BDC. If you have any material which shows step by step process of BDC with screen shots please forwards to the following mail id... [email protected] Kindly help me!!!! I would be very grateful for your help.. thanks & regards,

  • After lollipop update, native email app and third party email apps cannot connect to email server over wifi, only on 4g

    Updated to lollipop yesterday.  Now I cannot access email server (POP3) on wifi, only over 4G.  This is happening on native email app and third party apps such as K9.  Any help appreciated.

  • Missing Entries in /dev

    Hi, Apologies for the length of this post... Firstly some background... I have a test machine running Solaris 10 (08/07), based on Intel x64 processor, with an nVidia Graphics Card (Quadro FX 330). During recent testing this machine got trashed and n

  • How do I export to flash

    I made a movie in final cut pro and exported it in quicktime. I also wanted a flash version so I opened up quicktime and exported to flash movie. .flv at the end and that will only play with my realone player and not my flash player. Is there another