Af:treetable with af:tableSelectMany

HI
I'm currently using a af:treetable with af:tableSelectMany for select many rows from a tree.
I need any checkbox checked before load the af:treetable with af:tableSelectMany ,
What method is neccesary?
Thanks / Ali

Hi,
if this is a critical issue with a customer of yours, wouldn't it be best to run this against customer support than here on the forum ? This would make sure the issue is properly analyst and filed as a bug if it turns out to be a product problem. Unless the adf-config.xml file is configured to also persist the display row key in MDS, the behavior points to an issue that needs customer support to be involved
Frank

Similar Messages

  • How do I get and set column attributes in a table or a treetable with Java?

    Using 11.1.1.4.0
    Hi,
    How do I get and set column attributes in a table or a treetable with Java? For a simple example, say I have a table and want certain roles to see all columns (including address), and other roles can see only certain columns (no address). In a Java method, I want to test if a table's column visible attribute is true and if so, set it to false before rendering it.
    Thanks in advance,
    Troy

    Hi,
    this use case would be a perfect example for using seeded MDS customization. Instead of checking what users are allowed to see or not upon rendering time, you have a customization class and thus the framework doing this for you.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/31-mds-sample-169173.pdf
    In this paper and sample, specific users see different layouts. It also contains a customization class that shows how this can leverage ADF Security
    Frank

  • TreeTable with different Root

    Hi all,
    i search in the forum but i can't found.
    I need to have a treeTable with different root.
    All the exaples that i found didn't explain how to make this!
    Someone can help me?
    i.e.
    RootA
    |___rrrrrrrr
    | |___ xxx
    | |___yyy
    |____dddddd
    RootB
    |___dddd
    |___ www
    |___kkk
    It's look like to see the folders without a ROOT master.
    Thank's a lot!
    Riccardo

    Hi,
    >>they are not being authorized because the user groups cannot be assigned. This is because the user cannot be found in LDAP/AD for forestA.
    How did we configure the DNS resolution between the two forests? Here, we can check event logs in Event Viewer to see if some related events were logged.
    Regarding how to accessing resources across forest, the following articles can be referred to as reference.
    Accessing Resources across forest and achieve Single Sign ON (Part1)
    http://blogs.technet.com/b/mir/archive/2011/06/12/accessing-resources-across-forest-and-achieve-single-sign-on-part1.aspx
    Accessing resources across forests
    https://technet.microsoft.com/en-us/library/cc772808(v=ws.10).aspx
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • TreeTable with columnGroup

    Hi,
    Is it possible to have one unique table with this 2 components? (TreeTable with columnGroup).
    Something like http://www.teamdev.com/quipukit/demo/treetable/TreeTable1.jsf BUT must allows me to have a columnGrouped Header, to group Months inside Quarters, inside Year, in the table header.
    I have to do that with seam framework, and a .xhtml page. I found many JSF implementations that allow me to do a columnGrouped header but not a TreeTable and others allow me to do a TreeTable but not a columnGrouped.
    I also checked http://www.irian.at/myfacesexamples/home.jsf but i think this doesn't allow me to do that.
    Thanks for any help

    Any idea ?

  • TreeTable with inputText column data gets lost in adf 10g

    Hello All. I have a TreeTable in my page with two columns for user inputs. After a node is expanded, the data gets lost... The TreeTable was created using ViewObjects, here is one example of the sql query of one of the ViewObjects:
    select distinct det.cliente id_cliente
    , cust.customer_name descripcion
    , city.id_simcot
    , to_number(null) horas_normales
    , to_number(null) horas_recargo
    , 'CLIENTE' tipo
    from grc_dist_factura dist
    , grc_det_simcot_v city
    , grc_det_dist_factura det
    , ra_customers cust
    where det.id_dist_fact = dist.id_dist_fact
    and cust.party_id = det.cliente
    and dist.id_det_simcot = city.id_det_simcot
    and city.tipo = 'CIUDAD'
    The inputText are mapped to the attributes HorasNormales and HorasRecargo. Those columns does not existe in DataBase, that's why I create them in the View Object in that way.
    This is my TreeTable:
    <af:treeTable value="#{bindings.GrcConfTarifaRaizView.treeModel}"
    var="node"
    binding="#{ConfiguracionTarifas.treeTable1}"
    id="treeTable1" width="100%"
    emptyText="No hay un Arbol Disponible.">
    <f:facet name="nodeStamp">
    <af:column binding="#{ConfiguracionTarifas.column1}"
    id="column1" noWrap="true" headerNoWrap="true"
    headerText="Descripcion">
    <af:outputText value="#{node.Descripcion}"
    binding="#{ConfiguracionTarifas.outputText2}"
    id="outputText2"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node.Descripcion}"
    binding="#{ConfiguracionTarifas.outputText3}"
    id="outputText3"/>
    </f:facet>
    <af:column sortable="false" headerText="Tarifa Hora Normal"
    formatType="number"
    binding="#{ConfiguracionTarifas.column2}" id="column2">
    <af:inputText binding="#{ConfiguracionTarifas.txtHoraNormal}"
    id="txtHoraNormal" rendered="#{node.Tipo ne 'RAIZ'}"
    value="#{node.HorasNormales}">
    </af:inputText>
    </af:column>
    <af:column sortable="false" headerText="Tarifa Hora Recargo"
    formatType="number"
    binding="#{ConfiguracionTarifas.column3}" id="column3">
    <af:inputText binding="#{ConfiguracionTarifas.txtHoraRecargo}"
    id="txtHoraRecargo" rendered="#{node.Tipo ne 'RAIZ'}"
    value="#{node.HorasRecargo}"/>
    </af:column>
    </af:treeTable>
    And this is the page Def:
    <tree id="GrcConfTarifaRaizView"
    IterBinding="GrcConfTarifaRaizViewIterator">
    <AttrNames>
    <Item Value="IdSimcot"/>
    <Item Value="Descripcion"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    <nodeDefinition DefName="gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaRaizView"
    id="GrcConfTarifaRaizViewNode">
    <AttrNames>
    <Item Value="IdSimcot"/>
    <Item Value="Descripcion"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    <Accessors>
    <Item Value="ClientesView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaClientesView"
    id="GrcConfTarifaClientesViewNode">
    <AttrNames>
    <Item Value="IdCliente"/>
    <Item Value="Descripcion"/>
    <Item Value="IdSimcot"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    <Accessors>
    <Item Value="RegionalesView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaRegionalesView"
    id="GrcConfTarifaRegionalesViewNode">
    <AttrNames>
    <Item Value="CodRegional"/>
    <Item Value="Descripcion"/>
    <Item Value="IdSimcot"/>
    <Item Value="IdCliente"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    <Accessors>
    <Item Value="CiudadesView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaCiudadesView"
    id="GrcConfTarifaCiudadesViewNode">
    <AttrNames>
    <Item Value="CodCiudad"/>
    <Item Value="Descripcion"/>
    <Item Value="CodRegional"/>
    <Item Value="IdSimcot"/>
    <Item Value="IdCliente"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    Note the Node Definition for gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaClientesView, it correspond to the View Object showed at the beginning of the post.
    Can any one help me please?
    bye

    Thanks for the links.
    I checked them up, but first, I noticed they apply to adf 11g, and second none of them use inputText in columns. I really couldn't find a any idea to solve my issue.
    Any other suggestions?
    My problem is that when I expand/collapse a node, the values in the inputTexts are lost. I don't know if I need something else on my page Definition...
    thank you.

  • Slow performance of treeTable with 35,000 rows

    I have a page that has a vertical Panel Splitter. Thre first facet of the
    Panel Splitter
    contains a Panel Strech Layout. Its center facet contains a treeTable whose
    value has been
    derived from #{pageFlowScope.mapperUIBean.
    targetTreeModelForCurrentMappingSet}. The targetTreeModelForCurrentMappingSet
    has been populated in the mapperUIBean with over 35,000 rows.
    When I run the page and click on any row (either the first or last row), it
    processes the
    selectionListener method that was declared but it takes about 25-30 seconds
    before it processes it.
    The same thing is true when I drag something into a row.
    I am on jdev 11.1.1.6.1.
    Thanks for any help provided.

    Hi,
    hard to tell. There is nothing else than the description of the behavior, which is not enough for a guess. If the rows are saved in a managed bean in page flow scope, the question is how you get them out into the tree table. If you can intercept this and print time informations, it may give you an idea
    Frank

  • TreeTable with variable tree row height

    Hello,
    I am trying to implement a treetable where the tree node height depends on the text. I am facing the following bugs in the code.
    1> The rows with multi line text are not rendered correctly even though the tooltip text is shown correctly.The screen shot for this bug : [http://i300.photobucket.com/albums/nn40/ranchugold/treeTable.jpg]
    2> The node "Group2" does not expand when I click on the "+". Instead the node will expand if the mouse is clicked one row above the "+". The screenshot for this bug: [http://i300.photobucket.com/albums/nn40/ranchugold/treetable2.jpg]
    The code for the treetable has been taken from the Sun examples and is available at [http://www.filefactory.com/file/b0h879g/n/treeTable.zip] .
    Any help will be appreciated.
    Thanks,
    Arun

    What the hey is an apps panel? Looking at your code, it seems you may be an internal oracle developer working in fusion apps, in which case you should be asking in some internal forum somewhere, since we the general public don't have access to the same goodies that you do
    John

  • TreeTable with two accessors nodeDefinition

    Hello to all!
    In my pageDef i have next tree binding:
    <tree IterBinding="groupsIterator" id="groupsTreeTable" ChangeEventPolicy="none">
    <nodeDefinition DefName="projects.GroupsType" Name="nodeGroups">
    <AttrNames>
    <Item Value="groupLabel"/>
    <Item Value="groupId"/>
    </AttrNames>
    <Accessors>
    <Item Value="themes"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="projects.ThemeType" Name="nodeThemes">
    <AttrNames>
    <Item Value="themeId"/>
    <Item Value="genereteInKML"/>
    </AttrNames>
    *<Accessors>*
    *<Item Value="themeInfo" label="themeInfos">*
    *<Item Value="themeKML" label="themeKMLs">*
    *</Accessors>*
    </nodeDefinition>
    <nodeDefinition DefName="projects.ThemeInfoDataType" Name="nodeThemeInfos" >
    <AttrNames>
    <Item Value="label"/>
    <Item Value="column"/>
    <Item Value="columnType"/>
    <Item Value="id"/>
    </AttrNames>
    </nodeDefinition>
    <nodeDefinition DefName="projects.ThemeKMLType" Name="nodeThemeKMLs">
    <AttrNames>
    <Item Value="extrude"/>
    <Item Value="altitudeMode"/>
    <Item Value="color"/>
    <Item Value="colorMode"/>
    <Item Value="lineStyleWidth"/>
    <Item Value="styleId"/>
    <Item Value="tessellate"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    Using that binding i builded treetable. It looks like:
    ->group
    -->theme
    --->themeInfos
    ----->themeinfo
    --->themeKMLs
    ----->themeKML
    And now is what i need to know is what type of node is selected.
    In past i done it using that:
    RichTreeTable rTT = (RichTreeTable)getTreeTable();
    RowKeySet rks = rTT.getSelectedRowKeys();
    Iterator rksIterator = rks.iterator();
    CollectionModel model = (CollectionModel)rTT.getValue();
    JUCtrlHierBinding rttBinding = (JUCtrlHierBinding)model.getWrappedData();
    //if there are nodes in tree table
    if (rksIterator.hasNext()) {
    while (rksIterator.hasNext()) {
    List nodeKey = (List)rksIterator.next();
    JUCtrlHierNodeBinding node = rttBinding.findNodeByKeyPath(nodeKey);
    node.getHierTypeBinding().getStructureDefName()
    But in that time i have no nodes with two or more accessors. treeTable were looking like that:
    ->group
    -->theme
    --->themeinfo
    In that case I was able to get current node type and, if i need it, add node with same type or add child node to it using previous code.
    Now i have this two extra nodes in treeTable (*->themeInfos, ->themeKMLs*) and when i try to get its type, to choose what to do next, i get them parent node type theme.
    Is there solution to get exactly "type" of selected node?
    P.S. English not my native language, so, excuse me
    Edited by: 930033 on 24.04.2012 23:27
    Edited by: 930033 on 24.04.2012 23:27
    Edited by: 930033 on 25.04.2012 1:22

    Hi,
    found a solution in Duncan Mills "Oracle JDeveloper 11g Handbook". However, it doesn't allow for two root nodes but sibling child nodes. So not quite what you wanted
    Frank

  • TreeTable with Multiple Selection

    Hi,
    I have created a TreeTable which concludes multi-selection. In case of children selection (leaves) I get my goal, but the problem is when I try to select a Parent Node. I desire to populate a method that will traverse that Parent Node and walk down through its children to automatic select them, since their parent is selected. How can I do this?
    P.S.
    I am using JDeveloper 10.1.3.1; JSF ADF, BC;
    My TreeTable is populated programmatic (java), using a VO as its source, with no bindings at all (page definition).

    Actually I am using a treeModel too.
    I have built my case like this:
    1- When selecting a parent node, I retrieve its code (number) - Primary Key field value.
    2- Then, I have built a Recursive method, which will walk down through the SQL's returned records (tree-SQL statement with parents & children). At first I apply a filter to this table to get all the children of this parent. Then recursevily, I apply the same procedure to each child (so as to check if it is by its turn a parent of other nodes too), till it is a leave.
    3- For each node which is a leave, I temporarily store its unique value to an array (or whatever), so as to reflect changes to the DB when committing (saving).
    4- Finally after refresh, the changes we have performed will be expressed at the page's table, showing the parent node selected along with its children.
    P.S.
    My SQL-statement includes a column indicating whether the node is selected or not.
    Hope this helps you.

  • SAP UI TreeTable with threestate checkbox

    I have displayed a tree structure using TreeTable and threestate Checkbox.
    I'm stuck with the funtionality of the checkboxes, when all children checkbox are checked, than only parent checked box is checked otherwise mixed checked or unchecked when children checkbox is unChecked.
    JSBin
    I have allready tried jquery tree plugins, but they are not working with SAP UI5.
    Kindly, help me to build the functionality.
    Thanks,
    Shashi

    Hi Shashi
    As we can see that we can manipulate the model to achieve what we wanted. This is the power of OpenUI5 and many modern UI framework. Having to using JQuery and other DOM manipulation methods complicate the code and have to deal with performance issues across different browsers.
    Glad that we have provided you the solution.
    Thanks
    -D

  • Treetable with transient attributes

    Hi,
    I use JDeveloper 11.1.1.2.0 to develope an ADF application.
    I need to create and show two level treetable using viewobjects theese have only transient fields.
    I have two viewobjects and a viewlink described below:
    1. VO : AccountsVO
    2. VO : ProductsVO
    Viewlink : ProductsOfAccountVL
    An account can has a lot of products. Both of viewobjects have only transient attributes.
    I have to use transient attributes because of the architecture of the application.
    I create and insert the rows to the viewobjects in managed bean.
    I need to create a treetable like below :
    AccountName1 AccountDesc1
    ---ProductNo1 ProductName1 ProductDesc1
    ---ProductNo2 ProductName2 ProductDesc2
    AccountName2 AccountDesc2
    ---ProductNo3 ProductName3 ProductDesc3
    When I drag and drop the parent VO as an ADF Tree Table then run the application, I could see only first level records.
    I mean only Accounts are shown.
    The viewlink doesn't work. Is this a bug or is it normally work like this.
    Finally I intend to create and add child node programmatically, but I don't know is it possible or not and how could it be done.
    What do you advice or what is the correct way.
    Mehmet
    Thanks.
    Edited by: mdoldur on 03.Haz.2010 12:33

    Hi Frank,
    I don't have any entity object, so I get the informations from a few different modules and
    insert them to the programmatic viewobjects which have transient attributes.
    In fact I could create 2 temporary tables on the database but I am not allowed to change the database schema.
    By the way I have updated my JDeveloper from 11.1.1.2 to 11.1.1.3 I will try the same operation and inform you.
    Thanks.
    Mehmet.

  • Adding/deleting rows from a treeTable with a read-only view object

    Hello --
    I'm getting a JBO-25016 error when I go to delete a row from a treeTable. I want to create the hierarchy from a stored procedure, have the user add and remove nodes without calling back to the database. I will iterate through the tree and see what has changed and made the necessary updates on the database manually.
    What is the correct method for adding/removing rows form the UI component?
    Thanks!
    Tom

    Thank you, Amit! That did the trick.
    Edited by: Tom on Apr 28, 2011 11:51 AM

  • TreeTable with grid

    I am using the tree table and
    when i try to add a grid to the table the grid is not shown on the tree column.
    If i try to paint a border for each node at the tree it gets too wide (since for close cells there are two borders.)
    Is there any other solution?

    Thanks for the links.
    I checked them up, but first, I noticed they apply to adf 11g, and second none of them use inputText in columns. I really couldn't find a any idea to solve my issue.
    Any other suggestions?
    My problem is that when I expand/collapse a node, the values in the inputTexts are lost. I don't know if I need something else on my page Definition...
    thank you.

  • Problem with Select All/SelectNone option in af:tableSelectMany

    I have an af:table component with af:tableSelectMany at the bottom of my form. I am using Partial Page Rendering to ensure that when the user does anything e.g. click a button associated with the table, the page is not reloaded so that the user does not have to scroll down to get to the table. This is an important requirement.
    But when the Select All/Select None link in the af:tableSelectMany facet is clicked, the top of the page is shown and we have to scroll down to see the table again - even though the page does not seem to be reloading. Why does this happen and is there any way to fix this? Pls help

    hi,
    Im looking for this solution too..
    i already post the thread before but it's look like no solution on it..
    In my opinion the "Select All/Select None" is not refreshing the page, but it just set to point
    to the upper of the page.. I tested it with onLoad, and it prove this "Select All/Select None"
    dont refresh..So how to overcome this thing...

  • Af:treeTable: how build tree that displays multiple columns?

    I only find a default single column behavior in the dev guide regarding af:treetable. Perhaps some of you might have already tried this out, I'm trying to build a master detail using a treetable with multiple columns. After establishing the ViewLink association and dragging the Master View Object onto the cavas, the default generated code looks like:
    <af:treeTable ...
    <f:facet name="nodeStamp">
    <af:column binding="#{backing_tree.column1}" id="column1"
    sortable="false" headerText="">
    <af:outputText value="#{node}"
    binding="#{backing_tree.outputText1}"
    id="outputText1"/>
    </af:column>
    </f:facet>
    </af:treeTable>
    This renderes the entire tree in one column, but my detail ViewObject contains multiple attributes and I would like seperate columns to display those values. I'm not sure how to extract the "#{node}" EL to output the detail or child ViewObject's values in seperate af:column. Can someone advise? Thank you.
    Z

    Luis, thanks for the suggestion. I did get the header labels to show, however, the values are still not being printed correctly. I have department as the Master or parent node and employee as the Detail or child node. Here is what I have
    <af:treeTable value="#{bindings.DeptView1.treeModel}" var="node"
    binding="#{backing_treeTest.treeTable1}" id="treeTable1"
    rowsByDepth="0 0">
    <f:facet name="nodeStamp">
    <af:column binding="#{backing_treeTest.column1}" id="column1">
    <f:facet name="header">
    <af:outputText value="Department Name"/>
    </f:facet>
    <af:outputText value="#{node.Dname}"
    binding="#{backing_treeTest.outputText1}"
    id="outputText1"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node.Dname}"
    binding="#{backing_treeTest.outputText2}"
    id="outputText2"/>
    </f:facet>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Employee Name"/>
    </f:facet>
    <af:outputText value="#{node.Ename}"
    binding="#{backing_treeTest.outputText3}"
    id="outputText3"/>
    </af:column>
    </af:treeTable>
    The Tree Table looks Like:
    Department Name | Employee Name
    - Accounting
    Thanks in advance,
    Z

Maybe you are looking for