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

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).

  • 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

  • Tree Table is not getting refreshed properly in Jdev 11.1.2.0

    Hi,
    I am seeing a peculiar issue with tree table not getting refreshed in Jdev 11.1.2.0.
    Let me explain you my use case.
    I have a tree table in a page, where the first column is displayed as selectBooleanRadio component. When user selects this selectBooleanRadio component, that treetable node should get expanded and at the same time all the child records(I have a select boolean check box component(transient attribute) at the child level) for that node should get selected. This is to allow user to unselect the child records, which he/she does not want to process further(some functionality).
    Now when the user selects any radio button, the tree table node is not expanded, but the arrow beside the radio button for that node can be seen as expanded.
    I thought it may be a partial trigger issue, so i tried refreshing the tree table programatically as well. But it was of no use.
    Then I set the partial triggers wrt to SelectBooleanRadio component on the parent container of the TreeTable. After which somehow the node got expanded but the tree table shrinks in width and the actual disclosure functionality of a tree table is lost.
    The same use case works perfectly fine in Jdev 11.1.1.5.
    For reference:
    I created a sample test case(Dept/Emp) in jdev version 11.1.1.5, which works fine. Workspace: http://adf-use-cases.googlecode.com/files/TreeTable1.rar
    But the same test case, when i created in jdev version 11.1.2.0, gives issues. Workspace: http://adf-use-cases.googlecode.com/files/TreeTableUseCase.rar
    If you download the application and run in respective jdev version, you will get to know more about the issue.
    Please let me know, If I am doing anything wrong in the implementation of this use case.
    Any help/suggestions are appreciated.
    Thanks
    Umesh
    Note: My complete application is in Jdev 11.1.2.0, so I can't degrade my jdev version to 11.1.1.5.

    Thanks Frank for the reply.
    But upgrading the jdeveloper to 11.1.2.2 is not an ideal solution for us now, because of the size of the project.
    Some how, the issue of refreshing the tree table is resolved. I am using a command button with clientComponent to true and causing a full page refresh.
    I am not sure, if this is a perfect solution.
    As you said, that this behavior may be an issue with the Jdev version 11.1.2.0, I am using. I am going with the above said approach.

  • Tree table is not reflecting the updated model data changes at the front end

    I have two tables ,
    1) Provider table(tree table)  2)member table
    I have implemented drag and drop functionality using jQuery UI on both tables.
    In my scenario when I drag a member from the member table and drop it on the Provider table and also when I delete an assigned member from the provider table I will update the data fetched from odata model and again I will call the method which binds the data to the provider table so that the table will reflect the changes.
    here is the code,
    on drop:
    $("#Provider tbody tr").droppable({
      drop: function(event){
           oController.AssignMember(oProviderId, oMemberId)
      }).disableSelection();
    Assign member function:   here am updating the model.
    AssignMember : function(oProviderId, oMemberId){
      var oModel = new sap.ui.model.odata.ODataModel("../../../services/provider.xsodata/", true);
      var oParameters = {};
      oParameters.PROVIDER_ID = oProviderId;
      oParameters.MEMBER_ID = oMemberId;
      oParameters.CREATED_ON = new Date();
      oModel.setHeaders({"content-type" : "application/json;charset=utf-8"});
      oModel.create( "/PROVIDERMEMBERS", oParameters, null, function() {
      var oController = sap.ui.controller("adsm.provider.member_assignment_view");
      oController.GetProviderData();
      },function(jqXHR) {
      var errorMessage = jqXHR.response.body;
      var jsondata = JSON.parse(errorMessage);
      sap.ui.commons.MessageBox.alert(jsondata.error.message.value);
    GetProviderData function: here i bind the data to the table
    GetProviderData: function(){
    var oModel = new sap.ui.model.odata.ODataModel("../../../services/provider.xsodata/", true);
    var Context = "/PROVIDERS?expand=ASSIGNEDMEMBERS&$select=NAME,ID,ASSIGNEDMEMBERS/NAME,ASSIGNEDMEMBERS/ID,ASSIGNEDMEMBERS/PROVIDER_ID";
      var oTable = sap.ui.getCore().byId("tblProviders");
      oModel.read(Context, null, null, true, onSuccess, onError);
      function onSuccess(oEventdata){
      var outputJson = {};
      var p = 0;
      var r = {};
      if (oEventdata) {
      r = oEventdata;
      try {
      if (oEventdata.d){
      r = oEventdata.d;
      } catch(e){
      //alert('oEventdata.d failed');
      try {
      if (oEventdata.d.results){
      r = oEventdata.d.results;
      } catch(e){
      //alert('oEventdata.d.results failed');
      try {
      if (oEventdata.results){
      r = oEventdata.results;
      } catch(e){
      //alert('oEventdata.results failed');
      $.each(r, function(i, j) {
      outputJson[p] = {};
      outputJson[p]["NAME"] = j.NAME;
      outputJson[p]["ID"] = j.ID;
      outputJson[p]["PROVIDER_ID"] = j.ID;
      outputJson[p]["DELETE"] = 0;
      var m = 0;
      if (j.ASSIGNEDMEMBERS.results.length > 0) {
      $.each(j.ASSIGNEDMEMBERS.results, function(a,b) {
      outputJson[p][m] = { NAME: b.NAME,
      ID : b.ID,
      PROVIDER_ID: b.PROVIDER_ID,
      DELETE: 1};
      m++;
      p++;
    var oModel = new sap.ui.model.json.JSONModel();
      oModel.setData(outputJson);
      oTable.setModel(oModel);
      function onError(oEvent){
      console.log("Error on Provider Members");
    oTable.bindRows({
      path:"/"
    Its working fine in chrome but in IE the model data gets updated but the table is not reflecting the changes at front end.Can anyone suggest me a possible solution to fix this?
    Please have a look at the attached screen shots.
    Best regards,
    Amala Suganya.

    Hi Amala,
    I think this will help you:
    Disabling Cache for CRUD/FI OData scenarios for a UI5 Application on Internet Explorer
    Kind regards,
    RW

  • 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

  • Tree Table icons not getting cleared even after applying the CSS

    Hi,
    I need to change the tree table expanded and collapsed and the lead node icon.
    Leaf node icon is getting changed properly but the remaining two are appled improperly.
    In the background the old default image is getting redered and on top of that the newly given image is shown.
    These are .css statemets used for changing the icons.
    af|treeTable::expanded-icon{content:url(/org/calwin/ui/superweb/image/yellowBlueMarker-minus_trans.gif);
    background: none ;}
    af|treeTable::collapsed-icon{content:url(/org/calwin/ui/superweb/image/yellowBlueMarker_trans_plus.gif);
    background: none}
    af|treeTable::leaf-icon{content:url(/org/calwin/ui/superweb/image/blueCircleMarker_trans.gif);
                                 background: none}
    Can someone suggest a solution for this.
    Thanks,
    Praveen.

    Hi Frank,
    I tried including -tr-inhibit:all;
    but it didn't work.
    Here's my skin registration tag in trinidaad-skins.xml
    <skin>
    <id>customSkin.desktop</id>
    <family>CustomSkin</family>
    <extends>fusion.desktop</extends>
    <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
    <style-sheet-name>org/calwin/ui/superweb/skin/css/customFusion.css</style-sheet-name>
    </skin>
    Can there be any other reason for not being applied properly.
    The images mentioned in the css are properly rendered but in the background
    default images are still coming.
    Please suggest..

  • 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 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

  • 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

  • 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

  • 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

  • ADF Faces - Table update not completely rendered

    Hi,
    [ myfaces 1.1.3 + ADF version 10.1.3.0.4 ]
    I have a problem with Table component, changing a value of the inputText components will not update the output component also inside the table. At least not rendered to HTML, the view-tree contains the updated values. Below I have added a part of the jsp-code + a part of the view-tree of the log.
    Changing the value of the inputText with id="salesInput" should trigger an update to the otherSales value in the footer facet in the same column, but it isn't (in the browser).
    So I added multiple outputText components on different places in the table to find out if they were updated. I have also added an inputText component with id="test" outside of the table component, this one is properly updating all the otherSales values.
    If I change the values on the inputText component with id="salesInput" only the outputText with "salesOutput2" is updated in the browser, the one in the footer facet still contains the previous value. (only a browser refresh is fetching the correct values).
    What's the problem why it's not rendered to HTML, tree-view contains right values. Can I force the rendering ?
    Did I miss properties, attributes ?
    Any ideas...
    Your Help is really appreciated.
    Thanks,
    Bas van Oudenaarde
    part of the jsp:
    <af:table id="data" value="#{myManagedBean.allGeographicalData}"
    var="row" partialTriggers="salesInput test" varStatus="myTable">
    <af:column id="salesColumn" sortProperty="sales" sortable="true" width="30%">
    <f:facet name="header">
    <af:outputText value="#{msg._column_3_Header}"/>
    </f:facet>
    <af:inputText id="salesInput" immediate="true" value="#{row.sales}" columns="8" autoSubmit="true"                     valueChangeListener="#{myManagedBean.updateOtherSales}" />
    <af:outputText id="salesOutput2" partialTriggers="salesInput" value="#{myManagedBean.otherSales}" />
    <f:facet name="footer">
    <af:outputText id="salesOutput" partialTriggers="salesInput" value="#{myManagedBean.otherSales}"/>
    </f:facet>
    </af:column>
    <af:table>
    <af:inputText id="test" value="#{myManagedBean.bla}" immediate="true" columns="8" autoSubmit="true"                     valueChangeListener="#{myManagedBean.updateOtherSales}" />
    <af:outputText id="outsideTheTable" partialTriggers="salesInput" value="#{myManagedBean.otherSales}"/>
    Log output, changing the value of inputText component within the table component. Here you can see that all values are updated to 92 in the view-tree!!! On the screen however it still shows the previous value in the outputText components expect for the outputText with id=salesOutput2 :
    <UIViewRoot id="NULL" FORMER_CHILD_IDS="[_idJsp0]" family="javax.faces.ViewRoot" locale="en" renderKitId="oracle.adf.core" rendered="true" rendererType="NULL" rendersChildren="false" transient="false" viewId="/pages/panel.jsp">
    <oracle.adf.view.faces.component.core.data.CoreColumn id="salesColumn" FORMER_CHILD_IDS="[salesInput, salesOutput2]" partialTriggers="[Ljava.lang.String;@67e9f0f6" width="30%" FORMER_FACET_NAMES="[footer, header]" sortProperty="sales" sortable="true" rendererType="oracle.adf.Column" attributeChangeListener="NULL" attributeChangeListeners="NULL" bandingShade="NULL" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" footer="NULL" formatType="text" gridVisible="true" header="NULL" headerNoWrap="false" headerText="NULL" inlineStyle="NULL" noWrap="false" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@67e9f0f6" rendered="true" rendererType="oracle.adf.Column" rendersChildren="NULL" rowHeader="false" separateRows="false" shortDesc="NULL" sortProperty="sales" sortable="true" styleClass="NULL" transient="NULL" width="30%">
              <oracle.adf.view.faces.component.core.output.CoreOutputText id="salesOutput2" value="92" partialTriggers="[Ljava.lang.String;@600d70f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@600d70f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
    <oracle.adf.view.faces.component.core.output.CoreOutputText id="salesOutput" facetName="footer" value="92" partialTriggers="[Ljava.lang.String;@679eb0f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@679eb0f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
    </oracle.adf.view.faces.component.core.data.CoreColumn>
    <oracle.adf.view.faces.component.core.output.CoreOutputText id="outsideTheTable" value="92" partialTriggers="[Ljava.lang.String;@73e070f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@73e070f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
    </oracle.adf.view.faces.component.html.HtmlCellFormat>
    </oracle.adf.view.faces.component.html.HtmlRowLayout>
    </oracle.adf.view.faces.component.html.HtmlTableLayout>
    </oracle.adf.view.faces.component.core.CoreForm>
    </oracle.adf.view.faces.component.core.CoreDocument>
    </UIViewRoot>

    In EA14, the return from the dialog required a full-page refresh (whether the dialog was launched with PPR or not didn't matter). In EA15, it's done with PPR if possible. This avoids the flash (and re-scrolling, etc.), but means you do need to tell us what's going to get changed because of the return. You can use partialTriggers on the table with the "id" of the button to make this happen.

Maybe you are looking for