Expand first node of pannel accordion initially

i have a navigation pane when clicked on navigation item panel accordion gets displayed when clicked on panel accordion disclosure listener gets called and tree is displayed i want that when navigation item is clicked first node of the panel accordion should be expanded containing child of the tree.is there any way to do so???
Edited by: 935592 on May 21, 2012 2:11 AM

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document title="untitled1.jsf" id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelStretchLayout id="psl1" bottomHeight="19px">
<f:facet name="bottom"/>
<f:facet name="center">
<af:panelStretchLayout id="psl2">
<f:facet name="center">
<af:panelSplitter id="ps1">
<f:facet name="first">
<af:panelAccordion id="pa1" partialTriggers="::np1">
<af:forEach items="#{bindings.VerticalMenus.children}" var="row">
<af:showDetailItem text="#{row.MenuLabel}" id="sdi1"
disclosureListener="#{appmenusbean.getid}"
disclosed="true" partialTriggers="np1">
<f:attribute name="currentMenu" value="#{row.MenuId}"/>
<af:tree value="#{bindings.treeeVO.treeModel}" var="node"
selectionListener="#{bindings.treeeVO.treeModel.makeCurrent}"
rowSelection="single" id="t1">
<f:facet name="nodeStamp">
<af:group id="g1">
<af:commandLink id="ot1" text="#{node.MenuLabel}"
actionListener="#{applicationScope.regionbean.selectedTreeValue}">
<f:attribute name="menuId" value="#{node.MenuDestination}"/>
</af:commandLink>
</af:group>
</f:facet>
</af:tree>
</af:showDetailItem>
</af:forEach>
</af:panelAccordion>
</f:facet>
<f:facet name="second">
<af:region value="#{bindings.dynamicRegion2.regionModel}" id="r1"/>
</f:facet>
</af:panelSplitter>
</f:facet>
<f:facet name="top">
<af:navigationPane id="np1">
<af:forEach items="#{bindings.GlobalMenusVO.children}" var="row">
<af:commandNavigationItem text="#{row.MenuLabel}" id="cni1"
actionListener="#{appmenusbean.makeCurrent}"
showRequired="true" rendered="true">
<f:attribute name="currentMenuId" value="#{row.MenuId}"/>
</af:commandNavigationItem>
</af:forEach>
</af:navigationPane>
</f:facet>
</af:panelStretchLayout>
</f:facet>
<f:facet name="top"/>
</af:panelStretchLayout>
</af:form>
</af:document>
</f:view>
i think its not about task flow.Tree doesn't get refreshed at first time but when i collapse and than expand pannel accordion tree is refreshed.....
i just want Tree to be filled inside panel accordion with first node of panel accordion expended as navigation item is clicked
Edited by: 935592 on May 21, 2012 3:27 AM

