Hierarchy Viewer difference in behaviour between ADF 11.1.1.5 & 11.1.1.6

Hi All,
We are having some problems with the Hierarchy Viewer and we were hoping that someone might be able to shed some light on this issue.
In ADF 11.1.1.5 we have used the attribute displayLevelsChildren which shows how many levels of children would be displayed (if those levels are available of course). We have assigned a value to a select one choice that would set those levels and allow for our user to customise this value and see the levels on right hand side.
You can see the behaviour that I am referring to in the following demo:
http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/hv/hvGroupNode.jspx
I know that this is an 11.1.2, but this has been the same demo for quite a while, when you change the Show Level on the left, the hierarchy viewer gets updated.
I have created a simple app that illustrates the problem, and when I run it under 11.1.1.5 it performs as expected, while when we run it on 11.1.1.6 it doesn't refresh the levels
Versions
Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013
Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
The code is below
This is the "dataBean" which is a pageFlowScope.
package au.callista.sms.sr.view;
import java.util.ArrayList;
import java.util.List;
import org.apache.myfaces.trinidad.model.ChildPropertyTreeModel;
import org.apache.myfaces.trinidad.model.TreeModel;
public class DataBean {
     private TreeModel dataModel;
     public DataBean() {
          super();
          DataNode grandfather = new DataNode("Big daddy");
          DataNode father1 = new DataNode("Daddy 1");
          DataNode son1 = new DataNode("Son 1");
          DataNode daughter1 = new DataNode("Daughter 1");
          father1.addChild(son1);
          father1.addChild(daughter1);
          DataNode father2 = new DataNode("Daddy 2");
          DataNode son2 = new DataNode("Son 2");
          DataNode daughter2 = new DataNode("Daughter 2");
          father2.addChild(son2);
          father2.addChild(daughter2);
          DataNode father3 = new DataNode("Daddy 3");
          DataNode son3 = new DataNode("Son 3");
          DataNode daughter3 = new DataNode("Daughter 3");
          father3.addChild(son3);
          father3.addChild(daughter3);
          grandfather.addChild(father1);
          grandfather.addChild(father2);
          grandfather.addChild(father3);
          dataModel = new ChildPropertyTreeModel(grandfather, "children");
     public void setDataModel(TreeModel dataModel) {
          this.dataModel = dataModel;
     public TreeModel getDataModel() {
          return dataModel;
     public class DataNode {
          private String title;
          private List<DataNode> children;
          public DataNode(String title) {
               this.title = title;
               children = new ArrayList<DataNode>();
          public void addChild(DataNode child) {
               this.children.add(child);
          public List<DataNode> getChildren() {
               return children;
          public String toString() {
               return title;
}And below is the jspx page
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
          xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
  <jsp:directive.page contentType="text/html;charset=UTF-8"/>
  <f:view>
    <af:document id="d1">
      <af:form id="f1">
        <af:panelSplitter id="ps1">
          <f:facet name="first">
            <af:panelGroupLayout id="pgl3">
              <af:selectOneChoice label="Show Levels"
                                  value="#{pageFlowScope.levels}" id="soc1"
                                  autoSubmit="true"
                                  valuePassThru="true">
                <af:selectItem label="Show No level" value="#{0}" id="si1"/>
                <af:selectItem label="Show 1 level" value="#{1}" id="si4"/>
                <af:selectItem label="Show 2 level" value="#{2}" id="si3"/>
                <af:selectItem label="Show 3 level" value="#{3}" id="si2"/>
              </af:selectOneChoice>
              <af:outputText value="#{pageFlowScope.levels}" id="ot1"
                             partialTriggers="soc1"/>
            </af:panelGroupLayout>
          </f:facet>
          <f:facet name="second">
            <dvt:hierarchyViewer id="hierarchyViewer1" layout="hier_vert_top"
                                 inlineStyle="width:100%;height:600px;"
                                 value="#{pageFlowScope.dataBean.dataModel}"
                                 var="node" partialTriggers="::soc1"
                                 displayLevelsChildren="#{pageFlowScope.levels}">
              <dvt:link linkType="orthogonalRounded" id="l1"/>
              <dvt:node width="100" height="100" id="n1">
                <f:facet name="zoom100">
                  <af:panelGroupLayout layout="vertical"
                                       inlineStyle="width:100%;height:100%;padding:5px"
                                       id="pgl2">
                    <af:panelGroupLayout layout="horizontal" id="pgl1">
                      <af:panelGroupLayout layout="vertical" id="pgl4">
                        <af:outputText value="#{node}"
                                       inlineStyle="font-weight:bold;font-size:20px;color:#383A47"
                                       id="ot2"/>
                      </af:panelGroupLayout>
                    </af:panelGroupLayout>
                  </af:panelGroupLayout>
                </f:facet>
              </dvt:node>
            </dvt:hierarchyViewer>
          </f:facet>
        </af:panelSplitter>
      </af:form>
    </af:document>
  </f:view>
</jsp:root>Looking forward to your response.
Regards,
Younis Al-Rawi
Edited by: Younis Al-Rawi on 4/03/2013 08:58

Hi,
the only change is that 11.1.1.6 supports HTML 5 rendering. So you may want to check if the rendering is in Flash or HTML5. If the rendering is in Flash and the mis-behavior shows then the only suggestion I can give is (in case you have a support contract) to file a service request with customer support
Frank

Similar Messages

  • Is there a difference in behaviour between clustered systems vs. standalone

    OpenVMS, MessageQ (could not find another place to ask :().
    Suppose 2 nodes, same DMQ bus.
    Node 1: Application X starts up, binds to group Y (not yet existing and so creates connection)
    Node 2: Application X starts up, binds to group Y.
    If node1 and node2 are in one VMS cluster, Node2::X would now be unable to do anyting since group Y is now owned by Node1::X and so node2::X will get into a wait state, to become active only if, for whatever reason, Node1::X gives up.
    But what happens if node1 and node2 are stand-alone systems, only connected using a DECNet (or TCPIP) connetcion:
    1: Node2::X waits until Node1::X stops and group Y is released (as if the systems were clustered)
    2: Node2::X will startup and access group Y so does not enter a wait state. If so, can this be forced to a wait (like (1))?
    (You may assume that the DMQ configuration is correct)

    Most people either use one app or the other, and have very limited knowledge of the one they don't use.  But from what I can find from a quick look round the web, they seem to be the same.
    Review: Photoshop Elements 13 gets Photomerge and content-aware fill | Macworld

  • What is difference between ADF Task Flow and Faces-Config - when delpoy ?

    What is difference between ADF Task Flow and Faces-Config? When I create navigation between pages with ADF task flow then the navigation don't work when I deploy my application to Weblogic 10.3. When I use default server then navigation works fine. With Faces_config in both situations all works ok - on Stanalone server and default.
    Where is the problem?
    Best regards!

    Shay, I don't use both faces-config and adf task flow! When I failed with task flow I tried faces-config.
    I have active on my weblogic - adf.oracle.domain(1.0,11.1.1.0.0). This is the right ADF? If yes then where is the problem?
    Best regards!

  • Exception while runing a ADF page which is having a Hierarchy Viewer

    Hi All,
    I am getting the following exception while runing a ADF page which is having a Hierarchy Viewer which is based on Java object data model.
    Please help me with the solution or any idea will be welcome.
    FYI,It was perfectly running on yesterday,I haven't done any changes on today morning ,tried to running the application and got the exception.
    Thanks in advance.
    Regards
    Mrinmoy.
    Servlet failed with Exception
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: Unable to find a value for "dataProvider" in object of class "oracle.model.PartyController" using operator "."
         at oracle.adf.model.binding.DCInvokeMethod.getInvokeInstance(DCInvokeMethod.java:397)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:446)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:440)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.RuntimeException: javax.servlet.jsp.el.ELException: Unable to find a value for "dataProvider" in object of class "oracle.model.PartyController" using operator "."
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateInternal(OracleExpressionEvaluatorImpl.java:82)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:48)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator._evaluate(FacesExpressionEvaluator.java:79)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate(FacesExpressionEvaluator.java:36)
         at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:809)
         Truncated. see log file for complete stacktrace
    Caused By: javax.servlet.jsp.el.ELException: Unable to find a value for "dataProvider" in object of class "oracle.model.PartyController" using operator "."
         at org.apache.commons.el.Logger.logError(Logger.java:481)
         at org.apache.commons.el.Logger.logError(Logger.java:498)
         at org.apache.commons.el.Logger.logError(Logger.java:611)
         at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:340)
         at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
         Truncated. see log file for complete stacktrace
    >
    <Jun 24, 2011 4:07:38 PM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Jun 24, 2011 4:07:38 PM IST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Jun 24, 2011 4:07:38 PM IST SERVER = DefaultServer MESSAGE = [ServletContext@57882876[app:DHSMDMVisualizationApps module:DHSMDMVisualizationApps-UI-context-root path:/DHSMDMVisualizationApps-UI-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: Unable to find a value for "dataProvider" in object of class "oracle.model.PartyController" using operator "."
         at oracle.adf.model.binding.DCInvokeMethod.getInvokeInstance(DCInvokeMethod.java:397)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:446)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:440)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2142)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:468)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:161)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:990)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:242)
         at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.invokeTaskFlowByUrl(RemoteTaskFlowCallRequestHandler.java:99)
         at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.doCreateView(RemoteTaskFlowCallRequestHandler.java:64)
         at oracle.adfinternal.controller.application.BaseRequestHandlerImpl.createView(BaseRequestHandlerImpl.java:57)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:95)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:572)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:281)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.RuntimeException: javax.servlet.jsp.el.ELException: Unable to find a value for "dataProvider" in object of class "oracle.model.PartyController" using operator "."
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateInternal(OracleExpressionEvaluatorImpl.java:82)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:48)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator._evaluate(FacesExpressionEvaluator.java:79)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate(FacesExpressionEvaluator.java:36)
         at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:809)
         at oracle.adf.model.binding.DCInvokeMethod.resolveAsExpression(DCInvokeMethod.java:290)
         at oracle.adf.model.binding.DCInvokeMethod.getInvokeInstance(DCInvokeMethod.java:364)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:446)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:440)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2142)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:468)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:161)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:990)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:242)
         at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.invokeTaskFlowByUrl(RemoteTaskFlowCallRequestHandler.java:99)
         at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.doCreateView(RemoteTaskFlowCallRequestHandler.java:64)
         at oracle.adfinternal.controller.application.BaseRequestHandlerImpl.createView(BaseRequestHandlerImpl.java:57)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:95)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:572)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:281)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: javax.servlet.jsp.el.ELException: Unable to find a value for "dataProvider" in object of class "oracle.model.PartyController" using operator "."
         at org.apache.commons.el.Logger.logError(Logger.java:481)
         at org.apache.commons.el.Logger.logError(Logger.java:498)
         at org.apache.commons.el.Logger.logError(Logger.java:611)
         at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:340)
         at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
         at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
         at oracle.jsp.el.OracleExpressionEvaluator.evaluate(Unknown Source)
         at oracle.jsp.el.OracleExpression.evaluate(Unknown Source)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateInternal(OracleExpressionEvaluatorImpl.java:78)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:48)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator._evaluate(FacesExpressionEvaluator.java:79)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate(FacesExpressionEvaluator.java:36)
         at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:809)
         at oracle.adf.model.binding.DCInvokeMethod.resolveAsExpression(DCInvokeMethod.java:290)
         at oracle.adf.model.binding.DCInvokeMethod.getInvokeInstance(DCInvokeMethod.java:364)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:446)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2134)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:440)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2142)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:468)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:161)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:990)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow(ControlFlowEngine.java:242)
         at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.invokeTaskFlowByUrl(RemoteTaskFlowCallRequestHandler.java:99)
         at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHandler.doCreateView(RemoteTaskFlowCallRequestHandler.java:64)
         at oracle.adfinternal.controller.application.BaseRequestHandlerImpl.createView(BaseRequestHandlerImpl.java:57)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:95)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:572)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:281)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = 2R3C7BS TXID = CONTEXTID = bed5a66188a32585:4d558d47:130c0f8ed84:-8000-00000000000000b0 TIMESTAMP = 1308911858281
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000

    What version of Trinidad are you trying to use? It's possible that requires a newer version of JEE than is provided by WebLogic 10.3.

  • ADF Hierarchy Viewer does not render remote images

    I am using ADF Hierarchy Viewer in my application. I was trying to use a Image component inside one of its nodes. The image works fine if I use the image which is part of my application. If I use a remote image using its URI, it wont render the images. Is there something I am missing
    Thanks,

    By default, the Flash Player does not allow accessing images located on a domain other then the domain it was
    loaded from. You will need to set up a security override file (crossdomain.xml) on your server.
    You can Google to find more information on crossdomain.xml file.
    Here is one example:
    http://kb2.adobe.com/cps/142/tn_14213.html

  • Oracle ADF example of use of Single One Choice with Hierarchy Viewer

    I am using JDeveloper Studio 11.1.2.3.0.
    I am looking for a simple example where one can select a value from a Single One Choice component and have it drive a query
    for populating the Hierarchy Viewer.

    You can just use a VO with parameter as the base of your HV - then drag the executeWithParam operation to the page as a parameter form.
    And possibly add a list or LOV to the parameter.
    https://blogs.oracle.com/shay/entry/adding_an_lov_to_a_query_param
    Instead of the table in the video use the HV.

  • JDev 11.1.2.3.0 and ADF Hierarchy Viewer - Lazy Loading?

    Hi,
    I have a simple application that shows data from one table using the Hierarchy Viewer component.
    My table has more than 100,000 rows.
    It appears that the control tries to query all data at once and never loads.
    I have reduced the number of rows to 5K and it works.
    So, is there a way that I can configure the control/application to only retrieve data from the database for a particular node, when a node is expanded?
    thanks for your help.

    Thanks,
    I changed the Hierarchy Viewer's property called "Content Delivery" to lazy.
    This is found in the Behavior section.
    That appears to have resolved the issue.

  • 11.1.2 HTML Hierarchy Viewer, how?

    Hi,
    first of all, 11.1.2 is great job Oracle, congrats! It really opens new possibilities for ADF.
    That said, I don't understand how to render hierarchy viewer in html? The documentation states:
    "By default, the hierarchy viewer component renders in a Flash Player. When Flash 10 or higher is not available on the client or for the purpose or printing, the hierarchy viewer is rendered in HTML."
    I disabled flash and all I get is a note I should install it. What am I missing? Thanks.

    Hi Jernej,
    HTML HV is available in 11.1.2.
    You can configure the use of Flash content across the entire application by setting a flash-player-usage context parameter in adf-config.xml.
    Please read this section in the doc:
    http://download.oracle.com/docs/cd/E16162_01/web.1112/e16181/ap_config.htm#BHCHJICG
    You can use the "disabled" setting, or "downgrade" in a browser that doesn't have Flash player installed in order to see the HTML HV. It is also used for the printable page mode.
    Hope this helps
    Katia

  • JDev 11.1.2.3.0 Release 2 - crashes with Hierarchy Viewer

    Every time I try to edit properties for the Hierarchy Viewer, JDeveloper crashes: - Any Ideas????
    oracle.adfdtinternal.model.ide.jdev.JDevDataControlManager:Jan 21, 2013 8:57:06 PM oracle.adfdtinternal.model.ide.jdev.JDevDataControlManager notifyAfterPopulatingDataControls
    INFO: Number of data controls:1
    oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler:Jan 21, 2013 8:57:07 PM oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler setIsMetadataComplete
    INFO: jar:file:/C:/Documents and Settings/p304641/My Documents/classes/Oracle ADF/ReUsableJARs/SharedComponentsViewController.jar!/META-INF/faces-config.xml metadata-complete undefined (false)
    oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler:Jan 21, 2013 8:57:07 PM oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler setIsMetadataComplete
    INFO: jar:file:/C:/Oracle/Middleware/jdeveloper/jlib/bundleresolver.jar!/META-INF/faces-config.xml metadata-complete undefined (false)
    oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler:Jan 21, 2013 8:57:09 PM oracle.jdevimpl.webapp.faces.config.modelimpl.FacesConfigHandler setIsMetadataComplete
    INFO: jar:file:/C:/Documents and Settings/p304641/My Documents/classes/Oracle ADF/ReUsableJARs/SharedComponentsViewController.jar!/META-INF/faces-config.xml metadata-complete undefined (false)
    Performing action (79) About [ from HtmlEditor ] [ for ( main.jsf, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
    Invoking command: [ from HtmlEditor ] [ for ( main.jsf, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
    oracle.bali.xml.share.WeakListenerManager:Jan 21, 2013 8:57:10 PM oracle.bali.xml.share.WeakListenerManager addListener
    WARNING: Tried to add listener that was already attached: listener=oracle.jdevimpl.webapp.grammar.DelegatingGrammarProvider$IdenticalGrammarEventPercolator@77d7basource=oracle.jdevimpl.webapp.facelets.libraries.FaceletsLibraryMetadataGrammarProvider@ab4a39
    oracle.bali.xml.share.WeakListenerManager:Jan 21, 2013 8:57:10 PM oracle.bali.xml.share.WeakListenerManager addListener
    WARNING: Tried to add listener that was already attached: listener=oracle.jdevimpl.webapp.grammar.DelegatingGrammarProvider$IdenticalGrammarEventPercolator@508cb2source=oracle.bali.xml.grammar.proxy.GrammarProviderProxy@8a8eb3
    Performing action (79) About [ from  ] [ for ( <none>, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
    Invoking command: [ from  ] [ for ( <none>, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
    Performing action (173) Release Notes [ from  ] [ for ( <none>, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
    Performing action (340) Check for Updates... [ from  ] [ for ( <none>, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
    Performing action (490) Customizer [ from InspectorWindowImpl ] [ for ( main.jsf, IpsViewController.jpr, InitialPhaseScheduling.jws ) ]
    oracle.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider$1:Jan 21, 2013 9:11:29 PM oracle.javatools.logging.LogUtils log
    WARNING: Exception in task oracle.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider$1@1c29a32 on model oracle.jdevimpl.j2ee.facelets.FaceletsXmlModel@10fba16; txn name=Create Hierarchy Viewer
    java.lang.ArrayIndexOutOfBoundsException: node has no children
         at javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:228)
         at javax.swing.tree.DefaultTreeModel.getChild(DefaultTreeModel.java:156)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.processNodeFacet(TVBindPanel.java:1395)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.initTreePanel(TVBindPanel.java:1617)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.<init>(TVBindPanel.java:1298)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.updateJTabbedPane(TVBindPanel.java:1197)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.setSelectedCollection(TVBindPanel.java:756)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.initTreeFromDef(TVBindPanel.java:603)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.createCollectionTree(TVBindPanel.java:589)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.initialize(TVBindPanel.java:328)
         at oracle.adfdtinternal.model.dvt.ide.objects.editors.TVEditor.createEditPanel(TVEditor.java:201)
         at oracle.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.findOrCreateEditPanel(JUDTObjectEditor.java:171)
         at oracle.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.prepareEditor(JUDTObjectEditor.java:247)
         at oracle.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.showEditorInDialog(JUDTObjectEditor.java:217)
         at oracle.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider$1.performTask(TVModelProvider.java:179)
         at oracle.bali.xml.model.task.StandardTransactionTask.runWithTokenThrowingXCE(StandardTransactionTask.java:235)
         at oracle.bali.xml.model.task.StandardTransactionTask.runWithToken(StandardTransactionTask.java:114)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:101)
         at oracle.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider.displayEditingUI(TVModelProvider.java:171)
         at oracle.adfdtinternal.dvt.datapresdt.metadata.creators.HVNodeCustomizer.customizeNode(HVNodeCustomizer.java:69)
         at oracle.bali.xml.util.XmlCustomizeAction$1.performTask(XmlCustomizeAction.java:97)
         at oracle.bali.xml.model.task.StandardTransactionTask.runWithTokenThrowingXCE(StandardTransactionTask.java:235)
         at oracle.bali.xml.model.task.StandardTransactionTask.runWithToken(StandardTransactionTask.java:114)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:101)
         at oracle.bali.xml.util.XmlCustomizeAction.actionPerformed(XmlCustomizeAction.java:92)
         at oracle.bali.xml.gui.jdev.inspector.XmlInspectable.showCustomDialog(XmlInspectable.java:272)
         at oracle.ideimpl.inspector.InspectorWindowImpl.showCustomizer(InspectorWindowImpl.java:1684)
         at oracle.ideimpl.inspector.InspectorManagerImpl.handleEvent(InspectorManagerImpl.java:187)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:662)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:1140)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:617)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
         at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    oracle.bali.xml.util.XmlCustomizeAction$1:Jan 21, 2013 9:11:29 PM oracle.javatools.logging.LogUtils log
    WARNING: Exception in task oracle.bali.xml.util.XmlCustomizeAction$1@17a189b on model oracle.jdevimpl.webapp.jsp.JspExplorerView@e5a772; txn name=Properties for dvt:hierarchyViewer... (exception previously logged)
    Exception while performing action Customizer
    java.lang.ArrayIndexOutOfBoundsException: node has no children
    jx.s.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:228)
    jx.s.tree.DefaultTreeModel.getChild(DefaultTreeModel.java:156)
    o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.processNodeFacet(TVBindPanel.java:1395)
    o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.initTreePanel(TVBindPanel.java:1617)
    o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel$ZoomPanel.<init>(TVBindPanel.java:1298)
    o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.updateJTabbedPane(TVBindPanel.java:1197)
    o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.setSelectedCollection(TVBindPanel.java:756)
    o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.initTreeFromDef(TVBindPanel.java:603)
    o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.createCollectionTree(TVBindPanel.java:589)
    o.adfdtinternal.model.dvt.ide.objects.bindPanels.TVBindPanel.initialize(TVBindPanel.java:328)
    o.adfdtinternal.model.dvt.ide.objects.editors.TVEditor.createEditPanel(TVEditor.java:201)
    o.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.findOrCreateEditPanel(JUDTObjectEditor.java:171)
    o.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.prepareEditor(JUDTObjectEditor.java:247)
    o.adfdtinternal.model.ide.objects.editors.JUDTObjectEditor.showEditorInDialog(JUDTObjectEditor.java:217)
    o.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider$1.performTask(TVModelProvider.java:179)
    o.bali.xml.model.task.StandardTransactionTask.runWithTokenThrowingXCE(StandardTransactionTask.java:235)
    o.bali.xml.model.task.StandardTransactionTask.runWithToken(StandardTransactionTask.java:114)
    o.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:101)
    o.adfdtinternal.dvt.datapresdt.dnd.TVModelProvider.displayEditingUI(TVModelProvider.java:171)
    o.adfdtinternal.dvt.datapresdt.metadata.creators.HVNodeCustomizer.customizeNode(HVNodeCustomizer.java:69)
    o.bali.xml.util.XmlCustomizeAction$1.performTask(XmlCustomizeAction.java:97)
    o.bali.xml.model.task.StandardTransactionTask.runWithTokenThrowingXCE(StandardTransactionTask.java:235)
    o.bali.xml.model.task.StandardTransactionTask.runWithToken(StandardTransactionTask.java:114)
    o.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:101)
    o.bali.xml.util.XmlCustomizeAction.actionPerformed(XmlCustomizeAction.java:92)
    o.bali.xml.gui.jdev.inspector.XmlInspectable.showCustomDialog(XmlInspectable.java:272)
    o.ii.inspector.InspectorWindowImpl.showCustomizer(InspectorWindowImpl.java:1684)
    o.ii.inspector.InspectorManagerImpl.handleEvent(InspectorManagerImpl.java:187)
    o.i.controller.IdeAction.performAction(IdeAction.java:662)
    o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:1140)
    o.i.controller.IdeAction.actionPerformed(IdeAction.java:617)
    jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    j.a.Component.processMouseEvent(Component.java:6289)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6054)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4652)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4482)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4482)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    j.a.EventQueue$2.run(EventQueue.java:617)
    j.a.EventQueue$2.run(EventQueue.java:615)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:614)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    oracle.ide.controller.IdeAction:Jan 21, 2013 9:11:29 PM oracle.ide.controller.IdeAction performAction
    SEVERE: Error during handleEvent on action 'Customizer' (id=490).
    None of the attached controllers handled the action..

    Thanks for your reply.
    Unfortunately, the application is for work. So, I am not using the HR schema.
    I was asked to evaluate the tool as part of a pilot effort to determine its usefulness.
    So, I downloaded Oracle Essentials for the evaluation.
    We do not have a support license.
    I believe some modification of a View Object caused the issue.
    The application was working great since I started using the tool a few weeks ago.
    My hope is that the stack trace will provide enough information to understand the root cause and corrective action.

  • Getting an autosuggest Search working with the Hierarchy Viewer

    Hi,
    I recently raised an issue with Oracle Support 3-7934581791 : Hierarchy Search not working in HTMl5 version, this was promoted to being a bug in ADF HV
    Bug 17601664 - NON-FLASH VERSION OF HIERARCHY VIEWER DOES NOT DISPLAY A SEARCH FORM
    So, my question is what other option preferably programmatically to provide the user with an auto suggest list of employees, selecting this list then re-queries the Hierarchy Viewers query and thus providing the user with an updated HV with the selected employee showing. Any help appreciated; Just not I am running the page with flash disabled and therefore the default search form available cant be used due to bug above.

    just note I have reviewed
    http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/hv/hvSearch.jspx
    This is perfectly fine if running Flash and have this working, but I am tryinto get this to work on an iPad and non Flash enabled browsers.

  • Hierarchy viewer - restart flash player

    Hi,
    I have created a hierarchy viewer to see the connections between customers and when I start the app, the first time I see the hierarchy viewer I can see it correctly, like
    Parent
         Customer (Searched)
             Child
             Child
    but when I want to see other customers hierarchy I can only see the Parent. I have to expand the tree to see the searched customer and, if has them, the childs.
    Is there anyway to, lets say, restart Flash player so it presents the tree like it does initialy?
    Thanks
    I'm using jdev 11.1.1.7.1

    This is the code of my HV.
    <dvt:hierarchyViewer id="hv1" var="node"
                             value="#{bindings.ProfileRoot1.treeModel}"
                             selectionListener="#{bindings.ProfileRoot1.treeModel.makeCurrent}"
                             layout="hier_vert_top"
                             levelFetchSize="#{bindings.ProfileRoot1.rangeSize}"
                             styleClass="AFStretchWidth"
                             summary="Family Members" displayLevelsAncestor="0"
                             nodeSelection="multiple" displayLevelsChildren="2"
                             partialTriggers="cl2"
                             dontPersist="#{bindings.ProfileRoot1}#{bindings.ProfileRoot1Iterator}">
          <dvt:link linkType="orthogonalRounded" id="l3"/>
          <dvt:node type="view.tree.ProfileRoot view.tree.ProfileRootChilds view.tree.ProfileRootChildsChilds"
                    width="233" height="330" id="n4" showExpandChildren="true"
                    shape="roundedRect"
                    inlineStyle="background-color:#{node.Recid==bindings.Recid.inputValue? ( pageFlowScope.ProfileFamilyMemberBean.defaultNodeColor) :''};
                                 border-color:#{pageFlowScope.ProfileFamilyMemberBean.defaultNodeColor}; border-style:solid; border-width:3px;">
            <f:facet name="zoom100">
              <af:panelGroupLayout styleClass="AFStretchWidth AFHVNodeStretchHeight AFHVNodePadding"
                                   layout="vertical" id="pgl45">
                <af:panelGroupLayout layout="horizontal" id="pgl48">
                  <af:panelGroupLayout id="pgl52">
                    <af:image source="/render_image?id=#{node.Recid}&amp;typ=101"
                              styleClass="AFHVNodeImageSize75" id="i12"/>
                  </af:panelGroupLayout>
                  <af:spacer width="5" height="5" id="s25"/>
                  <af:panelGroupLayout layout="vertical" id="pgl50">
                    <af:panelGroupLayout id="pgl1" layout="vertical"
                                         halign="right"
                                         valign="top" styleClass="AFStretchWidth"/>
                    <af:outputText value="#{node.Salutation}" id="ot32"/>
                    <af:commandLink id="cl1"
                                    actionListener="#{pageFlowScope.ProfileFamilyMemberBean.DisplayNodeInformation}"
                                    styleClass="AFHVNodeTitleTextStyle"
                                    text="#{node.FullNameDisplay}"/>
                    <af:outputText value="#{node.Recid}" id="ot18" visible="false"/>
                    <af:outputText value="#{node.Parentid}" id="ot9"
                                   visible="false"/>
                    <af:panelLabelAndMessage label="#{viewcontrollerBundle.MOBILE_NO}"
                                             id="plam2">
                      <af:outputText value="#{node.Mobile}" id="ot12"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{viewcontrollerBundle.EMAIL}"
                                             id="plam3">
                      <af:outputText value="#{node.Email}" id="ot16"/>
                    </af:panelLabelAndMessage>
                    <af:commandLink text="commandLink 1" id="cl2"
                                    actionListener="#{pageFlowScope.ProfileFamilyMemberBean.NodeInformation}"
                                    visible="#{node.Recid ne bindings.Recid.inputValue}"
                                    partialSubmit="true"/>
                  </af:panelGroupLayout>
                </af:panelGroupLayout>
                <af:spacer height="5" id="s24"/>
                <dvt:panelCard effect="slide_horz" styleClass="AFHVNodePadding"
                               id="pc7">
                  <af:showDetailItem text="Profile Information" id="sdi14">
                    <af:panelFormLayout styleClass="AFStretchWidth AFHVNodeStretchHeight AFHVNodePadding"
                                        id="pfl15">
                      <af:panelLabelAndMessage label="#{viewcontrollerBundle.MEMBER_NO}"
                                               id="plam4">
                        <af:outputText value="#{node.Membershipnumber}" id="ot3"/>
                      </af:panelLabelAndMessage>
                      <af:panelLabelAndMessage label="#{viewcontrollerBundle.NATIONALITY}"
                                               id="plam5">
                        <af:outputText value="#{node.NationalityDisplay}"
                                       id="ot44"/>
                      </af:panelLabelAndMessage>
                      <af:panelLabelAndMessage label="#{viewcontrollerBundle.DATE_OF_BIRTH}"
                                               id="plam6">
                        <af:outputText value="#{node.BirthdayDisplay}" id="ot45"/>
                      </af:panelLabelAndMessage>
                      <af:panelLabelAndMessage label="#{bindings.ProfileRoot1.hints.Assocno.label}"
                                               id="plam7">
                        <af:outputText value="#{node.Assocno}" id="ot46"/>
                      </af:panelLabelAndMessage>
                      <af:outputText value="#{node.Pmsid}" id="ot36">
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.ProfileRoot1.hints.Pmsid.format}"/>
                      </af:outputText>
                    </af:panelFormLayout>
                  </af:showDetailItem>
                  <af:showDetailItem text="Profile Information 2" id="sdi15">
                    <af:spacer height="2" id="s22"/>
                    <af:panelFormLayout styleClass="AFStretchWidth AFHVNodeStretchHeight AFHVNodePadding"
                                        id="pfl16">
                      <af:outputText value="#{node.StatusEdit}" id="ot8"
                                     visible="false">
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.ProfileRoot1.hints.StatusEdit.format}"/>
                      </af:outputText>
                      <af:panelLabelAndMessage label="#{viewcontrollerBundle.CATEGORY}"
                                               id="plam8">
                        <af:outputText value="#{node.Category}" id="ot7"/>
                      </af:panelLabelAndMessage>
                      <af:panelLabelAndMessage label="#{viewcontrollerBundle.TYPE}"
                                               id="plam9">
                        <af:outputText value="#{node.TypeDisplay}" id="ot28"/>
                      </af:panelLabelAndMessage>
                      <af:panelLabelAndMessage label="#{viewcontrollerBundle.SUBTYPE}"
                                               id="plam10">
                        <af:outputText value="#{node.SubtypeDisplay}" id="ot41"/>
                      </af:panelLabelAndMessage>
                      <af:panelLabelAndMessage label="#{viewcontrollerBundle.STARTE_DATE}"
                                               id="plam11">
                        <af:outputText value="#{node.StartDate}" id="ot43">
                          <af:convertDateTime pattern="#{bindings.ProfileRoot1.hints.StartDate.format}"/>
                        </af:outputText>
                      </af:panelLabelAndMessage>
                      <af:panelLabelAndMessage label="#{viewcontrollerBundle.END_DATE}"
                                               id="plam12">
                        <af:outputText value="#{node.EndDate}" id="ot47">
                          <af:convertDateTime pattern="#{bindings.ProfileRoot1.hints.EndDate.format}"/>
                        </af:outputText>
                      </af:panelLabelAndMessage>
                    </af:panelFormLayout>
                  </af:showDetailItem>
                </dvt:panelCard>
              </af:panelGroupLayout>
            </f:facet>
            <f:facet name="zoom75">
              <af:panelGroupLayout styleClass="AFStretchWidth AFHVNodeStretchHeight AFHVNodePadding"
                                   layout="vertical" id="pgl41">
                <af:panelGroupLayout layout="horizontal" id="pgl47">
                  <af:panelGroupLayout id="pgl42">
                    <af:image source="/render_image?id=#{node.Recid}&amp;typ=101"
                              styleClass="AFHVNodeImageSize75" id="i11"/>
                  </af:panelGroupLayout>
                  <af:spacer width="5" height="5" id="s28"/>
                  <af:panelGroupLayout layout="vertical" id="pgl43">
                    <af:outputText value="#{node.Recid}" id="ot11" visible="false"/>
                    <af:outputText value="#{node.Parentid}" id="ot14"
                                   visible="false"/>
                    <af:outputText value="#{node.Salutation}" id="ot40"/>
                    <af:outputText value="#{node.FullNameDisplay}" id="ot4"/>
                    <af:outputText value="#{node.Membershipnumber}" id="ot27"/>
                    <af:outputText value="#{node.NationalityDisplay}"
                                   id="outputText2"/>
                  </af:panelGroupLayout>
                </af:panelGroupLayout>
                <af:spacer height="5" id="s23"/>
                <dvt:panelCard effect="slide_horz" styleClass="AFHVNodePadding"
                               id="pc8">
                  <af:showDetailItem text="Contact " id="sdi16">
                    <af:panelFormLayout styleClass="AFStretchWidth AFHVNodeStretchHeight AFHVNodePadding"
                                        id="pfl13">
                      <af:outputText value="#{node.GenderDisplay}" id="ot5"/>
                      <af:outputText value="#{node.Email}" id="ot17"/>
                      <af:outputText value="#{node.Mobile}" id="ot42"/>
                    </af:panelFormLayout>
                  </af:showDetailItem>
                  <af:showDetailItem text="Address " id="sdi17">
                    <af:spacer height="2" id="s26"/>
                    <af:panelFormLayout styleClass="AFStretchWidth AFHVNodeStretchHeight AFHVNodePadding"
                                        id="pfl14">
                      <af:outputText value="#{node.Category}" id="ot38"/>
                      <af:outputText value="#{node.TypeDisplay}" id="ot39"/>
                      <af:outputText value="#{node.SubtypeDisplay}"
                                     id="outputText3"/>
                    </af:panelFormLayout>
                  </af:showDetailItem>
                </dvt:panelCard>
              </af:panelGroupLayout>
            </f:facet>
            <f:facet name="zoom50">
              <af:panelGroupLayout styleClass="AFStretchWidth AFHVNodeStretchHeight AFHVNodePadding"
                                   layout="horizontal" valign="middle" id="pgl51">
                <af:panelGroupLayout layout="vertical" halign="center"
                                     styleClass="AFStretchWidth" id="pgl49">
                  <af:image source="/render_image?id=#{node.Recid}&amp;typ=101"
                            styleClass="AFHVNodeImageSize50" id="i10"/>
                  <af:spacer height="2" id="s27"/>
                  <af:outputText value="#{node.Recid}" id="ot33" visible="false"/>
                  <af:outputText value="#{node.Parentid}" id="ot22"
                                 visible="false"/>
                  <af:outputText value="#{node.FullNameDisplay}" id="ot19"/>
                  <af:outputText value="#{node.TypeDisplay}" id="ot34"/>
                  <af:outputText value="#{node.SubtypeDisplay}" id="ot24"/>
                  <af:outputText value="#{node.Membershipnumber}" id="ot6"/>
                  <af:outputText value="#{node.Mobile}" id="ot35"/>
                </af:panelGroupLayout>
              </af:panelGroupLayout>
            </f:facet>
            <f:facet name="zoom25">
              <af:panelGroupLayout styleClass="AFStretchWidth AFHVNodeStretchHeight AFHVNodePaddingSmall"
                                   layout="horizontal" valign="middle" id="pgl44">
                <af:panelGroupLayout layout="vertical" halign="center"
                                     styleClass="AFStretchWidth" id="pgl46">
                  <af:outputText value="#{node.Recid}" id="ot23"/>
                  <af:outputText value="#{node.Parentid}" id="ot29"/>
                  <af:outputText value="#{node.FullNameDisplay}" id="ot20"/>
                  <af:outputText value="#{node.Membershipnumber}" id="ot10"/>
                  <af:outputText value="#{node.Category}" id="ot21"/>
                  <af:outputText value="#{node.TypeDisplay}" id="ot37"/>
                  <af:outputText value="#{node.SubtypeDisplay}" id="ot25"/>
                </af:panelGroupLayout>
              </af:panelGroupLayout>
            </f:facet>
          </dvt:node>
        </dvt:hierarchyViewer>

  • Hierarchy Viewer component

    Hi,
    When can we expect Hierarchy Viewer component that is used here: http://rea.oracle.com/faces/index . It will be accessible as update to current ADF RC version or we must wait for the next release of JDeveloper ?
    Kuba

    Hi,
    Thanks Shay - if I correct understand middle 2009 ?
    Kuba

  • Hierarchy Viewer and Drag Drop

    Hi I am new for ADF Hiearchy Viewe components. I am trying drag from ADF table rows to drop ADf Hierarchy viewer node and introduce by http://docs.oracle.com/cd/E28280_01/web.1111/b31973/dv_hviewer.htm here.
    1. can get selected rows from drag source ADF rich table and I couldn't get Drop Row Key. In my source some hierarchy node work and some are not work. sourc here.
    <pre>
        public DnDAction toDropListener(DropEvent event)
            RichTable table = (RichTable) event.getDragComponent();
            Transferable t = event.getTransferable();
            DataFlavor<RowKeySet> df = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
            RowKeySet rks = t.getData(df);
            Iterator iter = rks.iterator();
            List<Row> sourceRow = new ArrayList<Row>();
            while (iter.hasNext())
                List key = (List) iter.next();
                table.setRowKey(key);
                JUCtrlHierNodeBinding rowBinding = (JUCtrlHierNodeBinding) table.getRowData();
                sourceRow.add((Row) rowBinding.getRow());
            Transferable transferable = event.getTransferable();
            DataFlavor<Object> dataFlavor = DataFlavor.getDataFlavor(Object.class);
            Object transferableObj = transferable.getData(dataFlavor);
            if (transferableObj == null)
                return DnDAction.NONE;
            UIComponent dropComponent = event.getDropComponent();
            Object dropSite = event.getDropSite();
            if (dropSite instanceof Map)
                String clientRowKey = (String) ((Map) dropSite).get("clientRowKey");
                Object rowKey = getRowKey(dropComponent, clientRowKey);
                List<Key> keys = (List<Key>) rowKey;
                System.out.println("Row Key: "+rowKey+ " Size of Keys: "+keys.size());
                if (rowKey != null)
                    DCIteratorBinding itrEmp;
                    if(keys.size()==1)
                        itrEmp = ADFUtils.findIterator("ParentEmpTreeVO1Iterator");
                    }else
                        itrEmp = ADFUtils.findIterator("ChildEmpTreeVO1Iterator");
                    ViewObject hist=itrEmp.getViewObject();
                    Key key = keys.get(keys.size() - 1);
                    Row targetRow = hist.getRow(key);
                    System.out.println("Key: "+key);
                    System.out.println("Employee Id: " + targetRow.getAttribute("EmpId"));
                    if (sourceRow != null && !sourceRow.isEmpty())
                        for (Row row : sourceRow)
                            Row newRow=itrEmp.getRowSetIterator().createRow();//hist.createRow();
                            newRow.setAttribute("EmpId", row.getAttribute("EmployeeId"));
                            newRow.setAttribute("FirstName", row.getAttribute("FirstName"));
                            newRow.setAttribute("ManagerId", targetRow.getAttribute("EmpId"));
                            itrEmp.getRowSetIterator().insertRow(newRow);//hist.insertRow(newRow);
                            System.out.println("Created Row.");
                else
            RequestContext.getCurrentInstance().addPartialTarget(event.getDropComponent());
            return event.getProposedAction();
        private Object getRowKey(UIComponent component, String clientRowKey)
            if (component instanceof UIHierarchyViewer)
                UIHierarchyViewer hv = (UIHierarchyViewer) component;
                ClientRowKeyManager crkm = hv.getClientRowKeyManager();
                return crkm.getRowKey(FacesContext.getCurrentInstance(), component, clientRowKey);
            return null;
    </pre>
    and in hierarchy viewer added row displayed on level one for session then reload page it is ok why shot in level 1
    Where I missed? how to Selected rows assign to hierarchy viewer object? thanks juddi

    thanks for your reply shay. i am just trying to understand how a dvt HV could render in iPhone mobile browser (eg. iOS simulator) as its a part of ADF Faces components. as a part of mobile development we have only trinidad components available (not HV) and it renders in iOS simulator.
    I have tested a HV app (JDev 11.1.1.6) in Safari web browser and it works fine there. Please share your thoughts on this.
    ~Abhijit

  • Calculate Difference in Days Between two Dates

    Hi,
    I'm trying to figure out how to calculate the difference in days between two dates using JavaScript in LiveCycle. (JavaScript knowledge = minimal)
    Where "Start_Date" and "Current_Date" are the names of the two dates in the Hierarchy palette. (both Date/Time Field)
    *Current date is using the Object > Value > Runtime Property > Current Date/Time
    I need a Text or Numeric field displaying the difference in days. (Difference_in_Days)
    I've noticed the following code being pretty standard amongst other responses:
    var 
    Start_Date = new Date(Start_Date);
    var 
    Current_Date = new Date(Current_Date);
    var 
    nAgeMilliseconds = Current_Date.getTime() - Start_Date.getTime();
    var 
    nMilliSecondsPerYear = 365 * 24 * 60 * 60 * 1000;
    I know there's code missing, and the above code might not be correct.
    Please advise.

    Where "DateField01" = user entered date field
    Where "DateFiled02" = Current Date/Time (Runtime Property)
    where "Subform" = the subform containing DateField01
    My script now resembles:
    var oneDay = 24*60*60*1000;
    var firstDate = new Date(Subform.DateField01.rawValue);
    var secondDate = new Date(DateField02.rawValue);  
    (firstDate.getTime() - secondDate.getTime()) / oneDay;
    I tried adding:
    app.alert(String(diffDays));
    Although I assume the reason I didn't get an error is because DateField01 is empty when the form is opened.
    If I swap in actual dates instead of fields it works perfectly.
    When I use the fields I have no information populating after I enter a date in "DateField01"

  • Link / MAP an Lov selection list to the Hierarchy Viewer.

    Hi,
    I have created both a hierarchy viewer and an LOV af:selectOneChoice; both are appearing correctly on screen. I simple (hopefully) just want to link the selection made on the LOV / combo box to the Hierarchy viewer, such that when a user selects a value from the Lov/ComboBox the hierarchy viewer is updated. I am new to ADF, in Javascript with EXTJS or Jquery this is simple, but I cant figure out how to implement this feature in the Hierarchy viewer.
    any help much appreciated.
    Darragh.

    thanks Ankit for replying; I change the SOC to an inputListOfValues instead, but the same idea applies
    I have two underlying View Objects. For the ViewObject on the HV I also have a View Criteria and once the user selects from the LOV I need to remove the default View Criteria and apply another. I know I can implement the following code
        ViewCriteria vc = getViewCriteria("setEmployee");
           vc.resetCriteria(); //removes any existing View Criteria.
           setemployeeidbind(x); //this is the employee number
           applyViewCriteria(vc);
           executeQuery();
    I want to execute the above code once the user has selected a new user. I decided to change SOC to a inputListOfValues and I created a managed Bean to caputure the returnPopupListener, I now have the employee number selected by the user. I was hoping to now refresh the HV, remove the current ViewCriteria and apply a new vew Criteria. So basically I want to implement the above code when the user closes the pop up search. I am using the following code to get the handle to the ApplicationModule and the ViewObject
             BindingContext bcc = BindingContext.getCurrent();
             DCDataControl dc = bcc.findDataControl("AppModuleDataControl");
             ApplicationModule am = dc.getApplicationModule();
             ViewObject VO = am.findViewObject("EmpDetails1");
    Now, I simply want to remove the existing view criteria and set the bind variable. As I say I am very new to ADF I really feel stupid asking these Questions as in PL/SQL / JavaScript etc this is very easy to do

Maybe you are looking for

  • Internal order settlment to GL (primary cost)

    Hi Friends, I got and issue like that client wants to settle internal order (primary cost) to GL only, but do not wants to settle secondary cost to GL. I maintain allocation structure for that where i include all the range of all primary and secondar

  • I need help for Arabic Typing in Pages and PhotoShop and how can I change the Typing Direction to Be from right to left

    Hi there Accualy I have 2 problems with Pages 1- How can I get more Arabic Fonts with More Decorated style 2- The typing in Arabic should be from right to left and in Pages it's Happining but the typin marker is not doing this so its hard to fix any

  • How to Use Java

    how can use my java? Moderator's Note: A more appropriate subject was provided so it will be easier for our community to respond to this post.

  • Can the ipad2 export 1080p video?

    I know that iMovie allows this and so does vericorder 1st video, but I haven't seen this capability in any other app. The guy who makes Videograde had this to say:  Unfortunately, the iPad 2 is does not allow for the 1080p video processing. The devic

  • VERTICAL FORMAT VIDEOS...HOW TO?

    I've got creat a new video for an upcoming trade show. The HD TVs will be hanging vertically and run from computers. I need to know how to format my video (whether it be FCP or Motion) to create this project. Is the foundation of the project FCP or M