Question on the ADF Tree Table

Hi, I am using Jdev 10.1.3.2 and ADF BC. I have created a ADF Tree Table to display multiple attributes, both the master and detail VO are based on the same EO. It seems all of attributes are displayed in one colume, and there is no column heading, is that possible to add column heading and display in multiple columns?
Thanks!

Hi,
actually the node stamp doesn't accept more than one column element
Frank

Similar Messages

  • [SOLVED] Multiple Dynamic View Objects and View Links - ADF Tree Table

    Hi all,
    I've got a method that creates 3 dynamic viewobjects using this:
                ViewDefImpl Level1ViewDef = new ViewDefImpl("Level1View");
                Level1ViewDef.addViewAttribute("LevelDescription","LEVEL1_DESCRIPTION",String.class);
                Level1ViewDef.addViewAttribute("SetOfBooksId","SET_OF_BOOKS_ID",Number.class);
                Level1ViewDef.addViewAttribute("CodeCombinationId","CODE_COMBINATION_ID",Number.class);
                Level1ViewDef.addViewAttribute("Level1","LEVEL1",String.class);
                Level1ViewDef.addViewAttribute("AccountType","ACCOUNT_TYPE",String.class);
                Level1ViewDef.addViewAttribute("PeriodYear","PERIOD_YEAR",Number.class);
                Level1ViewDef.addViewAttribute("PeriodNum","PERIOD_NUM",Number.class);
                Level1ViewDef.addViewAttribute("PeriodName","PERIOD_NAME",String.class);
                Level1ViewDef.addViewAttribute("PtdActual","PTD_ACTUAL",Number.class);
                Level1ViewDef.addViewAttribute("YtdActual","YTD_ACTUAL",Number.class);
                Level1ViewDef.addViewAttribute("LtdActual","LTD_ACTUAL",Number.class);
                Level1ViewDef.addViewAttribute("BudgetName","BUDGET_NAME",String.class);
                Level1ViewDef.addViewAttribute("BudgetVersionId","BUDGET_VERSION_ID",Number.class);
                Level1ViewDef.addViewAttribute("PtdBudget","PTD_BUDGET",Number.class);
                Level1ViewDef.addViewAttribute("YtdBudget","YTD_BUDGET",Number.class);
                Level1ViewDef.addViewAttribute("LtdBudget","LTD_BUDGET",Number.class);
                Level1ViewDef.addViewAttribute("EncumbranceType","ENCUMBRANCE_TYPE",String.class);
                Level1ViewDef.addViewAttribute("EncumbranceTypeId","ENCUMBRANCE_TYPE_ID",Number.class);
                Level1ViewDef.addViewAttribute("PtdCommitment","PTD_COMMITMENT",Number.class);
                Level1ViewDef.addViewAttribute("YtdCommitment","YTD_COMMITMENT",Number.class);
                Level1ViewDef.addViewAttribute("LtdCommitment","LTD_COMMITMENT",Number.class);
                Level1ViewDef.setQuery(sql_level1);
                Level1ViewDef.setFullSql(true);
                Level1ViewDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
                Level1ViewDef.resolveDefObject();
                Level1ViewDef.registerDefObject();
                ViewObject vo1 = createViewObject("Level1View",Level1ViewDef);I can create the view objects fine and create a single viewlink between two of them, however i'm getting problems with 2 view links.
    This is how I'm creating a view link:
                ViewLink Level2Level1FKLink = createViewLinkBetweenViewObjects("Level2Level1FKLink1",
                                                        "Level2View",
                                                        vo1,
                                                        new AttributeDef[]{
                                                          vo1.findAttributeDef("Level1")
                                                        vo2,
                                                        new AttributeDef[]{
                                                          vo2.findAttributeDef("Level1")
                                                        "LEVEL1 = :Bind_Level1");
                ViewLink Level3Level2FKLink = createViewLinkBetweenViewObjects("Level3Level2FKLink1",
                                                        "Level3View",
                                                        vo2,
                                                        new AttributeDef[]{
                                                          vo2.findAttributeDef("Level2")
                                                        vo3,
                                                        new AttributeDef[]{
                                                          vo3.findAttributeDef("Level2")
                                                        "LEVEL2 = :Bind_Level2");I can get the data to display on an adf tree table if i'm only using a single view link, but when i try and implement 2 view link (for 3 levels on the adf tree table) i'm getting problems displaying the data.
    I'm getting the following error:
    Aug 10, 2007 2:44:39 PM oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer encodeAll
    SEVERE: Error during partial-page rendering
    oracle.jbo.NoDefException: JBO-25058: Definition Level3View of type Attribute not found in Level2View_Level2Level1FKLink1_Level2ViewThe thing is, Level3View isn't in the Level2Level1FKLink viewlink.
    I've been reading about something similar here
    BC4J Master-Detail-Detail
    but I am still unsure of what the problem is.
    Thanks in advance.

    I found the answer here:
    http://radio.weblogs.com/0118231/stories/2004/06/10/correctlyImplementingMultilevelDynamicMasterDetail.html

  • ADF Tree Table Repeats Elements at All Levels in nodeStamp Facet

    Fusion Middleware Version: 11.1.1.5
    WebLogic: 10.3.5.0
    JDeveloper Build: Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013
    Project: Custom WebCenter Portal Application integrated with custom ADF task flows.
    Hi
    I have an issue with ADF Tree Table (af:treeTable) whereby if I add a component to a group under the 'nodeStamp' facet it repeats for all levels in the tree even those outside the group.
    Overview:
    - 3-level master-detail structure created using ADF Business Components (3 view objects connected by 2 view links)
    - ADF Tree Table based on master-detail
    - Requirement to show 3 levels of data in the first column as a tree
    - Tree table is rendering correctly showing values for 'node.FullName', 'node.DisplayValue' and 'node.HoursType' respectively in a 3 level tree.
    - When another component is added to the top node in the tree ('node.FullName') for example some output text ('node.TimeBuildingBlockId'), it is displayed along side components 'node.DisplayValue' and 'node.HoursType' as well.
    Code snippet:
          <af:treeTable value="#{bindings.PerPeopleFVO1.treeModel}" var="node"
                        selectionListener="#{bindings.PerPeopleFVO1.treeModel.makeCurrent}"
                        rowSelection="single" id="tt1" styleClass="AFStretchWidth"
                        horizontalGridVisible="true" verticalGridVisible="true"
                        disableColumnReordering="true" summary="Timecard Entry"
                        displayRow="selected" expandAllEnabled="false"
                        contentDelivery="immediate" autoHeightRows="24"
                        columnStretching="column:column1"
                        binding="#{pageFlowScope.TimecardMB.tree_binding}">
            <f:facet name="nodeStamp">
              <af:column id="c1" headerText="Partner Details" width="500">
                <af:group id="g4">
                  <af:outputText value="#{node.FullName}" id="ot3"/>
                  <af:outputText value="#{node.TimeBuildingBlockId}" id="ot1"/>
                </af:group>
                <af:outputText value="#{node.DisplayValue}" id="ot4"
                                inlineStyle="color:Green; font-weight:bolder;"/>
               <af:outputText value="#{node.HoursType}" id="ot5"/>
                <f:facet name="filter"/>
              </af:column>
            </f:facet>
            <f:facet name="pathStamp">
              <af:outputText value="#{node}" id="ot2"/>
            </f:facet>
       <af:column FROM HERE.........>
    Any ideas greatly appreciated.

    Hi,
    Try using a switcher to distinguish all three levels of a tree. You can have three different facets, three different af:group 's.
    When you add in one level, it will not repeat in the other level.
    Please see the below snippet.
    <af:tree value="#{bindings.RefBusinessUnitView1.treeModel}" var="node"
    selectionListener="#{bindings.RefBusinessUnitView1.treeModel.makeCurrent}"
    rowSelection="single" id="t1">
    <f:facet name="nodeStamp">
    <af:group id="g1">
    <af:switcher id="s1"
    facetName="#{node.hierTypeBinding.viewDefName}">
    <f:facet name="model.RefBusinessUnitView">
    <af:group id="g2">       
    <af:outputText value="#{node.Code}" id="ot1"/>
    </af:group>
    </f:facet>
    <f:facet name="model.RefProductFamilyView">
    <af:group id="g3">
    <af:outputText value="#{node.ProductFamilyName}" id="outputText1"/>
    <af:outputText value="#{node.PName}" id="outputText2"/>
    </af:group>
    </f:facet>
    </af:switcher>
    </af:group>
    </f:facet>
    </af:tree>
    Nitish

  • Problem in executing Child VO having bind parameter for ADF tree table

    In my application i need to show a ADF Tree table which is using two view objects having view links between them
    and the child VO has a bind variable.By clicking on the parent node of the parent VO attribute it showing the right result from the child VO attribute by the view link.
    I have tried to execute the child VO programmatically (In AmImpl) with the bind variable and using ViewCriteria as well
    but both the cases the child vo is not showing the proper result according to the bind variable instead of it is showing all the records on click of the parent node attribute.
    Your help will be appreciated.
    Thanks

    Hello,
    In the same situation I added another relationship to the view link to set the parameter.
    Tricky moment is you have to name your parameter like :Bind_ParamName as view link is setting this kind of parameters (check it in Query tab).

  • ADF Tree table is not exapanding

    Hi all,
    I have to implement an ADF tree table along with a form. I have three Views,
    two of the views are used to populate the Tree table, And one of the view used in the Tree population is used to manipualte the form,
    And the third one is to populate a table. And I have a Popup call button in the same panelCollection where the tree table is placed
    I am facing two issues with the the tree table.
    1. The tree table is not expanding, if I click on the '+' on the node it won't expand and it will show me small circle which is trying to open the node.
    But if I click on the Popup button and cancel(RollBack) the popup and come to the node, it will exapand. I don't kow why it is....
    2. As I said I have a Form and I have to populate the form based on the selection in the tree table nodes, the form filed is same as that of the view used to populate the Tree table view.
    But when i click on the tree table nodes it is not chaning the record according to the selection in the tree nodes. But in a master Detail form it is working fine. It is always pointing to the first record.
    Please help.....

    No vinod, I am not getting any kind of exceptions..
    And mY tree table is
    <af:treeTable value="#{bindings.TestVO.treeModel}"
    var="node"
    selectionListener="#{backingBeanScope.TestBean.TreeTableSelectionListener}"
    rowSelection="single" id="tt1"
    columnStretching="column:c1" contentDelivery="immediate"
    binding="#{backingBeanScope.TestBean.tt1}">
    <f:facet name="nodeStamp">
    <af:column id="c1">
    <af:panelGroupLayout id="pgl15">
    <af:outputText value="#{node.SubtaskDesc}" id="ot1"/>
    <af:outputText value="#{node.HazardDesc}" id="ot4"/>
    </af:panelGroupLayout>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}" id="ot2"/>
    </f:facet>
    <af:column id="c2">
    <af:outputText value="#{node.MaxRiskRating}" id="ot3"/>
    </af:column>
    </af:treeTable>
    Edited by: Ranjith C on Jul 18, 2011 6:21 AM

  • ADF Tree Table - Multiple Commandlinks in one column

    Hi,
    We are building a hierarchy using tree table. The hierarchy looks as follows
    +Root Object
    ++ Child Object One
    +++ Child 1.1
    +++ Child 1.2
    +++ Child 1.3
    ++ Child OBject Two
    At each level, the object is used by more than one users. We want to display the list of users who are using that object in one the column called "Users". We want to provide hyperlink to each of the user that is displayed here. So my question so how do we build set of af:commandlinks with in one column? Or is there any other way this problem can be solved? What is ADF recommended pattern here?
    Thanks,

    How about putting a af:panelGroupLayout in the column and add multiple af:commandLinks into the panel=
    Timo

  • ADF Tree table :  Target Unreachable, identifier 'node' resolved to null

    Hi, we are using a tree table:
    <af:treeTable value="#{bindings.FacilitySummaryVO1.treeModel}"
    var="node"
    emptyText="#{bindings.FacilitySummaryVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    selectionListener="#{bindings.FacilitySummaryVO1.treeModel.makeCurrent}"
    rowSelection="#{pageFlowScope.facilitySummaryHelper.tableSelectionMode}"
    id="tt1" width="100%" contentDelivery="immediate"
    binding="#{backingBeanScope.facilitySummary.facilityTree}"
    autoHeightRows="#{pageFlowScope.facilitySummaryHelper.tableHeight}"
    columnStretching="column:c6">
    <f:facet name="nodeStamp">
    <af:column id="c8" width="5px" headerText=""></af:column>
    </f:facet>
    <af:column id="c5"
    headerText="#{facilitySummary_rb.COLUMN_LABEL_SELECT}"
    width="40" align="center"
    rendered="#{pageFlowScope.facilitySummaryHelper.showColumnSelect}">
    <af:group id="g1">
    <af:panelLabelAndMessage label="" id="plam1">
    <af:selectBooleanCheckbox text="" autoSubmit="true"
    rendered="#{node.ShowSelectCheckBox}"
    valueChangeListener="#{backingBeanScope.facilitySummary.facilitySelectCheckboxEventListener}"
    label="" id="sbc1"
    value="#{node.bindings.SelectedFacilityLandingPage.inputValue}"/>
    </af:panelLabelAndMessage>
    </af:group>
    </af:column>
    <af:column id="c6"
    headerText="#{facilitySummary_rb.COLUMN_LABEL_FACILITY}">
    <af:group id="g2">
    <af:panelGroupLayout layout="horizontal" id="pgl2">
    <af:spacer width="#{node.IndentationWidth}" height="10"
    id="s2"/>
    <af:commandLink text="" textAndAccessKey="#{node.FacilityName}"
    disabled="#{pageFlowScope.facilitySummaryHelper.itemReadonly}"
    visible="#{(node.NodeType == facilitySummary_rb.ACCOUNT_VALUE)? false : true}"
    actionListener="#{backingBeanScope.facilitySummary.treeExpandDiscloseActionListener}"
    id="cl2">
    <af:image source="#{node.NodeImgPath}" id="i2" shortDesc=""></af:image>
    </af:commandLink>
    <af:spacer width="10" height="10" id="s1"/>
    <af:commandLink text="#{node.FacilityName}"
    textAndAccessKey="#{node.FacilityName}" id="cl1"
    actionListener="#{backingBeanScope.facilitySummary.showDetailsActionListener}"></af:commandLink>
    </af:panelGroupLayout>
    </af:group>
    </af:column>
    <af:column id="c12"
    headerText="#{facilitySummary_rb.COLUMN_LABEL_ACTION}"
    width="110"
    rendered="#{pageFlowScope.facilitySummaryHelper.showColumnAction}">
    <af:selectOneChoice valueChangeListener="#{backingBeanScope.facilitySummary.nodeActionValueChangeListener}"
    value="#{node.bindings.SelectActionValue.inputValue}"
    label=""
    unselectedLabel="#{origination_rb.LBL_IB_UNSELECTED_VALUE}"
    readOnly="#{pageFlowScope.facilitySummaryHelper.itemReadonly}"
    id="soc1" autoSubmit="true">
    <f:selectItems value="#{node.NodeAction ==null? pageFlowScope.facilitySummaryHelper.defaultSelectItems : node.NodeAction}"
    id="si2"/>
    </af:selectOneChoice>
    </af:column>
    </af:treeTable>
    af:selectOneChoice has an option to remove the row in the tree table by clearing the VO and populate new data into it. (with the exception of the removed row)
    The row get removed from the vo and the screen but i got this error Target Unreachable, identifier 'node' resolved to null
    No stack trace got printed in the stack trace.
    It works with jdev/adf 11.1.1.1.4. only with jdev/adf 11.1.1.1.5 (JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013) we're having this error. FacilitySummaryVO doesnt have primary key attribute.
    Data got populated to VO programmatically
    All VO attribute value updatable value is always

    Hi,
    hard to say. Actually the "node" variable reference is only available during tree rendering. So if you have any reference to the "node" variable that is invoked after tree rendering then this would explain the exception
    Frank

  • How to make a layer from the ADF pivot table invisible , show-hide column-row-data

    Hello all ,
    I need to create a pivottable with ADF 12c for reporting purposes.
    I have a table or view with 10 items of type VARCHAR2 , C1,C2,C3,C4,C5,C6,C7,C8,C9,C10  and   10 items of type NUMBER N1,N2,N3,N4,N5,N6,N7,N8,N9,N10
    The items of type VARCHAR2 are for Column and Row areas and the items NUMBER are for Data Areas
    I want to create a jsf page with one empty pivottable and in code Show or Hide the items in the Column area , Row area , Data area
    Con you send me a small sample ?
    I test with this code that i find in oracle OTN but not work.
    <dvt:pivotTable id="pt2" value="#{bindings.WebPivotDataView1.pivotTableModel}" var="cellData"
    varStatus="cellStatus" splitMode="enabled"
    binding="#{backingBeanScope.CmfPivotBean.pivotTable}"
    >
    <dvt:headerCell>
    <af:switcher facetName="#{cellData.layerName}" defaultFacet="Default" id="s1">
    <f:facet name="DataLayer">
    <af:outputText value="#{cellData.label}" id="ot1"/>
    </f:facet>
    <f:facet name="C01">
    <af:outputText value="#{cellData.dataValue}" id="ot2"/>
    </f:facet>
    <f:facet name="Default">
    <af:outputText value="#{cellData.dataValue}" id="ot3"/>
    </f:facet>
    </af:switcher>
    </dvt:headerCell>
    <dvt:dataCell>
    <af:switcher facetName="#{cellStatus.members.DataLayer.value}" defaultFacet="Default" id="s2">
    <f:facet name="N01">
    <af:outputText value="#{cellData.dataValue}" id="ot4">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.WebPivotDataView1.hints.N01.format}"/>
    </af:outputText>
    </f:facet>
    <f:facet name="Default">
    <af:outputText value="#{cellData.dataValue}" id="ot5"/>
    </f:facet>
    </af:switcher>
    </dvt:dataCell>
    </dvt:pivotTable>
    DCBindingContainer bindingContainer = (DCBindingContainer)ADFContext.getCurrent().getRequestScope().get("bindings");
    CubicBinding cubicBinding = (CubicBinding)bindingContainer.findCtrlBinding("WebPivotDataView1");
    CubicEditor cubicEditor = cubicBinding.getCubicEditor();
    cubicEditor.removeLayer(DataDirector.ROW_EDGE, 0); //remove 1st row edge
    cubicEditor.removeLayer(DataDirector.COLUMN_EDGE, 0); // remove 1st column edge
    cubicEditor.removeDataItem(0);
    CubicDefinition def;
    def = cubicBinding.getProjection();
    LayerDefinition layerDefinition = new LayerDefinition("C3");
    cubicEditor.addLayer(DataDirector.ROW_EDGE, 0, layerDefinition);    
    LayerDefinition layerDefinition2 = new LayerDefinition("C4");
    cubicEditor.addLayer(DataDirector.COLUMN_EDGE, 0, layerDefinition2);
    DataItemDefinition def3 = new DataItemDefinition("N1");
    cubicEditor.addDataItem(def3);
    AdfFacesContext.getCurrentInstance().addPartialTarget(pivotTable);
    Can you help me if is possible to create a pivottable binding to a one ViewObject and in code show/hide or compose the layout of the pivottable ??
    I search in google and OTN oracle and not find any code.
    Only find the code of the samples that is very complex for me , the code of the samples create the PivotTableModel from one Array , and i want to binding from one ADB BC ViewObject.
    Thanks in advance

    The solution I presented for your use case an DOAG 2013 was to create a pivot table binding out of user defined attributes from the table. For the defined attributes a VO is dynamically created as well as the pivot binding. The pivot binding is then exchanged at runtime together with the activation of the dynamic VO needed to only get the data needed for the particularly pivot table.
    Your solution using the CubicEditor is hard to implement due to the missing documentation. This was the reason I did not follow this approach, However it's not impossible (done it on a very small scale).
    None of the solution are what I call simple. They are complicated, complex and in part not supported solution (exchanging the pivot table binding at runtime need to use internal classes, which is not supported).
    I can't give you a working sample as it's too complex. I can make the slides available, however they are in German.
    Timo

  • Issue with ADF Tree Table

    Hi,
    I have the following requirement where i need to display a tree table. Here is how the initial implementation is:
    I have created the read only view for : ManagersVO > PoolsVO > MachinesVO. Where 'MachinesVO' is the destination view. And created view links between ManagersVO & PoolsVO using ManagerId and PoolsVO & MachinesVO using PoolId.
    And using this implementation, successfully created tree table on the UI. Now we got an enhancement for this:
    i.e., MachinesVO should return list of machines as per user logs in. i.e., we have 4 different roles. 'Super Admin', 'Sys Admin', 'App Admin', 'End User'. The default query for MachinesVO is for 'Super Admin'. The query for other user roles is different except the SELECT statement.
    The requirement is to dynamically change the query of MachinesVO based on user logs in and display the tree table accordingly. To implement the same i have tried using setQuery() operation on 'MachinesVO' which results with the following error:
    JBO-26016: InvalidOperException
    Cause: You cannot set customer query (calling setQuery()) on a view object if it is the detail view object in a master detail view link.
    Action: Do not call setQuery() if the view object is a detail.
    Can one suggest me a best solution to implement this.
    Thanks & Regards,
    Kiran

    Hi Navaneetha Krishnan,
    Here is how i implemented based on your comments. As i have tree table based 3 different VO's, created the following method at middle view(i.e., PoolsVO).
    1.Tree Model hierarchy
    ManagersVO > PoolsVO > MachinesVO
    I actually want to filter the data at Machines level. Hence wrote a method at PoolsVOImpls and exposed it in the PoolsVO client interface. Here is the code that i have placed in the PoolVOImpl
    public class PoolsVOImpl extends ViewObjectImpl implements PoolsVO{
         * This is the default constructor (do not remove).
        public PoolsVOImpl () {
      public void filterMachinesDataByUserRole(String userRole,String vzId){
        Row row = getCurrentRow();
        String query = "";
        if(row != null){
          RowSet rowSet = (RowSet)row.getAttribute("MachinesVO");
          if(rowSet != null){
            MachinesVOImpl machinesVOImpl = (MachinesVOImpl)rowSet.getViewObject();
            if(userRole.equalsIgnoreCase("SYS ADMIN")){
                    machinesVOImpl .setWhereClause(query related to sysadmin);
             //Similarly for other user roles.
             executeQuery();
    }And this piece of code needs to be executed before the jsff(which has the tree table) renders. Hence, i created a this methodAction as a default activity in the respective taskflow where the jsff is placed. Once this method get executed, the page should render the machines specific to the user.
    Here is the issue: getCurrentRow() method call is returning always NULL.
    Please correct me if i'm doing something wrong. I do tried the above mentioned approach by creating the method at '*ManagersVOImpl*' level too. Still the same issue.
    Thanks & Regards,
    Kiran

  • How to disable a node in ADF Tree Table?

    Hi,
    I'm using JDeveloper version - 11.1.1.7
    I have a requirement to disable the nodes in Tree table based on status of the node. How can I achieve this?
    Any inputs would be helpful.
    Thanks
    Ravi

    Hi,
    you cannot disable nodes in the sense that they cannot be expanded or selected. What you can do though is to ignore node selections in a custom selection handler or to render the node different (e.g. using an output text component instead of a command link or image etc.). What is your functional requirement for what disabled nodes should not do
    Frank

  • How to make a layer from the ADF pivot table invisible?

    Hi all,
    ADF pivot table is a useful component which can be used to provide table data rendering. However, I have not found any method to hide one layer from the row edge (or column edge) of the pivot table.
    For example, please have a look on this demo: [http://jdevadf.oracle.com/adf-richclient-demo/faces/components/pivotTable.jspx]
    There are two layers in the row edge of this pivot table, one is Time, one is Product. For product, there are two categories, one is Tents, one is Canoes.
    Is that possible to make the Product layer invisible from user, while still keeping the two rows of product data for that year showing up? how to do it?
    The problem is that pivot table relies on the product layer to separate the two rows of product data, and if I remove the product layer, only the second row of product data for each year can be shown up.
    Please advise how I can make the Product layer invisible.
    Thanks
    Richard
    Edited by: user12847742 on Oct 6, 2010 12:58 AM
    Edited by: user12847742 on Oct 6, 2010 1:04 AM
    Edited by: user12847742 on Oct 6, 2010 1:10 AM

    Hi, Yiannis,
    Thanks for the clarification.
    First, for clarity, I'd like to point out that you and Richard are inquiring about different functionality. Richard wanted to hide a layer that is logically present on the edge, so that there are still separate rows for Tents and Canoes, but without row headers indicating which row is which. As I noted previously, this is currently unsupported.
    By contrast, you're asking about truly removing a layer from the edge. For rowset DataControls, this can be done using the CubicEditor interface. Given the following PivotTable:
    <dvt:pivotTable id="pivotTable1" value="#{bindings.Record.pivotTableModel}"/>the CubicEditor can be retrieved by calling:
    DCBindingContainer bindingContainer = (DCBindingContainer)ADFContext.getCurrent().getRequestScope().get("bindings");
    CubicBinding cubicBinding = (CubicBinding)bindingContainer.findCtrlBinding("Record");
    CubicEditor cubicEditor = cubicBinding.getCubicEditor();You can then add a layer:
    LayerDefinition layerDefinition = new LayerDefinition("Product");
    cubicEditor.addLayer(DataDirector.ROW_EDGE, 1, layerDefinition);and remove a layer:
    cubicEditor.removeLayer(DataDirector.COLUMN_EDGE, 0);At the end, you'll need to PPR the Pivot Table.
    Hope that helps.
    Jim

  • ADF Tree Table

    I am using JDev 11g.
    I created tree table and warped around with toolbar with commandToolbarButton in it. How can I delete leaves or root node? Thanks.

    Hi,
    to delete a node you need to get the selected node (rowkey and then delete it programatically), get the row it represents and delete it
    Frank

  • QuickQuery on ADF Tree Table

    I have a Applications TreeTable and I want to implement QuickQuery on it.. but filtering is not happening on Child VO.
    is this possible to implement QuickQuery on Tree Table? if so please provide me some inputs.
    JDev Version : 11.1.1.6.0.
    Thanks,
    Swathi

    Hi Jobinesh,
    I have also tested with the sample that is attached in the blog.. the same issue is there.
    Steps for the Testcase:
    - Run the jsf page and enter sample name (FirstName / LastName) and filter the records.
    - records are filtered and displayed.
    - Empty the given sample name from the search filed to clear the filter.
    - previous search records are displaying with out clearing the search criteria.
    this issue is with the sample using ViewCriteria.
    sample with the Bind parameters is fine..
    Thanks,
    Swathi

  • Synching ADF tree table and adf tree

    Hi,
    I am facing issue in syncing the data between adf treetable and tree
    Here is my use case
    I have one treetable and one tree in the UI..
    treeTable shows the hierarchical view and tree represents the flat view of the same data.
    If I delete the data in the tree view and then go to treeTable the deleted shows still show in this view and same happens in other case...
    Any pointer to this will be of great help
    Thanks

    Do you see that you are using difference object in below table gui def.
    snapshotList and snapshotList1.
    ADF code:
    <af:table value="#{bindings.snapshotList1.collectionModel}"
    var="row" rows="#{bindings.snapshotList1.rangeSize}"
    emptyText="#{bindings.snapshotList1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.snapshotList1.rangeSize}"
    width="53.5%" rowBandingInterval="0" id="t1"
    selectionListener="#{bindings.snapshotList.collectionModel.makeCurrent}"
    selectedRowKeys="#{bindings.snapshotList.collectionModel.selectedRow}"
    rowSelection="single"
    visible="#{viewScope.myBean.isFlat}"
    binding="#{viewScope.myBean.table}">
    Please generate getter and setter both.
    MB code..
    private RichTable table;
    public RichTable getTable() {
    return table;
    public void setTreeTable(RichTreeTable treeTable) {
    this.treeTable = treeTable;
    delete button is outside.. it is in a panelGroupLayout
    <af:commandButton text="#{vtsnapshotuiBundle.DELETE}"
    id="delete_id"
    disabled="#{viewScope.myBean.buttonDisable}"
    actionListener="#{my_delete_func}"
    Thanks,
    Hasim

  • Basic questions regarding the behavior of tables

    I have a table formated with four columns of fixed widths. Lets say, 20, 100, 200 and 80. When manipulating this table graphically I can sometimes added and delete rows very nicely but then, out of the blue, deleting a row causes all remaining rows(columns)  to jump to equal widths, 100, 100, 100, 100. This will happen almost always if I delete the last row but never happens if I delete the code. Any help would be greatly appreciated.
    Using CS6 in a Windows 7 enviroment.

    Hi Murray,
    Here are the code portions for the Index and the three frames. It is the FrameCenter that is at issue.
    Index:
    <html>
    <head>
    <meta name="GENERATOR" content="Namo WebEditor">
    <title>Company LLP</title>
    </head>
    <frameset cols="1*" rows="100, *" border="0">
        <frame name="header" scrolling="no" marginwidth="10" marginheight="0" src="frametop.htm" noresize namo_target_frame="_blank">
        <frameset cols="20%, 80%">
            <frame name="contents" scrolling="auto" marginwidth="10" marginheight="14" namo_target_frame="detail" src="frameside.htm">
            <frame name="index" scrolling="yes" marginwidth="20" marginheight="14" src="framecenter.htm" noresize namo_target_frame="_self">
        </frameset>
        <noframes>
        <body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
        <p>To view this page correctly, you need a Web browser that supports frames.</p>
        </body>
        </noframes>
    </frameset>
    </html>
    FrameCenter:
    <html><head><title>Company Name LLP</title>
    <style type="text/css">
    <!--
    /* This CD-rom was created and formatted the New York Office of Company LLP */
    -->
    .header1 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 36px;
    text-align: left;
    line-height: 42px;
    color: #1B487E;
    font-style: oblique;
    margin: 0px;
    padding: 0px;
    .header2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 17px;
    text-align: left;
    line-height: 24px;
    font-style: normal;
    font-weight: normal;
    color: #545454;
    margin: 0px;
    padding-top: 12px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    .header3 {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #545454;
    font-weight: bold;
    .confidential {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #600;
    letter-spacing: 2px;
    padding-top: 11px;
    padding-bottom: 12px;
    .header4 {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #600;
    letter-spacing: 2px;
    padding-top: 12px;
    .footer {
    color: #545454;
    font-family: verdana, sans-serif;
    font-size: 8px;
    line-height: 15px;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: b6b1ac;
    padding-top: 5px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    margin-top: 20px;
    text-decoration: none;
    .footer A {
    COLOR: #545454; TEXT-DECORATION: none
    .footer A:hover {
    COLOR: #600; TEXT-DECORATION: none
    p {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 12px;
    text-align: justify;
    line-height: 18px;
    color: #545454;
    margin: 0px;
    padding: 0px;
    .p2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 12px;
    text-align: center; font-weight: bold;
    line-height: 18px;
    color: #545454;
    margin: 0px;
    padding: 0px;
    A:link {color: #545454; text-decoration: none}
    A:visited {color: #545454;text-decoration: none}
    A:active {color: #545454; text-decoration: none}
    A:hover { color: #545454; text-decoration: underline; }
    </style>
    <base target="_self"></head>
    <body>
    <table border="0" width="100%" cellpadding="4">
        <tr>
            <td width="661" colspan="3">
                <p class="confidential">CONFIDENTIAL</p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="661" colspan="3">
                <p class="header1">Name of Deal</p>
                <p class="header2">More info on deal<br>
    and more room here</p>
                <p class="header2">July 21, 2010</p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="541" colspan="3" height="0"></td>
            <td width="1" height="0"></td>
        </tr>
        <tr>
            <td width="541" colspan="3" valign="top">
                <p class="header4"><a href="PDFs/index.pdf" target="index">TABLE OF CONTENTS (PDF file)</a></p>        </td>
            <td width="0"></td>
        </tr>
        <tr>
            <td width="661" colspan="3" valign="top">
                <p class="header4">SECTION</p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <p> </P>
            <td width="629" colspan="2" valign="top">
                <p class="header3">subheading</p></td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num" align="right">    1.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/01.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num" align="right">    2.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/02.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num" align="right">    3.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/03.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" height="25" valign="top">
                <P class="num" align="right">    4.</P>        </td>
            <td width="629" height="25" colspan="2" valign="top">
                <p><a href="PDFs/04.pdf" target="index">dddd</a></p>        </td>
            <td width="0" height="25"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num" align="right">    5.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/05.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="661" colspan="3" valign="top">
                <p class="header4">SECTION</p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
          <td valign="top"><P class="num" align="right">    6.</P></td>
          <td colspan="2" valign="top"><p><a href="PDFs/06.pdf" target="index">dddd</a></p></td>
          <td> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num" align="right">    7.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/07.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num" align="right">    8.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/08.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num" align="right">    9.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/09.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num">  10.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/10.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num">  11.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/11.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num">  12.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/12.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top">
                <P class="num">  13.</P>        </td>
            <td width="629" colspan="2" valign="top">
                <p><a href="PDFs/13.pdf" target="index">dddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>a.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00a.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>b.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00b.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>c.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00c.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>d.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00d.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>e.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00e.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>f.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00f.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>g.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00g.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>h.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00h.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>i.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00i.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>j.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00j.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>k.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00k.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>l.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00l.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
        <tr>
            <td width="22" valign="top"> </td>
            <td width="11" valign="top">
                <p>m.</p>        </td>
            <td width="608" valign="top">
                <p><a href="PDFs/00m.pdf" target="index">ddd</a></p>        </td>
            <td width="0"> </td>
        </tr>
    </table>
    <div class="footer">
    NEW YORK / WASHINGTON, D.C. / LOS ANGELES / PALO ALTO / LONDON / PARIS / FRANKFURT / TOKYO / HONG KONG / BEIJING / MELBOURNE / SYDNEY
    <br>
    Street Name, New York, NY  / Phone 212 555 1212 / Fax 212 555 1212 / © 2012 Company LLP All Rights Reserved</div>
    </td>
    </body></html>
    FrameTop:
    <html><head><title>Company LLP</title>
    <style type="text/css">
    <!--
    /* This CD-rom was created and formatted by the New York Office of Company LLP */
    -->
    A:link {color: black; text-decoration: none}
    A:visited {color: black;text-decoration: none}
    A:active {color: black; text-decoration: none}
    A:hover { color: black; background: none; text-decoration: none }
    body {
    background-image: url(images/top_bar.gif);
    </style>
    <base target="_blank"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
    <a href="http:\\www.Company.com" border="0"><img src="images/sc_llp_logo.gif" alt="Company LLP"
       BORDER="0" width="310" height="70" hspace="40" align="right"></a>
    </body></html>
    Frameside:
    <html><head><title>Company LLP</title><base target="detail"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
    <!--
    body {
    background-image: url(images/side_bar.gif);
    -->
    A:link { color: #1B487E;text-decoration: none}
    A:visited {color: #1B487E;text-decoration: none}
    A:active {color: #1B487E; text-decoration: none}
    A:hover { color: #1B487E; text-decoration: underline; }
    </style></head>
    <body bgcolor="#ddeac6">
    <p style="margin-left: 5"> </p>
    <p style="margin-left: 5"> </p>
    <p style="margin-left: 5"><font face="Georgia" size="2" color="#1B487E"><b><em><a href="framecenter.htm" target="index">Table of Contents</a></em></b></font></p>
    <p style="margin-left: 5"><font face="Georgia" size="2" color="#1B487E"><b><em>
    <a target="_parent" href="dtSearch.html">Search This CD</a></em></b></font></p>
    </body></html>
    End of Code

Maybe you are looking for

  • Need Aiport Express Set-Up Help

    My goal: use Airport Express to stream music from iTunes to my home stereo. My problem: after 5 hours, several beers, and lots of swear words, I cannot get the amber light to stop blinking. My set-up is: OS: XP Home, SP2 (I believe) ISP: Qwest DSL Wi

  • 50HP95 cant get tv to turn on

    My power light keeps flashing on my tv. I cant get it to turn on now. I've tried to disconnected from a power source but it just doesn't work... any suggestions?

  • Database size: optimization: tuning

    Hi: I'm using Berkeley DB as it is supplied with MacOS 10.5.6 on an intel iMac with 2G of ram. On this machine, as well as on a more powerful machine with more memory I see the following: I'm loading a tied hash via Perl BerkeleyDB.pm with constant-l

  • Error msg: F5606

    HI When i was doing f-53(distribute diff), i got the error message F5 606-Specify account for the difference posting. i would like post this diff to GL, How to solve this issue?

  • MacBook Air update still running

    The latest update of OS X Yosemite could not be finished in 15 minutes. My MacBook Air was running the whole afternoon and still not finished in the evening after 5 hours. I've switched of the machine and restart it. The logon screen comes and I can