Limitation on Tree

Does anybody know if there is limitation on number of nodes on Hierarchy tree? Potentially, my tree may have more than 4000 nodes all together..
Or is there another way to display tree?
Thanks

In my experience, Oracle tends not to use function based indexes unless you force it using a hint.
Try this:
SELECT /*+ index (t i_fn_idx) */
FROM
table1 t
where column1||column2 IN (:C1. :C2)
here i_fn_idx in the functional index on column1||column2 is table t.
Shakti
http://www.impact-sol.com
Developers of Guggi Oracle - Tool for DBAs and Developers

Similar Messages

  • Af:tree Null Pointer Exception using af:switcher

    Hi,
    I've implemented a Tree (based on 3 linked SQL Query View Objects). The linked View Objects run ok in the Application Module tester...
    I wanted to customize the different levels of the tree so implemented a Switcher component on the Tree as follows (note I've limited the Tree to 2 levels):
    <af:tree value="#{bindings.listToDoAppsVO1.treeModel}" summary="ToDo List Tree"  var="node"
                                                                 id="pt_t8" contentDelivery="lazy"
                                                                 initiallyExpanded="true"
                                                                 styleClass="AFStretchWidth" inlineStyle="height:inherit;">
                                                            <f:facet name="nodeStamp">
                                                              <af:switcher facetName="#{node.hierType.structureDefName}" id="todo_switcher">
                                                                <!-- render the Application Node -->
                                                                <f:facet name="app_model.listToDoAppsVO">
                                                                  <!-- display the Application as the node name -->
                                                                  <af:outputText value="#{node.Appname}" id="ot_app">
                                                                  </af:outputText>
                                                                </f:facet>
                                                                <f:facet name="app_model.listToDoTypesVO">
                                                                  <!-- Create the node definition for the Report Type -->
                                                                  <af:commandImageLink id="pt_ot16"
                                                                                         text="#{node.Viewtype}"
                                                                                         icon="/pics/folder-icon.png"
                                                                                         action="callRouter"
                                                                                         actionListener="#{backingBeanScope.cognition3coltempBacking.toDoViewGoActionListener}"
                                                                                         />
                                                                </f:facet>
                                                              </af:switcher>
                                                            </f:facet>
                                                        </af:tree>However, when the page is run the Tree displays correctly initially, but as soon as a link is pressed I get a Null Pointer exception with the following Stack Trace info (top 30 or so lines):
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.createAndNotifyDCE(JUCtrlValueBinding.java:327)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.createAndNotifyDCE(JUCtrlHierNodeBinding.java:2646)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.createAndNotifyDCE(FacesCtrlHierNodeBinding.java:137)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.notifyRefreshDCE(JUCtrlValueBinding.java:299)
         at oracle.jbo.uicli.binding.JUIteratorBinding.notifyRefreshDCE(JUIteratorBinding.java:497)
         at oracle.adf.model.binding.DCIteratorBinding.refreshControlAndNotifyDCE(DCIteratorBinding.java:705)
         at oracle.adf.model.binding.DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:914)
         at oracle.adf.model.binding.DCIteratorBinding.iteratorReset(DCIteratorBinding.java:1332)
         at oracle.jbo.common.RowSetHelper.fireMgmtIteratorReset(RowSetHelper.java:282)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyIteratorReset(ViewRowSetIteratorImpl.java:3778)
         at oracle.jbo.server.ViewRowSetImpl.resetIterators(ViewRowSetImpl.java:4004)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1271)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1413)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1319)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1304)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:7119)
         at oracle.adf.model.bc4j.DCJboDataControl.executeIteratorBindingIfNeeded(DCJboDataControl.java:1366)
         at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2219)
         at oracle.jbo.uicli.binding.JUCtrlHierBinding.getRootNodeBinding(JUCtrlHierBinding.java:92)
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.getParent(RowDataManager.java:245)
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowIndex(RowDataManager.java:51)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowIndex(FacesCtrlHierBinding.java:800)
         at org.apache.myfaces.trinidad.component.UIXCollection.setRowIndex(UIXCollection.java:530)
         at org.apache.myfaces.trinidad.component.UIXTree.__encodeBegin(UIXTree.java:488)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeBegin(UIXCollection.java:607)If I replace the tree with a simpler component (e.g Command Image link) I don't get the error.
    Any ideas please? I'm using JDeveloper 11.1.2.1.0 incidentally...
    Thanks.

    Hi Frank,
    Thanks for your reply. The Partial Submit worked up to a point - the expected navigation to the new view now works when the link is initially pressed. However, if the link is tried again the Null Pointer Exception occurs again.
    By the way, the Tree is on a Page Template, where there is another Tree that utilises an af:switcher - and the command link from this tree now fails with the same NPE error. I notice there are warnings for both trees in the Page Template View such that 'Reference "node.hierType" not found'. Not sure how relevant this is given that the Trees both display correctly initially.
    The Stack Trace is as follows (can't post the whole thing as it exceeds the 30000 char limit):
    <UIXInclude> <_warnUnpoppedContextChanges> ADF_FACES-10021:During the processing of the include component, the context change found did not match the current component. Expected oracle.adf.view.rich.component.fragment.UIXInclude$IncludeContextChange, but got UIXCollection.CollectionComponentChange[Component class: oracle.adf.view.rich.component.rich.data.RichTree, component ID: pt_t8].
    <FaceletViewHandlingStrategy> <handleRenderException> Error Rendering View[/app_todoTF/app_common_todo]
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.findChildNode(JUCtrlHierNodeBinding.java:867)
         at oracle.jbo.uicli.binding.JUCtrlHierBinding.bringNodeToRangeKeyPath(JUCtrlHierBinding.java:788)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding.bringNodeToRangeKeyPath(FacesCtrlHierBinding.java:111)
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowKey(RowDataManager.java:130)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowKey(FacesCtrlHierBinding.java:830)
         at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:513)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils._isMultiRootedTree(TreeRendererUtils.java:2507)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils.addClientPropertyFlags(TreeRendererUtils.java:1915)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeRenderer.addClientProperties(TreeRenderer.java:742)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeRenderer.encodeAll(TreeRenderer.java:351)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:617)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer._encodeAllChildren(PanelBoxRenderer.java:1518)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer._renderContentRow(PanelBoxRenderer.java:1440)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelBoxRenderer.encodeAll(PanelBoxRenderer.java:381)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1500(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:734)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:637)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.access$600(ShowDetailItemRenderer.java:37)
         at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:640)
         at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:613)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer._encodeChildren(ShowDetailItemRenderer.java:550)
         at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.encodeAll(ShowDetailItemRenderer.java:121)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelAccordionRenderer._encodeNonScreenReaderDetailItem(PanelAccordionRenderer.java:1572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelAccordionRenderer._encodeDetailItem(PanelAccordionRenderer.java:1638)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelAccordionRenderer.access$4900(PanelAccordionRenderer.java:58)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelAccordionRenderer$PanelEncoderCallback.processComponent(PanelAccordionRenderer.java:2775)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelAccordionRenderer$PanelEncoderCallback.processComponent(PanelAccordionRenderer.java:2719)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelAccordionRenderer.encodeAll(PanelAccordionRenderer.java:471)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeStartFacet(PanelStretchLayoutRenderer.java:942)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeVerticalPane(PanelStretchLayoutRenderer.java:1542)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:350)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:316)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1593)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:263)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:879)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1294)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:351)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:316)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1593)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:263)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:68)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1277)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl._processRender(PartialViewContextImpl.java:321)
         at oracle.adfinternal.view.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:152)
         at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:974)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1652)
         at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1027)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
         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:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    java.lang.NullPointerException
    etc...Thanks.

  • Alcanzo la cantidad maxima de cuentas gratuitas activadas en este IPhone

    Alcanzó la Cantidad maxima de cuentas Gratuitas Activadas En Este IPhone, que puedo hacer ?????

    Hola, yo solucione el problema de la siguiente manera:
    Primero los pongo en contexto. Compre el iPhone 6, por lo que el iPhone 5 paso a mi hermano de en medio y el iPhone 4 de éste hermano, paso a mi hermano mas chico, cuando estaba creando la nueva cuenta de mi hermano el mas chico con el iPhone 4 ya restaurado, me salió un aviso de que no se podia crear una nueva cuenta de apple con ese dispositivo, por lo que en mi computadora entre a icloud.com en la web y desde ahi creé la cuenta fácilmente, pero el problema aún no estaba solucionado como yo creí. En el iPhone 4 al intentar iniciar sesión con la nueva cuenta, me apareció el famoso "Has alcanzado la cantidad maxima de cuentas gratuitas activadas en este iPhone" por lo que tome el iPhone 5, ingrese la nueva cuenta creada y sí se pudo iniciar sesión en iCloud, quedando activada la cuenta automáticamente. Regrese al iphone 4 e ingrese nuevamente la cuenta y ya no tube ningún problema.
    En resumen lo que aprendí es que en un iPhone solo puedes activar tres cuentas de iCloud, es decir, solo puedes CREAR tres cuentas, esto no quiere decir que ya nunca vas a poder utilizar el iPhone con cualquier otra cuenta de apple, si vas a poder utilizarlo con cualquier otra cuenta siempre y cuando esa cuenta este activada desde un dispositivo que no haya excedió el limite de tres cuentas activadas (creadas).
    Espero no haberme enrollado mucho y que les sirva de algo.

  • Has alcanzado la cantidad maxima de cuentas gratuitas activadas en este iphone

    Como soluciono para entrar en icloud cuando me pone al introducir el id q he alcanzado la cantidad maxima de cuentas gratuitas activadas en este iphone???

    Hola, yo solucione el problema de la siguiente manera:
    Primero los pongo en contexto. Compre el iPhone 6, por lo que el iPhone 5 paso a mi hermano de en medio y el iPhone 4 de éste hermano, paso a mi hermano mas chico, cuando estaba creando la nueva cuenta de mi hermano el mas chico con el iPhone 4 ya restaurado, me salió un aviso de que no se podia crear una nueva cuenta de apple con ese dispositivo, por lo que en mi computadora entre a icloud.com en la web y desde ahi creé la cuenta fácilmente, pero el problema aún no estaba solucionado como yo creí. En el iPhone 4 al intentar iniciar sesión con la nueva cuenta, me apareció el famoso "Has alcanzado la cantidad maxima de cuentas gratuitas activadas en este iPhone" por lo que tome el iPhone 5, ingrese la nueva cuenta creada y sí se pudo iniciar sesión en iCloud, quedando activada la cuenta automáticamente. Regrese al iphone 4 e ingrese nuevamente la cuenta y ya no tube ningún problema.
    En resumen lo que aprendí es que en un iPhone solo puedes activar tres cuentas de iCloud, es decir, solo puedes CREAR tres cuentas, esto no quiere decir que ya nunca vas a poder utilizar el iPhone con cualquier otra cuenta de apple, si vas a poder utilizarlo con cualquier otra cuenta siempre y cuando esa cuenta este activada desde un dispositivo que no haya excedió el limite de tres cuentas activadas (creadas).
    Espero no haberme enrollado mucho y que les sirva de algo.

  • Htree indexes in ext3

    HI
    Htree indexes are available in ext3 when the dir_index feature is enabled.how to enable / disable this feature ie. dir_index in OEL 5.4?
    Regards
    Edited by: you on Jan 5, 2010 12:13 PM

    I am not an expert on this issue, but tune2fs makes changes at FS level, so I think it will re-scan and re-organize the ENTIRE directories structure ...It makes sense to me that only one kind of algorithm to be used per filesystem...
    Basically, Htree is just a "classical" btree ( http://en.wikipedia.org/wiki/B-tree ) which was optimized for filesystems (using hash to group references to multiple leafs and limiting the tree depth to only a couple of levels, according to http://ext2.sourceforge.net/2005-ols/paper-html/node3.html). Now, I couldn't find any thorough explanation of the algorithm, but if you really want more in-depth info, I suggest looking at the source files. I never done this and I guess I never will, cause from the pov of an admin it's kinda useless....

  • Crystal Reports grouping limits different then tree or tab menu limits...

    <p>Hi,</p><p>This may not be the forum for this, but I figured that if I am trying to make a treemenu function as a replacement for the group tree in CR that it is somewhat relevant...</p><p>I got a production system to run a test and it seems that the Crystal reports group tree control can easily display 3000+ items, no errors, warnings or any other abnormal behaviours. Why would it be possible for this to work, and not have that many elements in a treemenu or tabmenu without the page size limits? I&#39;ve already discovered that in my case I need to break up the levels into smaller strings, but the page size becomes an issue. There are no ways that i have found to duplicate the group tree functionality with that many levels. Even the largest page size cannot display 3000+ items that I have been able to find.</p><p>Thanks for any help you can give. </p><p>&#160;</p><p>&#160;</p>

    <p>this will work for viewing only in boe or in the crystal reports designer...</p><li>In Enterprise (CMC), navigate to the report you&#39;ve just uploaded </li><li>From the process tab, select &#39;Print Setup&#39; </li><li>In the &#39;Set the report&#39;s page layout&#39; section, select the &#39;Custom Settings&#39; option. </li><li>Choose a Height and Width for the report (for example - 40inches width, 10 inches high). </li><li>Click Update. </li><li>Go to the History tab and Click Run Now (assuming the report you&#39;ve built doesn&#39;t have a massive quantity of data) </li><li>You should now be viewing your report with the screenspace chosen (40 inchs wide) - <em>From the viewer</em>, export the report to RPT and save it to your desktop. </li><li>Open the report in Crystal Reports and you will have the report with custom page settings to work with. </li>

  • Tree Size Limitation Error

    Hi, i have the problem that when i fill a tree box with over 5000 entries, the entries over a spezified number are showed completely gray, that means there is a border where the whole box is turning in gray and you can't read anything. Turning back with scroll panel i can read the entries again.
    I have the Labview Version 7.1, but i don't think the version has anything to do with it. Maybe someone knows the reason?

    Hi Alicona,
    normally you are only limited by the limits of your operating system. In the case of 32bit-OS's you are able to have 2^31-1 entries.
    I don't know what is going wrong on your side, so it would be the best if you could send me a little example that shows your wrong behavior.
    National Instruments
    District Sales Manager

  • Htmlb:tree node count limitation

    Hi Experts,
    I have a problem with htmlb:tree. Rendering up to 60 nodes will works well, if my tree has more than 60-65  nodes and I klick any link or the tree itself, after rendering has been finished, the Browser will get stuck and keep searching forever. SAP recommends to use htmlb:tree for trees with 30-50 nodes. Some suggestion was to load the node using AJAX. Are there some other ideas?
    Many thanks for help!

    check out this weblog
    [BSP/How-To: Build performance-efficient dynamic htmlb:tree|BSP/How-To: Build performance-efficient dynamic htmlb:tree]
    Raja

  • Cannot sort child rows in multilevel tree table

    Hi,
    I originally hijacked a two-year-old forum thread that was vaguely similar to my issue, but a kind forum moderator split my post away
    (and deleted my other hijack post asking this same question)
    so that my inquiry might be viewable on its own.
    Hopefully someone can pay attention to my issue instead of getting it confused with those other old forum threads.
    So, here we go ...
    Is sorting in a treeTable at a particular level possible? Just want to let you I have tried the following approaches to do this. But it dis not work for me.
    I have tree table with 2 levels. I am trying to sort the child rows based on its column say "Display Sequence".
    User can type in number in this column which contains input text. On value change event of the this field, all the
    child rows in the level 2 need to be sorted. This needs to be done without committing the data. On commit it works,
    because it sorts based on order by clause. I want the child rows to be sorted on value change event. Following
    various approaches I tried.
    TreeModel tModel = (TreeModel)treeTable.getValue();
    SortCriterion sortCriterion = new SortCriterion("DisplaySequence",true);
    List<SortCriterion> sortCriteriaList = new ArrayList<SortCriterion>();
    sortCriteriaList.add(sortCriterion);
    tModel.setSortCriteria(sortCriteriaList);
    The above code does not work, As "DisplaySequence" is not available in the parent view object.
    Here is approach no 2
    JUCtrlHierBinding treeTableBinding = null;
    JUCtrlHierNodeBinding nodeBinding = null;
    JUCtrlHierNodeBinding parentNodeBinding = null;
    JUCtrlHierTypeBinding nodeHierTypeBinding = null;
    Key rowKey;
    Object dispSeqObj;
    Number displaySequence = null;
    Map<Key,Number> keyValueMap = null;
    Set<Key> emptyValueKeySet = null;
    Map<Key,Number> sortedKeyValueMap = null;
    DCIteratorBinding target = null;
    Iterator iter = null;
    int rowIndex = 1;
    RowSetIterator rsi = null;
    Row currentRow = null;
    Row row = null;
    RowKeySet selectedRowKey = lookupTreeTable.getSelectedRowKeys();
    Iterator rksIterator = selectedRowKey.iterator();
    if (rksIterator.hasNext()) {
    List key = (List)rksIterator.next();
    System.out.println("key :"+key);
    treeTableBinding = (JUCtrlHierBinding) ((CollectionModel)lookupTreeTable.getValue()).getWrappedData();
    nodeBinding = treeTableBinding.findNodeByKeyPath(key);
    parentNodeBinding = nodeBinding.getParent();
    //rsi = nodeBinding.getParentRowSetIterator();
    rsi = parentNodeBinding.getChildIteratorBinding().getRowSetIterator();
    keyValueMap = new LinkedHashMap<Key,Number>();
    emptyValueKeySet = new LinkedHashSet<Key>();
    // Gets the DisplaySequence by iterating through the child rows
    while(rsi.hasNext()) {
    if(rowIndex==1)
    row = rsi.first();
    else
    row = rsi.next();
    rowKey = row.getKey();
    dispSeqObj = row.getAttribute("DisplaySequence");
    if(dispSeqObj!=null && dispSeqObj instanceof Number) {
    displaySequence = (Number)dispSeqObj;
    keyValueMap.put(rowKey, displaySequence);
    }else {
    emptyValueKeySet.add(rowKey);
    rowIndex++;
    rowIndex = 0;
    // Sort the numbers using comparator
    DisplaySequenceComparator dispSeqComparator = new DisplaySequenceComparator(keyValueMap);
    sortedKeyValueMap = new TreeMap<Key,Number>(dispSeqComparator);
    sortedKeyValueMap.putAll(keyValueMap);
    rsi.reset();
    nodeHierTypeBinding = nodeBinding.getHierTypeBinding();
    System.out.println("nodeHierTypeBinding :"+nodeHierTypeBinding);
    String expr = nodeHierTypeBinding.getTargetIterator();
    if (expr != null) {
    Object val = nodeBinding.getBindingContainer().evaluateParameter(expr, false);
    if (val instanceof DCIteratorBinding) {
    target = ((DCIteratorBinding)val);
    ViewObject targetVo = target.getViewObject();
    System.out.println("targetVo :"+targetVo);
    targetVo.setAssociationConsistent(true);
    //ri = target.findRowsByKeyValues(new Key[]{rowData.getRowKey()});
    rsi = parentNodeBinding.getChildIteratorBinding().getRowSetIterator();
    //rsi = nodeBinding.getParentRowSetIterator();
    // Rearrange the tree rows by inserting at respective index based on sorting.
    ViewObject vo = nodeBinding.getViewObject();
    iter = sortedKeyValueMap.keySet().iterator();
    while(iter.hasNext()) {
    currentRow = rsi.getRow((Key)iter.next());
    rsi.setCurrentRow(currentRow);
    rsi.setCurrentRowAtRangeIndex(rowIndex);
    //rsi.insertRowAtRangeIndex(rowIndex, currentRow);
    rowIndex++;
    iter = emptyValueKeySet.iterator();
    while(iter.hasNext()) {
    currentRow = rsi.getRow((Key)iter.next());
    rsi.setCurrentRow(currentRow);
    rsi.setCurrentRowAtRangeIndex(rowIndex);
    //rsi.insertRowAtRangeIndex(rowIndex, currentRow);
    rowIndex++;
    rsi.closeRowSetIterator();
    AdfFacesContext.getCurrentInstance().addPartialTarget(treeTable);
    private class DisplaySequenceComparator implements Comparator {
    Map<Key,oracle.jbo.domain.Number> dispSeqMap = null;
    public DisplaySequenceComparator(Map<Key,oracle.jbo.domain.Number> dispSeqMap) {
    this.dispSeqMap = dispSeqMap;
    public int compare(Object a, Object b) {
    Key key1 = (Key)a;
    Key key2 = (Key)b;
    oracle.jbo.domain.Number value1 = dispSeqMap.get(key1);
    oracle.jbo.domain.Number value2 = dispSeqMap.get(key2);
    if(value1.getValue() > value2.getValue()) {
    return 1;
    } else if(value1.getValue() == value2.getValue()) {
    return 0;
    } else {
    return -1;
    In the above code I tried to perform sorting of DisplaySequence values using comparator, then tried to rearrange
    nodes or rows based on sort resurts. But rsi.insertRowAtRangeIndex(rowIndex, currentRow) give
    DeadViewException...unable to find view reference. While setting current row also does not work.
    Approach 3.
    DCIteratorBinding iter1 =
    bindings.findIteratorBinding("childIterator");
    iter1.executeQuery();
    SortCriteria sc = new SortCriteriaImpl("DisplaySequence",false);
    SortCriteria [] scArray = new SortCriteria[1];
    scArray[0] = sc;
    iter1.applySortCriteria(scArray);
    Any help in Sorting Child nodes ADF treeTable is appreciated. Thanks in Advance.
    Abhishek

    Hi Frank,
    Thanks for your reply. I have tried similar approach for sorting tree table child rows based on user specified number and it works. But there is a limitation for this. This sorting works only for read only/transient view object. For updatable view object after sorting, data cannot be saved or updated, as it cannot find the rowid. Here is what I tried
    In the ParentViewImpl class,
    1. overrode the method createViewLinkAccessorRS, so that this method is forcefully executed.
    @Override
    protected ViewRowSetImpl createViewLinkAccessorRS(AssociationDefImpl associationDefImpl,
    oracle.jbo.server.ViewObjectImpl viewObjectImpl,
    Row row,
    Object[] object) {
    ViewRowSetImpl viewRowSetImpl = super.createViewLinkAccessorRS(associationDefImpl, viewObjectImpl, row, object);
    return viewRowSetImpl;
    2. Added the following method, which will be invoked on valueChange of DisplaySequence in child row. Expose this method through client interface. This method accept a parameter i.e. parent row key of the child row.
    public void sortChildRecords(Key parentKey) {
    ViewObject viewObject = null;
    String type = null;
    if(parentKey==null) {
    Row [] row = this.findByKey(parentKey, 1);
    RowSet rowSet = (RowSet)row[0].getAttribute("ChildVO");
    viewObject = rowSet.getViewObject();
    viewObject.setSortBy("DisplaySequence asc");
    }else {
    Row row = getCurrentRow();
    RowSet rowSet = (RowSet)row.getAttribute("ChildVO");
    viewObject = rowSet.getViewObject();
    viewObject.setSortBy("DisplaySequence asc");
    this.setQueryMode(ViewObject.QUERY_MODE_SCAN_DATABASE_TABLES |
    ViewObject.QUERY_MODE_SCAN_ENTITY_ROWS);
    this.executeQuery();
    For custom sort, lets say all the numbers should be display first in ascending order, and null or empty values to be display at the end need to override the getRowComparator method in the ChildViewImpl class,
    Here is the code for the same
    @Override
    public Comparator getRowComparator() {
    SortCriteria sortCriteria = new SortCriteriaImpl("DisplaySequence",false);
    SortCriteria [] sortCriterias = new SortCriteria[1];
    sortCriterias[0] = sortCriteria;
    return new DisplaySequenceComparator(sortCriterias);
    private class DisplaySequenceComparator extends RowComparator {
    public DisplaySequenceComparator(SortCriteria [] sortCriterias) {
    super(sortCriterias);
    public int compareRows(Row row1, Row row2) {
    Object dispSeqObj1;
    Object dispSeqObj2;
    Number dispSeq1 = null;
    Number dispSeq2 = null;
    boolean compareRow1 = true;
    boolean compareRow2 = true;
    if(row1!=null) {
    dispSeqObj1 = row1.getAttribute("DisplaySequence");
    if(dispSeqObj1!=null && dispSeqObj1 instanceof Number) {
    dispSeq1 = (Number)dispSeqObj1;
    }else {
    compareRow1 = false;
    if(row2!=null) {
    dispSeqObj2 = row2.getAttribute("DisplaySequence");
    if(dispSeqObj2!=null && dispSeqObj2 instanceof Number) {
    dispSeq2 = (Number)dispSeqObj2;
    }else {
    compareRow2 = false;
    if(compareRow1 && compareRow2) {
    if(dispSeq1.getValue() > dispSeq2.getValue()) {
    return 1;
    } else if(dispSeq1.getValue() == dispSeq2.getValue()) {
    return 0;
    } else {
    return -1;
    if(!compareRow1 && compareRow2)
    return 1;
    if(compareRow1 && !compareRow2)
    return -1;
    return 0;
    The above solution works properly, and sorts the child tree rows. But while saving the changes, update fails. I also came to know that in-memory sorting is applicable to read-only/transient view objects from some blogs and also mentiond in this link http://docs.oracle.com/cd/E24382_01/web.1112/e16182/bcadvvo.htm
    Is there any way that updatable view objects can be sorted and saved as well?
    Thanks,
    Abhishek
    Edited by: 930857 on May 2, 2012 7:12 AM

  • How to create tree in frames?

    I got this example from this is site http://www.irian.at/myfaces/tree.jsp.source
    <%@ page import="org.apache.myfaces.custom.tree.DefaultMutableTreeNode,
                     org.apache.myfaces.custom.tree.model.DefaultTreeModel"%>
    <%@ page session="true" contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <html>
    <!--
    * Licensed to the Apache Software Foundation (ASF) under one
    * or more contributor license agreements.  See the NOTICE file
    * distributed with this work for additional information
    * regarding copyright ownership.  The ASF licenses this file
    * to you under the Apache License, Version 2.0 (the
    * "License"); you may not use this file except in compliance
    * with the License.  You may obtain a copy of the License at
    *   http://www.apache.org/licenses/LICENSE-2.0
    * Unless required by applicable law or agreed to in writing,
    * software distributed under the License is distributed on an
    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    * KIND, either express or implied.  See the License for the
    * specific language governing permissions and limitations
    * under the License.
    //-->
    <%@include file="inc/head.inc" %>
    <body>
    <%
       if (pageContext.getAttribute("treeModel", PageContext.SESSION_SCOPE) == null) {
          DefaultMutableTreeNode root = new DefaultMutableTreeNode("XY");
          DefaultMutableTreeNode a = new DefaultMutableTreeNode("A");
          root.insert(a);
          DefaultMutableTreeNode b = new DefaultMutableTreeNode("B");
          root.insert(b);
          DefaultMutableTreeNode c = new DefaultMutableTreeNode("C");
          root.insert(c);
          DefaultMutableTreeNode node = new DefaultMutableTreeNode("a1");
          a.insert(node);
          node = new DefaultMutableTreeNode("a2 ");
          a.insert(node);
          node = new DefaultMutableTreeNode("b ");
          b.insert(node);
          a = node;
          node = new DefaultMutableTreeNode("x1");
          a.insert(node);
          node = new DefaultMutableTreeNode("x2");
          a.insert(node);
          pageContext.setAttribute("treeModel", new DefaultTreeModel(root), PageContext.SESSION_SCOPE);
    %>
    <f:view>
        <h:form>
            <t:tree id="tree" value="#{treeModel}"
                styleClass="tree"
                nodeClass="treenode"
                selectedNodeClass="treenodeSelected"
                expandRoot="true">
            </t:tree>
        </h:form>
        <jsp:include page="inc/mbean_source.jsp"/>       
    </f:view>
    <%@include file="inc/page_footer.jsp" %>
    </body>
    </html>what i want is backing bean, web.xml, face-config.xml and remaining files. All are telling about this site but full program is not there. if any one have worked out full example please post here.
    regards
    hc827

    I got this example from this is site http://www.irian.at/myfaces/tree.jsp.source
    <%@ page import="org.apache.myfaces.custom.tree.DefaultMutableTreeNode,
                     org.apache.myfaces.custom.tree.model.DefaultTreeModel"%>
    <%@ page session="true" contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <html>
    <!--
    * Licensed to the Apache Software Foundation (ASF) under one
    * or more contributor license agreements.  See the NOTICE file
    * distributed with this work for additional information
    * regarding copyright ownership.  The ASF licenses this file
    * to you under the Apache License, Version 2.0 (the
    * "License"); you may not use this file except in compliance
    * with the License.  You may obtain a copy of the License at
    *   http://www.apache.org/licenses/LICENSE-2.0
    * Unless required by applicable law or agreed to in writing,
    * software distributed under the License is distributed on an
    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    * KIND, either express or implied.  See the License for the
    * specific language governing permissions and limitations
    * under the License.
    //-->
    <%@include file="inc/head.inc" %>
    <body>
    <%
       if (pageContext.getAttribute("treeModel", PageContext.SESSION_SCOPE) == null) {
          DefaultMutableTreeNode root = new DefaultMutableTreeNode("XY");
          DefaultMutableTreeNode a = new DefaultMutableTreeNode("A");
          root.insert(a);
          DefaultMutableTreeNode b = new DefaultMutableTreeNode("B");
          root.insert(b);
          DefaultMutableTreeNode c = new DefaultMutableTreeNode("C");
          root.insert(c);
          DefaultMutableTreeNode node = new DefaultMutableTreeNode("a1");
          a.insert(node);
          node = new DefaultMutableTreeNode("a2 ");
          a.insert(node);
          node = new DefaultMutableTreeNode("b ");
          b.insert(node);
          a = node;
          node = new DefaultMutableTreeNode("x1");
          a.insert(node);
          node = new DefaultMutableTreeNode("x2");
          a.insert(node);
          pageContext.setAttribute("treeModel", new DefaultTreeModel(root), PageContext.SESSION_SCOPE);
    %>
    <f:view>
        <h:form>
            <t:tree id="tree" value="#{treeModel}"
                styleClass="tree"
                nodeClass="treenode"
                selectedNodeClass="treenodeSelected"
                expandRoot="true">
            </t:tree>
        </h:form>
        <jsp:include page="inc/mbean_source.jsp"/>       
    </f:view>
    <%@include file="inc/page_footer.jsp" %>
    </body>
    </html>what i want is backing bean, web.xml, face-config.xml and remaining files. All are telling about this site but full program is not there. if any one have worked out full example please post here.
    regards
    hc827

  • How do I create multiple types of child nodes in ADF  Faces Tree Component

    Hi,
    I am trying to construct a tree using ADF Faces. The tree I am trying to develop should look something like:
    - Departments
    + Dept 10
    + Dept 20
    + Dept 30
    + Dept 40
    - Employees
    + SCOTT
    +ALLEN
    + BLAKE
    The nodes shown at the top level should serve as labels, indicating the various types of nodes available.
    I have created the top level RootLabelsViewObj, with a SQL clause:
    select rn, node_label
    from (
    select 1 rn
    , 'Employees' node_label
    from dual
    union all
    select 2 rn
    , 'Departments' node_label
    from dual
    union all
    select 3 rn
    , 'Bonusplans' node_label
    from dual
    I have created ViewLinks between the RootLabelsViewObj and the DeptView and EmpView respectively (created on top of DEPT and EMP table in SCOTT schema), based on the LABEL attribute in the RootLabelsViewObj and with ViewLink SQL specified like:
    :Bind_NodeLabel = 'Departments' for the link with DeptView and :Bind_NodeLabel = 'Employees' for the link with EmpView.
    In the ADF BC Application Module Tester, I get exactly what I want.
    However, when I create a JSF JSPX page and drag the RootLabelsViewObj from the Data Control Panel to the page as ADF Tree, I run into a little issue: it seems like I cannot create a second Branch Accessor rule for the RootLabelsViewObj1: I have created a first Branch Accessor Rule referring to DeptView and now try to create a second one for EmpView, to allow Employees to be displayed under the root label "Employees" - but I cannot.
    The PageDefinition looks like:
    <tree id="RootLabelsViewObj1" IterBinding="RootLabelsViewObj1Iterator">
    <AttrNames>
    <Item Value="Rn"/>
    <Item Value="NodeLabel"/>
    </AttrNames>
    <nodeDefinition DefName="model.RootLabelsViewObj"
    id="RootLabelsViewObjNode">
    <AttrNames>
    <Item Value="NodeLabel"/>
    </AttrNames>
    <Accessors>
    <Item Value="DeptView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="model.EmpView" id="EmpViewNode">
    <AttrNames>
    <Item Value="Ename"/>
    </AttrNames>
    </nodeDefinition>
    <nodeDefinition DefName="model.DeptView" id="DeptViewNode">
    <AttrNames>
    <Item Value="Deptno"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    Does anyone know:
    - whether it is possible (intended) to have more than one branch accessor per node (i.e. more than one type of child under a node in the tree)
    - if so, how this can be achieved?
    Right now it looks like I am limited to each node in the tree having only one type of child node.
    Please tell me I am wrong.
    best regards,
    Lucas

    Give this a shot mate
    event.getNativeEventTarget();That will allow you to access the DOM object directly
    Id can be retrieved via
    event.getNativeEventTarget().id;

  • E55 HSDPA (3.5G) Modem performance limited by Wind...

    Hello,
    I found out a strange question that annoys me too much. Here it is. You know some of E-series devices such as E55 supports 3.5G and thus up to 10.2 mbps speed. BUT in Windows, when you connect your phone in PC Suite mode, then choose "Connect the Internet" and let "One-Touch Access" application open. Click "connect" and wait until connection is established.
    Once the connection has been established, either in Vista or XP, check active connection "status" in "my network connections", you'll see "speed" as 460800 kbps by default and you can increase this value in modem settings up to 921600 kbps which makes the confusion!
    So, why is communication speed is limited with 921600 kbps (at maximum) whereas the achievable connection speed is 10.2 mbps provided by your 3/3.5G operator? Is this related to Pc Suite's network driver and what's the explanation of it?
    Really appreciate comments,
    Thanks a lot! 

    About your resolv.conf copy/pasting - /etc/ppp/resolv.conf and ip-up:
    http://bbs.archlinux.org/viewtopic.php?id=62520
    http://bbs.archlinux.org/viewtopic.php?id=62004
    I think its time for me to add that to the wiki... if its not already there.
    Thou I don't know if it solves your problem in this case, since you said you edited the resolv.conf.
    EDIT: Posted too fast again. I just saw this
    --> primary DNS address 80.251.192.244
    --> secondary DNS address 80.251.192.245
    search bredband.tre.se
    nameserver 80.251.201.177
    nameserver 80.251.201.178
    Same? Purposely put different DNS? /etc/ppp/resolv.conf
    Last edited by mcover (2009-01-20 00:01:22)

  • Is there any way to go beyond the 99 TRACKS of content limitation for a DVD

    Greetings All,
    I don't think there is much hope of getting the solution to my dilemma that I'm hoping for, but perhaps someone out there has overcome a similiar situation to mine.
    As you can see from the topic of my post, I'm hoping there might be some way to get DVD SP to 'work-around' the DVD-standard of 99 tracks of content. To give you a better idea of why I'm trying to do this I'll just briefly outline my project.
    I'm creating a FAMILY TREE DVD with multiple menus (each menu representing a specific family). The object is to encompass extended family as well as ancestry up to the current generation. The names for each person that appear on the menu are links to a slideshow (and usually a very short one at that - perhaps 3 to 5 pix). As you've guessed, I've reached the limit of 99 slideshows but with barely having gone past the 1.5 GB mark.
    In order to meet the desired objective of this project, it would be preferable to have all the slideshows contained on the one DVD as this way, the interconnections between the various families can be more easily demonstrated.
    Anyway, I know its a long shot as I've tried to do some research on this myself and have come up empty.
    Any help or advice offered would be greatly appreciated.
    Thanks,
    Karl

    99 title limit - this includes Tracks and Stories!
    I would imagine a project like this would be possible with chapter end jumps although ,like you guys said, it would be a PITA.
    No way to get beyond the 99 title limit in DVDSP. Tracks and stories are counted as 1 title each so the limits includes both tracks and stories. I could see having up to 99 Tracks and 99 chapters while including chapter end jumps for each slide show section. Like Aldolfo said this might put pressure on a player. Remember DVDSP is still an abstraction layer tool, hiding most of the mundane DVD details from the author.
    This title would be a breeze in a spec tool, like the studios use to author their titles. Your still limited to 99 tracks (VTS) but these tools give you access to such things as PGCs and Programs. In fact, this title could be done with 1 track(VTS) in such a tool.
    and....I wouldn't want to target 9801 separate Buttons
    Message was edited by: Eric Pautsch1

  • Help:UIModel.xml file for ADF Tree with three level depth

    Hello,
    I am trying to create a DCTree with structure like this:
    root....branch1----child11,child12
    ..........branch2......branch21---child212,child212
    ............................branch22---child221,child222
    Because I can not create more than one binding rule due to the problem that "Add New Rule" button disappears after the first rule is created when I use the tool under Createbinding/Input/Tree to create the DCTree.
    Could somebody post or send me a script of the UIModel.xml file of the tree structure above so that I can work around this problem?
    Thanks in advance,
    Deborah

    Hi,
    I haven't test it for more than 3 layers but I have never seen this limitation mantioned anywhere.
    I used HGrid and this is my code:
    1. UIX file (the relevant part highlighted):
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el"
    xmlns:myTemplate="test">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="baseTemplate.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <myTemplate:baseTmpl title="" xmlns:myTemplate="test">
    <contents>
    <rowLayout>
    <contents>
    <link text="Bets View" destination="browseCustBets.do"/>
    <spacer width="10" height="10"/>
    <link text="Customer Bets" destination="viewCustBets.do"/>
    </contents>
    </rowLayout>
    <rowLayout>
    <contents>
    <spacer width="10" height="10"/>
    </contents>
    </rowLayout>
    <rowLayout>
    <contents>
    <hGrid id="hg1" treeData="${uix.data.treeData}" proxy="${uix.eventResult.hGridProxy}">
    <columnHeaderData>
    <col text="Email"/>
    <col text="Bet Date"/>
    <col text="ID"/>
    <col text="Is Winner"/>
    <col text="Amount"/>
    <col text="Rate"/>
    </columnHeaderData>
    <columnHeaderStamp>
    <text text="${uix.current.text}"/>
    </columnHeaderStamp>
    <columnFormats>
    <columnFormat columnDataFormat="textFormat" width="140"/>
    <columnFormat columnDataFormat="textFormat" width="160"/>
    <columnFormat columnDataFormat="textFormat" width="40"/>
    <columnFormat columnDataFormat="textFormat" width="70"/>
    <columnFormat columnDataFormat="textFormat" width="70"/>
    <columnFormat columnDataFormat="textFormat" width="40"/>
    </columnFormats>
    <contents>
    <text text="${uix.current.Email}"/>
    <text text="${uix.current.BetDate}"/>
    <text text="${uix.current.BetID}"/>
    <text text="${uix.current.IsWinner}"/>
    <text text="${uix.current.Amount}"/>
    <text text="${uix.current.Rate}"/>
    </contents>
    </hGrid>
    </contents>
    </rowLayout>
    </contents>
    <tabs/>
    <pageButtons/>
    <globalButtons/>
    <pageHeader/>
    <start/>
    <end/>
    <about/>
    <copyright/>
    <privacy/>
    <corporateBranding/>
    <productBranding/>
    </myTemplate:baseTmpl>
    <formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    <provider>
    <data name="treeData">
    <method class="view.CreateTreeData" method="getTreeData"/>
    </data>
    </provider>
    </dataScope>
    </content>
    <handlers>
    <event name="*">
    <method class="view.BetDetailsAction" method="doHGridEvent"/>
    </event>
    </handlers>
    </page>
    2. CreateTreeData class:
    It has a static method getTreeData() that returns a DataObject containing the tree nodes. This methode is mentiond in <provider> node in UIX/XML.
    package view;
    import java.util.Enumeration;
    import model.*;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.ServletConstants;
    import oracle.cabo.servlet.ui.BajaRenderingContext;
    import oracle.cabo.ui.RenderingContext;
    import oracle.cabo.ui.UIConstants;
    import oracle.cabo.ui.data.DataObject;
    import oracle.cabo.ui.data.servlet.HttpSessionDataObject;
    import oracle.cabo.ui.data.tree.SimpleTreeData;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.ViewObject;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCDataControl;
    //import oracle.jbo.common.Configuration;
    import javax.servlet.http.HttpSession;
    import oracle.jbo.client.Configuration;
    public class CreateTreeData
    public CreateTreeData()
    public static DataObject getTreeData(RenderingContext context, String namespace, String name)
    // create root node
    SimpleTreeData root = new SimpleTreeData();
    int BetID = 0;
    // get the parameter from url
    BajaContext bContext = (BajaContext) context.getProperty(ServletConstants.BAJA_NAMESPACE,
    BajaRenderingContext.BAJA_CONTEXT_PROPERTY);
    HttpSession session = bContext.getServletRequest().getSession(true);
    try
    //BetID = new Integer(( bContext.getServletRequest( ) ).getParameter( "BetID" )).intValue();
    String s = ( bContext.getServletRequest( ) ).getQueryString();
    BetID = new Integer(s).intValue();
    session.setAttribute("BetID", s);
    //BetID = new Integer(session.getAttribute("BetID").toString()).intValue();
    catch ( Exception ex)
    // log the error on the console
    BetID = new Integer(session.getAttribute("BetID").toString()).intValue();
    //System.out.println( "Parameters cannot be retrieved" );
    //System.out.println( ex.getMessage() );
    String amDef = "model.AppModule";
    String config = "AppModuleLocal";
    ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
    AppModuleImpl myAm = (AppModuleImpl)am;
    root = myAm.createNodesData(BetID);
    myAm.remove();
    Configuration.releaseRootApplicationModule(am,true);
    // return the tree
    return root;
    3. createNodesData(int Id) is the actual function that creates the data structure containing the nodes.
    It is in AppModule. The actual tree is kept in one table and every node knows its parent ID. There is no limitation in depth.
    This function is called recursively until the tree is finished and the parameter Id is the Id of the parent node that I want to be listed. Tne top parent nodes has null in ParentID field.
    public SimpleTreeData createNodesData(int Id)
    SimpleTreeData tData = new SimpleTreeData();
    String baseSQL =
    "SELECT Bet.ID, Bet.CUST_LOGIN_ID, Bet.BET_CLASS_ID, Bet.PARENT_BET_ID," +
    "Bet.CHAMPIONSHIP_ID, Bet.AMOUNT, Bet.WIN_RATE, Bet.IS_WINNER, Bet.BET_DATE, " +
    "BetClass.NAME, CustLogin.EMAIL, CustLogin.ID AS CUST_LOGIN_ID " +
    "FROM BET Bet, CUST_LOGIN CustLogin, BET_CLASS BetClass " +
    "WHERE (Bet.CUST_LOGIN_ID = CustLogin.ID) AND (Bet.BET_CLASS_ID = BetClass.ID) ";
    if(Id!=0){
    String sqlStmt = baseSQL + " AND (Bet.ID = '"+ Id +"')";
    ViewObject betVo = this.createViewObjectFromQueryStmt("betVo", sqlStmt);
    betVo.executeQuery();
    if(betVo.hasNext())
    //SimpleTreeData tData = new SimpleTreeData();
    tData.setText(betVo.first().getAttribute("NAME").toString());
    if(betVo.first().getAttribute("PARENT_BET_ID")==null)
    tData.put("Email", betVo.first().getAttribute("EMAIL").toString());
    tData.put("BetDate", betVo.first().getAttribute("BET_DATE").toString());
    tData.put("BetID", betVo.first().getAttribute("ID").toString());
    tData.put("IsWinner", betVo.first().getAttribute("IS_WINNER").toString());
    tData.put("Amount", betVo.first().getAttribute("AMOUNT").toString());
    tData.put("Rate", betVo.first().getAttribute("WIN_RATE").toString());
    if(Integer.parseInt(betVo.first().getAttribute("BET_CLASS_ID").toString())>1){
    tData.setExpandable(UIConstants.EXPANDABLE_EXPANDED);
    betVo.remove();
    String sqlStmt = baseSQL + " AND (Bet.PARENT_BET_ID = '"+ Id +"')";
    ViewObject betVo = this.createViewObjectFromQueryStmt("betVo" + Id, sqlStmt);
    betVo.executeQuery();
    while(betVo.hasNext()){
    tData.addChild(createNodesData(Integer.parseInt(betVo.next().getAttribute("ID").toString())));
    betVo.remove();
    return tData;
    Hope this will help...

  • ADF Tree row selection and af:commandLink

    Hello,
    I'm quite new to JDeveloper and ADF. I'm using JDev 11.1.1 and get some issues while trying to set up a "qualifications" selection tree. Here is a summary :
    I'm dealing with "Qualification" objects. A qualification has an id,name and 'selected' attribute. A Qualification can contain a list of subqualifications (same type 'Qualification'), and so on, with no limits of levels. I would like to display this structure as a tree with, for each (sub-)qualification a selectbox showing the status (selected or not) and modifiable by the user.
    The qualifications are exposed to the data controls through a ResourceManager class function getQualifications(), and the datacontrol is dropped as a tree in the jsf page. The tree is bind to a backing bean 'qualificationManagerBean', and i've added an ActionListener to handle node selection (set node as current row and call update action)
    page definition :
    <executables>
    <accessorIterator MasterBinding="ResourceManagerIterator"
    Binds="qualifications" RangeSize="25"
    DataControl="ResourceManager"
    BeanClass="com.mobileit.planning.web.Qualification"
    id="qualificationsIterator"/>
    </executables>
    <bindings>
    <tree IterBinding="qualificationsIterator" id="qualifications">
    <nodeDefinition DefName="com.mobileit.planning.web.Qualification">
    <AttrNames>
    <Item Value="name"/>
    <Item Value="selected"/>
    </AttrNames>
    <Accessors>
    <Item Value="subqualifications"/>
    </Accessors>
    </nodeDefinition>
    </tree>
    </bindings>
    </pageDefinition>
    in the jsf page :
    <af:form>
    <af:tree value="#{bindings.qualifications.treeModel}"
    binding="#{qualificationManagerBean.tree}" var="node">
    <f:facet name="nodeStamp">
    <af:commandLink text="#{node}" id="test"
    actionListener="#{qualificationManagerBean.clickTree}">
    <af:setActionListener from="#{qualificationManagerBean.tree.rowKey}"
    to="#{qualificationManagerBean.clickedNodeRowKey}"/>
    </af:commandLink>
    </f:facet>
    </af:tree>
    </af:form>
    The result is that tree is well displayed, but only the first level of the tree triggers the 'clickedNodeRowKey' and 'clickTree' action. When i click on sub-levels, the page gets submitted but actions are not called.
    I've also tried to map the action to a method in my ResourceManager but the result is the same, action gets never called :
    page def file :
    <methodAction id="qualificationSelector" RequiresUpdateModel="false"
    Action="invokeMethod" MethodName="qualificationSelector"
    IsViewObjectMethod="false" DataControl="ResourceManager"
    InstanceName="ResourceManager.dataProvider">
    <NamedData NDName="ref"
    NDValue="#{node.name}"
    NDType="java.lang.String"/>
    </methodAction>
    Do you have any idea of what I'm doind wrong?
    Thank you for your help
    Stephane

    I finally got this to work by defining the tree model in a managed bean. So there must be something wrong with my iterator binding...

Maybe you are looking for