Similar Messages

  • Tree table-initially expand all nodes raises error when closing a node 11g

    Hello,
    Frank Nimphius posted a blog entry about how to initially display all the nodes in a tree or table here:
    [http://thepeninsulasedge.com/frank_nimphius/2007/12/19/adf-faces-rc-initially-expanding-all-nodes-in-a-tree-or-tree-table/|http://thepeninsulasedge.com/frank_nimphius/2007/12/19/adf-faces-rc-initially-expanding-all-nodes-in-a-tree-or-tree-table/]
    This works very well. However, when the user tries to close a node, a NullPointerException is thrown.
    Below is the stacktrace.
    Does anyone know how to work around that issue?
    java.lang.NullPointerException
         at org.apache.myfaces.trinidad.model.RowKeySetTreeImpl$Search.find(RowKeySetTreeImpl.java:608)
         at org.apache.myfaces.trinidad.model.RowKeySetTreeImpl._setContained(RowKeySetTreeImpl.java:496)
         at org.apache.myfaces.trinidad.model.RowKeySetTreeImpl.add(RowKeySetTreeImpl.java:97)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.decodeDisclosedRowKeys(TableRendererUtils.java:774)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.decodeIncompatiblePropertyKey(BaseTableRenderer.java:198)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:203)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1089)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:714)
         at org.apache.myfaces.trinidad.component.UIXTreeTable.decode(UIXTreeTable.java:133)
         at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1113)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1030)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at oracle.adf.view.rich.component.fragment.UIXPageTemplate.invokeOnComponent(UIXPageTemplate.java:208)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:664)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:303)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at edu.wisc.csa.web.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:66)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at edu.wisc.csa.web.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:36)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:85)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:257)
         at oracle.security.jps.wls.JpsWlsSubjectResolver.runJaasMode(JpsWlsSubjectResolver.java:250)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:100)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    OK I have tried Frank's suggestion about the 2 entries in the managed bean and it works but I cannot collapse my child node !
    I have a Master-Detail-Detail setup.
    In the Grandparent I have this :
    RowKeySet rks = new RowKeySet(true);
    table1.setDisclosureState(rks);
    this.grandParentTable = table1;
    and in my Parent table I have this :
    RowKeySet rks = new RowKeySet(true);
    table2.setDisclosureState(rks);
    this.parentTable = table2;
    ie the same.
    In my child I have nothing just the default accessors.
    The collapse works OK for the Grandparent but when I click Hide for the Parent it does not do anything - no error message either.
    cheers

  • Tree display not updating when adding first node to expanded node

    Hi
    Please have a look at the following code. To reproduce the faulty behaviour you have to expand the item, then click "add" button and observe, that nothing happens. Collapsing, then expanding the node shows the added children. I use Flex 3.5.0
    Is this a bug in the SDK or am I missing some auto update switch?
    Thanks!!
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal"
         minWidth="955" minHeight="600"
         creationComplete="run()">
         <mx:Tree id="tree" width="300" height="500" labelField="name" />
         <mx:Button label="add" click="onClickAdd()" />
         <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   import mx.utils.ObjectProxy;
                   protected var itm1:Object;
                   protected function run() : void
                        var ac:ArrayCollection = new ArrayCollection();
                        this.itm1 = new ObjectProxy({name:"1", children:new ArrayCollection()});
                        ac.addItem(this.itm1);
                        this.tree.dataProvider = ac;
                   protected function onClickAdd() : void
                        this.itm1.children.addItem({name:"child"});
              ]]>
         </mx:Script>
    </mx:Application>

    Yep, that works! Thanks! Would have never thought of that...
    Here is my modified code:
              <mx:Tree id="tree" width="300" height="500" labelField="name"
              dataDescriptor="{new DefaultDataDescriptor2()}"
              />
    and new class
    package de.byteconsult.controls.tree
         import mx.collections.ICollectionView;
         import mx.controls.treeClasses.DefaultDataDescriptor;
         public class DefaultDataDescriptor2 extends DefaultDataDescriptor
              public function DefaultDataDescriptor2()
                   super();
              override public function hasChildren(node:Object, model:Object=null) : Boolean
                   var children:ICollectionView = this.getChildren(node, model);
                   return children != null;

  • Expanding Tree nodes in Web Dynpro

    Hi,
    I have created a recursive tree with two main nodes. These nodes contain subnodes.
    The filling of these nodes has been done in wdDoInit().
    The problem is that whenever I expand the second node, the first node also gets expanded.. even when it (first node) is not expanded.
    When I go to some other window and then come back to this window (wdModify()),it works properly. i.e. the first node does not get expanded.
    Plz help........
    Thanks in Advance.
    Regards,
    harshada.

    Hi Harshada
    It looks strange to me that you use two main nodes on the first level. In the most cases it's enough to have only one node for each level of a tree.
    Are the two nodes mapped to the same context node? If so you do not need the second node I think. Because when the first node is expanded the mapped context node will get the corresponding lead selection. But the lead selection will influence on the second node as well. That's why the tho nodes expand simultaneously.
    BR
    Sergei

  • Failure at final check of Oracle CRS stack. 10 on the first node.

    Hi everyone
    I trying to install an Oracle RAC 10gr2 on an Oracle Enterprise Linux AS release 4 (October Update 7) , but I'm having this problem
    root@fporn01 crs# ./root.sh
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up NS directories
    Oracle Cluster Registry configuration upgraded successfully
    clscfg: EXISTING configuration version 3 detected.
    clscfg: version 3 is 10G Release 2.
    assigning default hostname fporn01 for node 1.
    assigning default hostname fporn02 for node 2.
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: fporn01 fporn01-priv fporn01
    node 2: fporn02 fporn02-priv fporn02
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Oracle Cluster Registry for cluster has already been initialized
    Startup will be queued to init within 90 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Failure at final check of Oracle CRS stack.
    +10+
    forget about the node names!!!!
    but on the second node everything went fine, so I'm sure this is not a connectivity issue.
    the iptables service is stopped and disabled
    check the results after running the root.sh script
    root@fporn02 ~# /u01/app/crs/root.sh
    Checking to see if Oracle CRS stack is already configured
    +/etc/oracle does not exist. Creating it now.+
    Setting the permissions on OCR backup directory
    Setting up NS directories
    Oracle Cluster Registry configuration upgraded successfully
    clscfg: EXISTING configuration version 3 detected.
    clscfg: version 3 is 10G Release 2.
    assigning default hostname fporn01 for node 1.
    assigning default hostname fporn02 for node 2.
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: fporn01 fporn01-priv fporn01
    node 2: fporn02 fporn02-priv fporn02
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Oracle Cluster Registry for cluster has already been initialized
    Startup will be queued to init within 90 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    CSS is active on these nodes.
    fporn02
    CSS is inactive on these nodes.
    fporn01
    Local node checking complete.
    Run root.sh on remaining nodes to start CRS daemons.
    this is the log of crs on the first node
    root@fporn01 bin# cat /u01/app/crs/log/fporn01/alertfporn01.log
    +2009-06-24 17:27:37.695+
    client(9045)CRS-1006:The OCR location /u02/oradata/orcl/OCRFile_mirror is inaccessible. Details in /u01/app/crs/log/fporn01/client/ocrconfig_9045.log.
    +2009-06-24 17:27:37.741+
    client(9045)CRS-1001:The OCR was formatted using version 2.
    +2009-06-24 17:28:24.544+
    client(9092)CRS-1801:Cluster pdb-rac configured with nodes fporn01 fporn02 .
    this is the log of crs on the second node
    root@fporn02 ~# cat /u01/app/crs/log/fporn02/alertfporn02.log
    +2009-06-24 18:09:09.307+
    cssd(16991)CRS-1605:CSSD voting file is online: /u02/oradata/orcl/CSSFile. Details in /u01/app/crs/log/fporn02/cssd/ocssd.log.
    +2009-06-24 18:09:09.307+
    cssd(16991)CRS-1605:CSSD voting file is online: /u02/oradata/orcl/CSSFile_mirror1. Details in /u01/app/crs/log/fporn02/cssd/ocssd.log.
    +2009-06-24 18:09:09.310+
    cssd(16991)CRS-1605:CSSD voting file is online: /u02/oradata/orcl/CSSFile_mirror2. Details in /u01/app/crs/log/fporn02/cssd/ocssd.log.
    +2009-06-24 18:09:12.441+
    cssd(16991)CRS-1601:CSSD Reconfiguration complete. Active nodes are fporn02 .
    I have rechecked the Remote Access / User Equivalence
    after run the OCRCHECK command ia have this information
    root@fporn01 bin# ./ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 2
    Total space (kbytes) : 262144
    Used space (kbytes) : 312
    Available space (kbytes) : 261832
    ID : 255880615
    Device/File Name : /u02/oradata/orcl/OCRFile
    Device/File integrity check succeeded
    Device/File Name : /u02/oradata/orcl/OCRFile_mirror
    Device/File integrity check succeeded
    Cluster registry integrity check succeeded
    on the second node i get the same output
    root@fporn02 bin# ./ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 2
    Total space (kbytes) : 262144
    Used space (kbytes) : 312
    Available space (kbytes) : 261832
    ID : 255880615
    Device/File Name : /u02/oradata/orcl/OCRFile
    Device/File integrity check succeeded
    Device/File Name : /u02/oradata/orcl/OCRFile_mirror
    Device/File integrity check succeeded
    Cluster registry integrity check succeeded
    I have reviewed the following metalink notes but none of them seems to solve my problem
    *344994.1*
    *240001.1*
    *725878.1*
    *329450.1*
    *734221.1*
    I have done a research trough many forums, but always the fail is on the second node, but my fail is on the first node.
    I hope anyone could help me.
    this is the output of cluvfy
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "fporn01"
    Destination Node Reachable?
    fporn01 yes
    fporn02 yes
    Result: Node reachability check passed from node "fporn01".
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name Comment
    fporn02 passed
    fporn01 passed
    Result: User equivalence check passed for user "oracle".
    Checking administrative privileges...
    Check: Existence of user "oracle"
    Node Name User Exists Comment
    fporn02 yes passed
    fporn01 yes passed
    Result: User existence check passed for "oracle".
    Check: Existence of group "oinstall"
    Node Name Status Group ID
    fporn02 exists 501
    fporn01 exists 501
    Result: Group existence check passed for "oinstall".
    Check: Membership of user "oracle" in group "oinstall" as Primary
    Node Name User Exists Group Exists User in Group Primary Comment
    fporn02 yes yes yes yes passed
    fporn01 yes yes yes yes passed
    Result: Membership check for user "oracle" in group "oinstall" as Primary passed.
    Administrative privileges check passed.
    Checking node connectivity...
    Interface information for node "fporn02"
    Interface Name IP Address Subnet
    eth0 10.218.108.245 10.218.108.0
    eth1 192.168.1.2 192.168.1.0
    Interface information for node "fporn01"
    Interface Name IP Address Subnet
    eth0 10.218.108.244 10.218.108.0
    eth1 192.168.1.1 192.168.1.0
    eth2 172.16.9.210 172.16.9.0
    Check: Node connectivity of subnet "10.218.108.0"
    Source Destination Connected?
    fporn02:eth0 fporn01:eth0 yes
    Result: Node connectivity check passed for subnet "10.218.108.0" with node(s) fporn02,fporn01.
    Check: Node connectivity of subnet "192.168.1.0"
    Source Destination Connected?
    fporn02:eth1 fporn01:eth1 yes
    Result: Node connectivity check passed for subnet "192.168.1.0" with node(s) fporn02,fporn01.
    Check: Node connectivity of subnet "172.16.9.0"
    Result: Node connectivity check passed for subnet "172.16.9.0" with node(s) fporn01.
    Suitable interfaces for the private interconnect on subnet "10.218.108.0":
    fporn02 eth0:10.218.108.245
    fporn01 eth0:10.218.108.244
    Suitable interfaces for the private interconnect on subnet "192.168.1.0":
    fporn02 eth1:192.168.1.2
    fporn01 eth1:192.168.1.1
    ERROR:
    Could not find a suitable set of interfaces for VIPs.
    Result: Node connectivity check failed.
    Checking system requirements for 'crs'...
    Check: Total memory
    Node Name Available Required Comment
    fporn02 7.93GB (8310276KB) 512MB (524288KB) passed
    fporn01 7.93GB (8310276KB) 512MB (524288KB) passed
    Result: Total memory check passed.
    Check: Free disk space in "/tmp" dir
    Node Name Available Required Comment
    fporn02 9.57GB (10037300KB) 400MB (409600KB) passed
    fporn01 9.55GB (10012168KB) 400MB (409600KB) passed
    Result: Free disk space check passed.
    Check: Swap space
    Node Name Available Required Comment
    fporn02 8.81GB (9240568KB) 1GB (1048576KB) passed
    fporn01 8.81GB (9240568KB) 1GB (1048576KB) passed
    Result: Swap space check passed.
    Check: System architecture
    Node Name Available Required Comment
    fporn02 i686 i686 passed
    fporn01 i686 i686 passed
    Result: System architecture check passed.
    Check: Kernel version
    Node Name Available Required Comment
    fporn02 2.6.9-78.0.0.0.1.ELhugemem 2.4.21-15EL passed
    fporn01 2.6.9-78.0.0.0.1.ELhugemem 2.4.21-15EL passed
    Result: Kernel version check passed.
    Check: Package existence for "make-3.79"
    Node Name Status Comment
    fporn02 make-3.80-7.EL4 passed
    fporn01 make-3.80-7.EL4 passed
    Result: Package existence check passed for "make-3.79".
    Check: Package existence for "binutils-2.14"
    Node Name Status Comment
    fporn02 binutils-2.15.92.0.2-25 passed
    fporn01 binutils-2.15.92.0.2-25 passed
    Result: Package existence check passed for "binutils-2.14".
    Check: Package existence for "gcc-3.2"
    Node Name Status Comment
    fporn02 gcc-3.4.6-10.0.1 passed
    fporn01 gcc-3.4.6-10.0.1 passed
    Result: Package existence check passed for "gcc-3.2".
    Check: Package existence for "glibc-2.3.2-95.27"
    Node Name Status Comment
    fporn02 glibc-2.3.4-2.41 passed
    fporn01 glibc-2.3.4-2.41 passed
    Result: Package existence check passed for "glibc-2.3.2-95.27".
    Check: Package existence for "compat-db-4.0.14-5"
    Node Name Status Comment
    fporn02 compat-db-4.1.25-9 passed
    fporn01 compat-db-4.1.25-9 passed
    Result: Package existence check passed for "compat-db-4.0.14-5".
    Check: Package existence for "compat-gcc-7.3-2.96.128"
    Node Name Status Comment
    fporn02 missing failed
    fporn01 missing failed
    Result: Package existence check failed for "compat-gcc-7.3-2.96.128".
    ++Check: Package existence for "compat-gcc-c++-7.3-2.96.128"++
    Node Name Status Comment
    fporn02 missing failed
    fporn01 missing failed
    ++Result: Package existence check failed for "compat-gcc-c++-7.3-2.96.128".++
    ++Check: Package existence for "compat-libstdc++-7.3-2.96.128"++
    Node Name Status Comment
    fporn02 missing failed
    fporn01 missing failed
    ++Result: Package existence check failed for "compat-libstdc++-7.3-2.96.128".++
    ++Check: Package existence for "compat-libstdc++-devel-7.3-2.96.128"++
    Node Name Status Comment
    fporn02 missing failed
    fporn01 missing failed
    ++Result: Package existence check failed for "compat-libstdc++-devel-7.3-2.96.128".++
    Check: Package existence for "openmotif-2.2.3"
    Node Name Status Comment
    fporn02 openmotif-2.2.3-10.2.el4 passed
    fporn01 openmotif-2.2.3-10.2.el4 passed
    Result: Package existence check passed for "openmotif-2.2.3".
    Check: Package existence for "setarch-1.3-1"
    Node Name Status Comment
    fporn02 setarch-1.6-1 passed
    fporn01 setarch-1.6-1 passed
    Result: Package existence check passed for "setarch-1.3-1".
    Check: Group existence for "dba"
    Node Name Status Comment
    fporn02 exists passed
    fporn01 exists passed
    Result: Group existence check passed for "dba".
    Check: Group existence for "oinstall"
    Node Name Status Comment
    fporn02 exists passed
    fporn01 exists passed
    Result: Group existence check passed for "oinstall".
    Check: User existence for "nobody"
    Node Name Status Comment
    fporn02 exists passed
    fporn01 exists passed
    Result: User existence check passed for "nobody".
    System requirement failed for 'crs'
    Pre-check for cluster services setup was unsuccessful on all the nodes.

    forget about my last post, it was my mistake, I rebooted the server and the clustered file system service did not start up at boot time.
    sorry
    this is what I really got in /var/log/messages
    after manually running crs daemons
    Jun 26 16:43:07 fporn01 su(pam_unix)[10020]: session opened for user oracle by (uid=0)
    Jun 26 16:43:07 fporn01 su(pam_unix)[10020]: session closed for user oracle
    Jun 26 16:43:07 fporn01 logger: Cluster Ready Services completed waiting on dependencies.
    Jun 26 16:44:07 fporn01 su(pam_unix)[9977]: session opened for user oracle by (uid=0)
    Jun 26 16:45:31 fporn01 su(pam_unix)[10293]: session opened for user oracle by (uid=0)
    Jun 26 16:45:32 fporn01 su(pam_unix)[10293]: session closed for user oracle
    Jun 26 16:45:32 fporn01 logger: Cluster Ready Services completed waiting on dependencies.
    Jun 26 16:45:40 fporn01 su(pam_unix)[10351]: session opened for user oracle by (uid=0)
    Jun 26 16:45:40 fporn01 su(pam_unix)[10351]: session closed for user oracle
    Jun 26 16:45:40 fporn01 su(pam_unix)[10415]: session opened for user oracle by (uid=0)
    Jun 26 16:45:40 fporn01 su(pam_unix)[10415]: session closed for user oracle
    Jun 26 16:45:40 fporn01 logger: Cluster Ready Services completed waiting on dependencies.
    Jun 26 16:46:32 fporn01 su(pam_unix)[10591]: session opened for user oracle by (uid=0)
    Jun 26 16:46:40 fporn01 logger: Running CRSD with TZ =
    after running ps -ef | grep -E 'init|d.bin|ocls|oprocd|diskmon|evmlogger|PID'
    [root@fporn01 ~]# ps -ef | grep -E 'init|d.bin|ocls|oprocd|diskmon|evmlogger|PID'
    UID PID PPID C STIME TTY TIME CMD
    root 1 0 0 15:33 ? 00:00:00 init [5]
    root 9869 7951 0 16:40 pts/1 00:00:00 [init.crsd] <defunct>
    oracle 10053 9977 0 16:44 ? 00:00:00 /u01/app/crs/bin/evmd.bin
    root 10249 7951 0 16:45 pts/1 00:00:00 /bin/sh /etc/init.d/init.cssd fatal
    root 10341 7951 0 16:45 pts/1 00:00:00 /u01/app/crs/bin/crsd.bin reboot
    root 10551 10249 0 16:46 pts/1 00:00:00 /bin/sh /etc/init.d/init.cssd daemon
    oracle 10618 10592 0 16:46 ? 00:00:00 /u01/app/crs/bin/ocssd.bin
    oracle 10926 10053 0 16:46 ? 00:00:00 /u01/app/crs/bin/evmlogger.bin -o /u01/app/crs/evm/log/evmlogger.info -l /u01/app/crs/evm/log/evmlogger.log
    root 16658 9461 0 16:50 pts/2 00:00:00 grep -E init|d.bin|ocls|oprocd|diskmon|evmlogger|PID
    CRS daemons finally work
    *but i get this error when i run [oracle@fporn01 cluvfy]$ ./runcluvfy.sh stage -post crsinst -n fporn01,fporn02 -verbose*
    Performing post-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "fporn01"
    Destination Node                      Reachable?
    fporn01                               yes
    fporn02                               yes
    Result: Node reachability check passed from node "fporn01".
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name                             Comment
    fporn02                               passed
    fporn01                               passed
    Result: User equivalence check passed for user "oracle".
    ERROR:
    CRS is not installed on any of the nodes.
    Verification cannot proceed.
    Post-check for cluster services setup was unsuccessful on all the nodes.

  • Expand tree nodes

    Hi Experts,
    Working jdev 11.1.1.3.0.
    we are using tree component on the page which as 6 childs. so if i click on add button once it will add child to that node and once i click on save done will come back to tree page. so everything is working fine. but the problem is once the node is added child node is not expanding. to resolve this issue i am using tree object in session, but while using this process its taking lot of performance.
    manually i can able to expand the tree but if once i add node to the parent tree and coming back to the page node is not expanding i have to manually expand it.
    so can any one suggest me what could be the best approch to expand the tree.
    Thanks,

    Hi,
    Hope followings useful
    http://andrejusb.blogspot.com/2010/02/how-to-traverse-adf-tree.html
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/20-expand-tree-node-from-label-169156.pdf
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/21-expand-tree-on-initial-render-169158.pdf

  • How to display the first node in a nested folder?

    If my navigation structure has nested folders and the first page node is in a nested folder. Is it possible to have user click the outer folder and the first node displayed in the content area?

    Hi there,
    please refer to the document "Installing Patch 4 for Enterprise Portal 6.0 SP2" (EP6SP2Patch4_install_v5.pdf) to be found on Service Marketplace; there: "6.3 Navigation Enhancements", there: "6.3.2 Default Entry for Folder" & "6.3.4 DTN: Clicking Folder Name Launches First Node".
    This should answer your question if you think about nesting with one level (I don't think it works over more levels, imagin Folder A only with subfolders, for instance Folder AA with a page AAA under it. Clicking on A will not open AAA, I think, even if this is the first "displayable" element; but I didn't check it out).
    Hope it helps
    Detlev

  • Error Expanding Database Node :  ORA-00942 table or view does not exist

    I just installed the ODT for Visual Studio.NET. It installed fine and I can connect to my databases. However, I am having trouble expanding adatabase node to see all of its object nodes (tables, views, ...). I get the ORA-00942 error when connecting with a user id and password used by an application. If I use my personall user id an password, I can expand the database node. What table or view is it looking for that it cannot find? Is this something that our DBA has prevented? Any ideas would be appreciated.

    Only guessing, but I wouldn't expect an application id to have anything like the same rights as a normal id. I wouldn't expect it to have any rights to tables, just to stored procedures and/or views, but this would be up to the standards in your organisation. This will be something the DBA has done, probably granting the absolute minimum of rights to the application id. It might be looking for one of the system views, so if there's an option to ignore system objects try setting it.

  • Grid installation: root.sh failed on the first node on Solaris cluster 4.1

    Hi all,
    I'm trying to install the Grid (11.2.0.3.0) on the 2 node-clusters (OSC 4.1).
    When I run the root.sh on the first node, I got the out put as follow:
    xha239080-root-5.11# root.sh
    Performing root user operation for Oracle 11g
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /Grid/CRShome
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
    /usr/local/bin is read only. Continue without copy (y/n) or retry (r)? [y]:
    Warning: /usr/local/bin is read only. No files will be copied.
    Creating /var/opt/oracle/oratab file...
    Entries will be added to the /var/opt/oracle/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root script.
    Now product-specific root actions will be performed.
    Using configuration parameter file: /Grid/CRShome/crs/install/crsconfig_params
    Creating trace directory
    User ignored Prerequisites during installation
    OLR initialization - successful
    root wallet
    root wallet cert
    root cert export
    peer wallet
    profile reader wallet
    pa wallet
    peer wallet keys
    pa wallet keys
    peer cert request
    pa cert request
    peer cert
    pa cert
    peer root cert TP
    profile reader root cert TP
    pa root cert TP
    peer pa cert TP
    pa peer cert TP
    profile reader pa cert TP
    profile reader peer cert TP
    peer user cert
    pa user cert
    Adding Clusterware entries to inittab
    CRS-2672: Attempting to start 'ora.mdnsd' on 'xha239080'
    CRS-2676: Start of 'ora.mdnsd' on 'xha239080' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'xha239080'
    CRS-2676: Start of 'ora.gpnpd' on 'xha239080' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'xha239080'
    CRS-2672: Attempting to start 'ora.gipcd' on 'xha239080'
    CRS-2676: Start of 'ora.cssdmonitor' on 'xha239080' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'xha239080' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'xha239080'
    CRS-2672: Attempting to start 'ora.diskmon' on 'xha239080'
    CRS-2676: Start of 'ora.diskmon' on 'xha239080' succeeded
    CRS-2676: Start of 'ora.cssd' on 'xha239080' succeeded
    ASM created and started successfully.
    Disk Group DATA created successfully.
    clscfg: -install mode specified
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    CRS-4256: Updating the profile
    Successful addition of voting disk 9cdb938773bc4f16bf332edac499fd06.
    Successful addition of voting disk 842907db11f74f59bf65247138d6e8f5.
    Successful addition of voting disk 748852d2a5c84f72bfcd50d60f65654d.
    Successfully replaced voting disk group with +DATA.
    CRS-4256: Updating the profile
    CRS-4266: Voting file(s) successfully replaced
    ## STATE File Universal Id File Name Disk group
    1. ONLINE 9cdb938773bc4f16bf332edac499fd06 (/dev/did/rdsk/d10s6) [DATA]
    2. ONLINE 842907db11f74f59bf65247138d6e8f5 (/dev/did/rdsk/d8s6) [DATA]
    3. ONLINE 748852d2a5c84f72bfcd50d60f65654d (/dev/did/rdsk/d9s6) [DATA]
    Located 3 voting disk(s).
    Start of resource "ora.cssd" failed
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'xha239080'
    CRS-2672: Attempting to start 'ora.gipcd' on 'xha239080'
    CRS-2676: Start of 'ora.cssdmonitor' on 'xha239080' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'xha239080' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'xha239080'
    CRS-2672: Attempting to start 'ora.diskmon' on 'xha239080'
    CRS-2676: Start of 'ora.diskmon' on 'xha239080' succeeded
    CRS-2674: Start of 'ora.cssd' on 'xha239080' failed
    CRS-2679: Attempting to clean 'ora.cssd' on 'xha239080'
    CRS-2681: Clean of 'ora.cssd' on 'xha239080' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'xha239080'
    CRS-2677: Stop of 'ora.gipcd' on 'xha239080' succeeded
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'xha239080'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'xha239080' succeeded
    CRS-5804: Communication error with agent process
    CRS-4000: Command Start failed, or completed with errors.
    Failed to start Oracle Grid Infrastructure stack
    Failed to start Cluster Synchorinisation Service in clustered mode at /Grid/CRShome/crs/install/crsconfig_lib.pm line 1211.
    /Grid/CRShome/perl/bin/perl -I/Grid/CRShome/perl/lib -I/Grid/CRShome/crs/install /Grid/CRShome/crs/install/rootcrs.pl execution failed
    xha239080-root-5.11# history
    checking the ocssd.log, I see some thing as follow:
    2013-09-16 18:46:24.238: [    CSSD][1]clssscmain: Starting CSS daemon, version 11.2.0.3.0, in (clustered) mode with uniqueness value 1379371584
    2013-09-16 18:46:24.239: [    CSSD][1]clssscmain: Environment is production
    2013-09-16 18:46:24.239: [    CSSD][1]clssscmain: Core file size limit extended
    2013-09-16 18:46:24.248: [    CSSD][1]clssscmain: GIPCHA down 1
    2013-09-16 18:46:24.249: [    CSSD][1]clssscGetParameterOLR: OLR fetch for parameter logsize (8) failed with rc 21
    2013-09-16 18:46:24.250: [    CSSD][1]clssscExtendLimits: The current soft limit for file descriptors is 65536, hard limit is 65536
    2013-09-16 18:46:24.250: [    CSSD][1]clssscExtendLimits: The current soft limit for locked memory is 4294967293, hard limit is 4294967293
    2013-09-16 18:46:24.250: [    CSSD][1]clssscGetParameterOLR: OLR fetch for parameter priority (15) failed with rc 21
    2013-09-16 18:46:24.250: [    CSSD][1]clssscSetPrivEnv: Setting priority to 4
    2013-09-16 18:46:24.253: [    CSSD][1]clssscSetPrivEnv: unable to set priority to 4
    2013-09-16 18:46:24.253: [    CSSD][1]SLOS: cat=-2, opn=scls_mem_lockdown, dep=11, loc=mlockall
    unable to lock memory
    2013-09-16 18:46:24.253: [    CSSD][1](:CSSSC00011:)clssscExit: A fatal error occurred during initialization
    Do anyone have any idea what going on and how can I fix it ?

    Hi,
    solaris has several issues with DISM, e.g.:
    Solaris 10 and Solaris 11 Shared Memory Locking May Fail (Doc ID 1590151.1)
    Sounds like Solaris Cluster  has a similar bug. A "workaround" is to reboot the (cluster) zone, that "fixes" the mlock error. This bug was introduced with updates in september, atleast to our environment (Solaris 11.1). Prior i did not have the issue and now i have to restart the entire zone, whenever i stop crs.
    With 11.2.0.3 the root.sh script can be rerun without prior cleaning up, so you should be able to continue installation at that point after the reboot. After the root.sh completes some configuration assistants need to be run, to complete the installation. You need to execute this manually as you wipe your oui session
    Kind Regards
    Thomas

  • Xml parsing to get only first node.

    Hello,
    I am trying to parse the following xml tag. I want only the first node of the ORDER_PAYMENT_DETAIL element, and then other node element.
    I would appreciate your help.
    <ORDER_PAYMENTS>
    <ORDER_PAYMENT>
    <ORDER_NO>20000404</ORDER_NO>
    <PAYMENT_METHOD_ID>5</PAYMENT_METHOD_ID>
    <PAYMENT_SEQ_NO>0</PAYMENT_SEQ_NO>
    <CHARGE_AMOUNT>50</CHARGE_AMOUNT>
    <CHARGE_CURRENCY>USD</CHARGE_CURRENCY>
    <ORDER_PAYMENT_DETAILS>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>2</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>test1</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>1</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>CC</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>3</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>4222222222222</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>4</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>01</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>5</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>2012</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>10</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>AP53-7457490</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>11</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>ID575754W34623525SDT</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>12</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>KEY111222333444555FSDRT</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>2</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>test2</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>1</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>CC</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>3</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>4444444444444448</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>4</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>02</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>5</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>2013</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>10</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>AP53-7457490</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>11</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>ID575754W34623525SDT</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>12</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>KEY111222333444555FSDRT</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    </ORDER_PAYMENT_DETAILS>
    </ORDER_PAYMENT>
    <ORDER_PAYMENT>
    <ORDER_NO>20000404</ORDER_NO>
    <PAYMENT_METHOD_ID>1</PAYMENT_METHOD_ID>
    <PAYMENT_SEQ_NO>1</PAYMENT_SEQ_NO>
    <CHARGE_AMOUNT>10.47</CHARGE_AMOUNT>
    <CHARGE_CURRENCY>USD</CHARGE_CURRENCY>
    <ORDER_PAYMENT_DETAILS>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>2</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>test1</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>1</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>CC</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>3</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>4222222222222</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>4</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>01</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>5</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>2012</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>10</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>AP53-7457490</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>11</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>ID575754W34623525SDT</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>12</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>KEY111222333444555FSDRT</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>2</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>test2</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>1</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>CC</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>3</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>4444444444444448</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>4</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>02</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>5</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>2013</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>10</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>AP53-7457490</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>11</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>ID575754W34623525SDT</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    <ORDER_PAYMENT_DETAIL>
    <ATTRIBUTE_ID>12</ATTRIBUTE_ID>
    <ATTRIBUTE_VALUE>KEY111222333444555FSDRT</ATTRIBUTE_VALUE>
    </ORDER_PAYMENT_DETAIL>
    </ORDER_PAYMENT_DETAILS>
    </ORDER_PAYMENT>
    </ORDER_PAYMENTS>

    Do you mean the full xml excluding all the ORDER_PAYMENT_DETAIL elements but the first?
    SQL> select deletexml(colx,'//ORDER_PAYMENT_DETAIL[position()>1]').extract('/*')
      2  from tabx;
    DELETEXML(X,'//ORDER_PAYMENT_DETAIL[POSITION()>1]').EXTRACT('/*')
    <ORDER_PAYMENTS>
      <ORDER_PAYMENT>
        <ORDER_NO>20000404</ORDER_NO>
        <PAYMENT_METHOD_ID>5</PAYMENT_METHOD_ID>
        <PAYMENT_SEQ_NO>0</PAYMENT_SEQ_NO>
        <CHARGE_AMOUNT>50</CHARGE_AMOUNT>
        <CHARGE_CURRENCY>USD</CHARGE_CURRENCY>
        <ORDER_PAYMENT_DETAILS>
          <ORDER_PAYMENT_DETAIL>
            <ATTRIBUTE_ID>2</ATTRIBUTE_ID>
            <ATTRIBUTE_VALUE>test1</ATTRIBUTE_VALUE>
          </ORDER_PAYMENT_DETAIL>
        </ORDER_PAYMENT_DETAILS>
      </ORDER_PAYMENT>
      <ORDER_PAYMENT>
        <ORDER_NO>20000404</ORDER_NO>
        <PAYMENT_METHOD_ID>1</PAYMENT_METHOD_ID>
        <PAYMENT_SEQ_NO>1</PAYMENT_SEQ_NO>
        <CHARGE_AMOUNT>10.47</CHARGE_AMOUNT>
        <CHARGE_CURRENCY>USD</CHARGE_CURRENCY>
        <ORDER_PAYMENT_DETAILS>
          <ORDER_PAYMENT_DETAIL>
            <ATTRIBUTE_ID>2</ATTRIBUTE_ID>
            <ATTRIBUTE_VALUE>test1</ATTRIBUTE_VALUE>
          </ORDER_PAYMENT_DETAIL>
        </ORDER_PAYMENT_DETAILS>
      </ORDER_PAYMENT>
    </ORDER_PAYMENTS>Note that the ".extract('/*')" is there only for formatting...
    Max
    http://oracleitalia.wordpress.com

  • Expanding Tree nodes

    is it possible to expand tree node on rollover instead of
    clicking on the triangle?

    yes, that worked. thanks.
    private function itemRollOverHandler(event:ListEvent):void{
    tree.expandItem(event.itemRenderer.data, true, true);
    I think I was looking for something like getItem(index)..
    something similar to Flash AS 2 components.

  • ADF: Tree Refresh after Expanding a node. Please Frank have a look!

    About this post:
    Re: ADF: Tree Refresh after Expanding a node
    Frank answered that he doesn't notice that behavior. I found out that this happens if an appication uses a custom skin.
    In SRDemoSampleADFBC, SRManage.jspx (Management from menu), if you make the explorer window small enough not to cover the whole tree, you can notice this (the page jumps to the top).
    Now if you change in adf-faces-config.xml the "skin-family" tag to "oracle", you will see that the tree component has changed (it has no triangle icons why this happens) and the page doesn't refresh.
    Minas

    It seems that there's more to the tree expansion icon than the skin definition. We're using the minimal skin and ADF puts out a special character to represent the disclosure symbol (which by the way, renders differently on IE6, than IE7, than Safari or Firefox on Mac). However, switching to the Oracle skin, the disclosure symbol comes out as a full-on image (triangle including the +). We have found this frustrating because the triangles seem not sufficiently suggestive to our users - but switching to the Oracle skin has other issues with white-on-white text.
    But in any case, the tree refresh after node expansion is another annoyance as I described in the other thread linked here (including URL to see problem in action).
    Cheers, Mark

  • Moving expanded tree nodes in a JTree

    Hello.
    I have built a JTree that represents my hard disks. The files are sorted alphabetically. I already have built methods to create and remove directories, using the removeNodeFromParent and insertNodeInto methods in DefaultTreeModel.
    Now I would like to rename a directory, so (because of the sorting) sometimes nodes should move some indices up or down. When I use the methods mentioned above it just works okay, but when I have expanded the node to be renamed it and all of its children get collapsed.
    My question is: does anyone know of a convenient method to use for this problem? Thanks in advance.
    Kind regards, Levi.

    Hello guys,
    thanks for all your replies. I've figured it out myself (not with the tree API, though) using two recursive methods.
    Kind regards,
    Levi

  • Cannot expand tree nodes using t:tree tag

    Hi, I have a question.
    I am a beginner of JSF. I am trying to deploy a very simple tree using <t:tree> in my local tomcat server, similar to the following one:
    http://www.irian.at/myfaces/tree.jsf
    The result is that the tree is properly displayed, but I cannot expand the nodes when I click on the "+" icon of the nodes.
    Can someone help me? Thanks a lot!

    Take a look at Lilya Jsf Widgets and Ajax Capabilities at http://qlogic.ma/lilya
    the new era of technology

  • Launching the First node of the folder automatically

    Hi,
    I have a role in the portal  in which the first node is a folder. When i click on the Role in the top level navigation, my requirement is that it should automatically open the first page/iview within this folder.
    I have checked the properties of iview like mentioned below, but these properties works if we click on folder. In my case without even clicking on the folder i want the first iview of the folder to be displayed bydefault when i click on role.
    1. Clicking Folder Name Launches First Node
    2. Default Entry for Folder
    Any inputs in this regard , will be of great help.
    MyRole (we have only single level navigation on the top)
         --> MyFolder(is visible in detailed level navigation)
            --> MyIview (this iview has to be shown by default when I click on the Role)
    Regards,
    Sreeram

    Hi,
    First, You may add a folder under Workset and not under Role. Next you have the property "Default Entry for Folder" for the iview. set this value as yes.
    I have created a role called "DemoRole" which has "DemoWorkset". This workset has a folder by name "DemoFolder".
    Now I created two url iviews one is google and the other one is yahoo which are assigned to this "Demofolder". Note, I didn;t create any page, but directly assigned the iviews to the "DemoFolder"
    Google iview is assigned first and then yahoo iview. so by defauult when i click on "DemoRole" i see only the "DemoFolder" that too in closed state.
    Now I have assigned "Default Entry for Folder" property to the second iview i.e yahoo iview.
    Next time i click on "DemoRole" I see that the "DemoFolder" is automatically in opened status and bydefault the second iview i.e yahoo iview is opened.
    I hope its clear to u now. let me know if u have any doubts.
    Regards,
    Sreeram

Maybe you are looking for