Netui:tree alternatives?

Does anyone know of an alternative to netui:tree. I'm using it to dynamically show groups/users from a database. The problem is that when it doesn't fit the full height of the browser I have to scroll everytime I expand/collapse a node. I need a tree that has some sort of anchoring mechanism.

check whether you have any CSS conflicts

Similar Messages

  • Building netui:tree from XML

              Hi,
              I am trying to build a Tree in Workshop 8.1 using netui:tree tag (for data in
              an XML file).
              The BEA docs say that we have to assign the TreeNode object to the 'tree' attribute
              in the netui:tree tag.
              What is the best way to translate the XML doc into a TreeNode object(s)?
              Thanks,
              Ajay
              

              "Ajay Oruganti" <[email protected]> wrote:
              >
              >Hi,
              >
              >I am trying to build a Tree in Workshop 8.1 using netui:tree tag (for
              >data in
              >an XML file).
              >
              >The BEA docs say that we have to assign the TreeNode object to the 'tree'
              >attribute
              >in the netui:tree tag.
              >
              >What is the best way to translate the XML doc into a TreeNode object(s)?
              >
              >
              >Thanks,
              >Ajay
              Did you resolve your problem?
              I have the similar one.
              So. I can draw my tree for my data, but if i receive second xml document with
              new data and try repaint the tree, i have the same tree, whitout changes.
              Can you help me?
              Best regards
              Hubert.
              

  • Netui:tree and portal problem?

    I may have found a problem regarding using netui:tree & netui:treenode tags in
    a pageflow when that pageflow is placed in a portlet in a portal.
    The problem is that expanding and contracting the nodes does not
    work in this case....(it does work when the pageflow is NOT placed in a portal.)
    I have drilled down on this a bit to see what was happening. Here are my impressions.
    This line of code (taken from the page flow taken from the supplied tree tutorial):
    [nodeExpanded = getRequest().getParameter(TreeNode.EXPAND_NODE);]
    is used to get a refence to the node that was clicked
    The constant
         [TreeNode.EXPAND_NODE]
    equates to the string "netui_treenode".
    In the working case (outside of the portal) this parameter and its value
    are received in the request passed to the page flow. (and can be used to
    change the state of the tree node).
    But when running the tree pageflow in the portal (does not work), this parameter
    does not exist in the request received by the page flow.
    If you examine the html of the tree while running in the portlet and search for
    the
    string "netui_treenode", you will find that the urls for the node expansion contain
    this
    parameter (as they should) ....but for some reason this parameter and its value
    never get
    through the page flow method.
    This is the cause of the problem.
    Any ideas?

    This issue is fixed in 8.1 sp3, or if you need a patch for 8.1 sp2, contact support
    and ask for the patch for CR129990.
    -tanya
    "gerry rodman" <[email protected]> wrote:
    >
    I may have found a problem regarding using netui:tree & netui:treenode
    tags in
    a pageflow when that pageflow is placed in a portlet in a portal.
    The problem is that expanding and contracting the nodes does not
    work in this case....(it does work when the pageflow is NOT placed in
    a portal.)
    I have drilled down on this a bit to see what was happening. Here are
    my impressions.
    This line of code (taken from the page flow taken from the supplied tree
    tutorial):
    [nodeExpanded = getRequest().getParameter(TreeNode.EXPAND_NODE);]
    is used to get a refence to the node that was clicked
    The constant
         [TreeNode.EXPAND_NODE]
    equates to the string "netui_treenode".
    In the working case (outside of the portal) this parameter and its value
    are received in the request passed to the page flow. (and can be used
    to
    change the state of the tree node).
    But when running the tree pageflow in the portal (does not work), this
    parameter
    does not exist in the request received by the page flow.
    If you examine the html of the tree while running in the portlet and
    search for
    the
    string "netui_treenode", you will find that the urls for the node expansion
    contain
    this
    parameter (as they should) ....but for some reason this parameter and
    its value
    never get
    through the page flow method.
    This is the cause of the problem.
    Any ideas?

  • [JPF/NetUI]NetUI tree issue---Urgent

    Gurus, :)
    I had an issue when i used the NetUI true in my project(on Weblogic10gR3), when i keep clicking the netUI tree,
    i got a message in the jsp: PageFlow /Controller.jpf: Could not find exception handler method <b>handleException</b>.; but actually i have an exception handler for the SocketException called handleSocketException, and there is also an exception handler method called handleException. weird weird.. ;)
    In the Log, there was an exception thrown:
    com.cup.service.jpf.ServiceController - Service Management SocketError
    java.net.SocketException: Connection reset by peer: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:525)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:504)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
         at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:249)
         at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:469)
         at weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:326)
         at weblogic.servlet.internal.CharsetChunkOutput.print(CharsetChunkOutput.java:233)
         at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:153)
         at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:176)
         at org.apache.beehive.netui.tags.AbstractSimpleTag.write(AbstractSimpleTag.java:152)
         at org.apache.beehive.netui.tags.tree.Tree.doTag(Tree.java:936)
         at jsp_servlet._com._cup._soa._catweb._service._jpf.__index._jspService(__index.java:333)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:385)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:128)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1801)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1674)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.cup.filter.LoginFilter.doFilter(LoginFilter.java:50)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    the class marked as bold is a filter in which i checked if the netUI tree is emplty, and the logic in the LoginFilter.java:50 is only : chain.doFilter(request, response);
    it seems that a socket exception is thrown with no reason, is it a NetUI issue????
    It's really urgent, could someone help me with that? ;)
    Thanks a lot!!!!!
    Edited by: Xu Wen on Sep 3, 2009 8:26 PM
    Edited by: Xu Wen on Sep 3, 2009 10:23 PM
    Edited by: Xu Wen on Sep 3, 2009 11:17 PM

    deepak,
    Sorry for replying your post so late as i am just back from my vacation. the entire thing is as follows:
    2009-09-16 14:30:45,546 ERROR [[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] com.cup.soa.catweb.service.jpf.ServiceController - Service Management SocketError
    java.net.SocketException: Software caused connection abort: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:525)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:504)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
         at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:249)
         at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:469)
         at weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:326)
         at weblogic.servlet.internal.CharsetChunkOutput.print(CharsetChunkOutput.java:233)
         at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:153)
         at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:176)
         at org.apache.beehive.netui.tags.AbstractSimpleTag.write(AbstractSimpleTag.java:152)
         at org.apache.beehive.netui.tags.tree.Tree.doTag(Tree.java:936)
         at jsp_servlet._com._cup._soa._catweb._service._jpf.__index._jspService(__index.java:338)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:385)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:128)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1801)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1674)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.cup.soa.catweb.filter.LoginFilter.doFilter(LoginFilter.java:50)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    2009-09-16 14:30:48,000 ERROR [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] com.cup.soa.catweb.service.jpf.ServiceController - Service Management SocketError
    java.net.SocketException: Connection reset by peer: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:525)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:504)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
         at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:249)
         at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:469)
         at weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:326)
         at weblogic.servlet.internal.CharsetChunkOutput.print(CharsetChunkOutput.java:233)
         at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:153)
         at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:176)
         at org.apache.beehive.netui.tags.AbstractSimpleTag.write(AbstractSimpleTag.java:152)
         at org.apache.beehive.netui.tags.tree.Tree.doTag(Tree.java:936)
         at jsp_servlet._com._cup._soa._catweb._service._jpf.__index._jspService(__index.java:338)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:385)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:128)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1801)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1674)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.cup.soa.catweb.filter.LoginFilter.doFilter(LoginFilter.java:50)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    2009-09-16 14:30:48,921 ERROR [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] com.cup.soa.catweb.service.jpf.ServiceController - Service Management SocketError
    java.net.SocketException: Software caused connection abort: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:525)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:504)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
         at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:249)
         at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:469)
         at weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:326)
         at weblogic.servlet.internal.CharsetChunkOutput.print(CharsetChunkOutput.java:233)
         at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:153)
         at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:176)
         at org.apache.beehive.netui.tags.AbstractSimpleTag.write(AbstractSimpleTag.java:152)
         at org.apache.beehive.netui.tags.tree.Tree.doTag(Tree.java:936)
         at jsp_servlet._com._cup._soa._catweb._service._jpf.__index._jspService(__index.java:338)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:385)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:128)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1801)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1674)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.cup.soa.catweb.filter.LoginFilter.doFilter(LoginFilter.java:50)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    2009-09-16 14:30:49,062 ERROR [[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'] com.cup.soa.catweb.service.jpf.ServiceController - Service Management SocketError
    java.net.SocketException: Connection reset by peer: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:525)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:504)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
         at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:249)
         at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:469)
         at weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:326)
         at weblogic.servlet.internal.CharsetChunkOutput.print(CharsetChunkOutput.java:233)
         at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:153)
         at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:176)
         at org.apache.beehive.netui.tags.AbstractSimpleTag.write(AbstractSimpleTag.java:152)
         at org.apache.beehive.netui.tags.tree.Tree.doTag(Tree.java:936)
         at jsp_servlet._com._cup._soa._catweb._service._jpf.__index._jspService(__index.java:338)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:385)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:128)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1801)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1674)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.cup.soa.catweb.filter.LoginFilter.doFilter(LoginFilter.java:50)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Still the message saying handleException is not found . (Weird)
    Any idea what's wrong??
    Thanks a lot
    Regards,
    Wen
    Edited by: Xu Wen on Sep 21, 2009 2:00 AM

  • Netui:tree with calculated tree

              Hi!
              I am fighting with the netui:tree tag in a JSP with Bea Weblogic. Showing a tree
              like
              <netui:tree tree="commodityTreeResult" action="updateTree" imageRoot='<%=
              request.getContextPath() + "/resources/images" %>'>
              <netui:node label="root" expanded="true">
              <netui:node label="root.1"></netui:node>
              <netui:node label="root.2"></netui:node>
              </netui:node>
              </netui:tree>
              works easily. But I'd like to show a tree that is calculated by a Java-Control.
              I hoped something like
              <netui-data:callControl resultId="treeResult" controlId="treeService"
              method="makeTree"></netui-data:callControl>
              <netui:tree tree="{pageContext.treeResult}" action="updateTree" imageRoot='<%=
              request.getContextPath() + "/resources/images" %>'>
              </netui:tree>
              gives an error "Cannot find tree control attribute 'commodityTreeResult',
              and something like
              <netui:tree tree="commodityTreeResult" action="updateTree" imageRoot='<%=
              request.getContextPath() + "/resources/images" %>' rootNode="{pageContext.treeResult}">
              </netui:tree>
              does not work either. How do I "plug in" a calculated tree into netui:tree?
              Thanks so much,
              Hans-Peter
              

    Hi! Alright, I had the same problem and solved with the sample code. Put the code into your PF's begin, to initialize a TreeNode hierarchy, and store it in session.tree:
              HttpSession session = getRequest().getSession();
              TreeNode rootNode = new TreeNode(null,
              "Root", // Label
              null, // Action
              "javascript:alert('Root');",
              null, // Target
              false // Expanded
                   session.setAttribute("tree", rootNode);
              for (int i=0; i < 10; i++)
              TreeNode node = new TreeNode(null,
              "Node #" + i, // Label
              null, // Action
              "javascript:alert('Node #" + i + "');",
              null, // Target
              false // Expanded
              rootNode.addChild(node);
              After that, just refer to the root node as XScript "{session.tree}":
              <netui:tree tree="{session.tree}" action="updateTree"></netui:tree>
              Dont't forget to implement updateTree - just copy and paste it from the tree sample. Good luck!

  • Bea netui:Tree only half-working?

    I've faught with the netui:tree class for almost a year now. I ended up having to write my own render engine for it because the built-in functionality doesn't work very well. Now that I am re-visiting it and trying to write a very generic utility for it so a tree can easily be made for any part of my app, I want to try and get one specific part working, if only to make my life easier. The styleSelected and styleUnselected attributes DO NOT WORK. Specifically they aren't working in a portal enviro. Does ANYONE have any ideas as to why this is not working? And BEA, how about giving your customers something more than half-assed documentation?

    Hello
              I appreciate if you could kindly go through the following link regarding ususage of NetUI:Tree, where you can find sample
              http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/samples/tagSamples/netui/samTreeTag.html
              - Navaneeth

  • Tree tag netui:tree

    Hi.
    I’m trying to modify default sample from Workshop sp2 for netui:tree tag.
    <netui:tree tree="{session.tree}" imageRoot="treeImages" style="tree-control"
    action="treeState">
    I need to change my fonts for tree and change default images to my own plus other
    stuff.
    I cannot find source for style="tree-control”, if it is xml / xslt transformation
    where those files are?
    Thanks

    check whether you have any CSS conflicts

  • Netui:tree jsp example

    All,
    Can anyone supply me with an examplpe of using a netui:tree in a JSP portlet(s)?
    I am going to be selecting info from a database and would like to loop through
    that info to populate the tree. I have had zero success in getting the tree to
    render.
    What I want to have happen is 1. select the data 2. populate the tree 3. user
    selects node in tree and another portlet refreshes with parameters for that node
    (such as address, phone number) 4. User edits info 5. Info is written back to
    the DB 6. tree is updated.
    Is any of that even possible? I can't be the only person to ever try it.
    Thanks,
    John

    check whether you have any CSS conflicts

  • Trying to use netui:tree

              Hi,
              I am trying to use netui:tree tag.The help/documentation provided does not specify
              what kind of value should be provided to datasource? Is there a good example where
              I can find how use the tag effectively?
              Thanks,
              Preeti Joshi
              

    If you log in at www.verizon.net and go to my services and manage all - you can see if it's on your account. 
    if it's giving a busy like that - then I am pretty sure it's not on your account, and you can add it there, or call into -800 VERIZON

  • Held needed - netui:tree

    Hi
    I want to display a checkbox along with the label of the nodes in netui:tree. Please let me know how to do it.
    Thanks in advance.
    -Punitha

    check whether you have any CSS conflicts

  • Netui:tree with frames

    I'm using two deferent netui:tree-s on two separated pages. Both pages are divided by frames. Also I use different action for each of netui:tree, and I define them in different controller. One netui:tree is used for public users menu, and other netui:tree is used for admins user menu when he logs in. That's why I need two of them. Some how they interact, so I see on both pages the same tree. But the funny thing is that they point on right pages just I cant get different labels.
              Thank you
              [email protected]

    Hi! Alright, I had the same problem and solved with the sample code. Put the code into your PF's begin, to initialize a TreeNode hierarchy, and store it in session.tree:
              HttpSession session = getRequest().getSession();
              TreeNode rootNode = new TreeNode(null,
              "Root", // Label
              null, // Action
              "javascript:alert('Root');",
              null, // Target
              false // Expanded
                   session.setAttribute("tree", rootNode);
              for (int i=0; i < 10; i++)
              TreeNode node = new TreeNode(null,
              "Node #" + i, // Label
              null, // Action
              "javascript:alert('Node #" + i + "');",
              null, // Target
              false // Expanded
              rootNode.addChild(node);
              After that, just refer to the root node as XScript "{session.tree}":
              <netui:tree tree="{session.tree}" action="updateTree"></netui:tree>
              Dont't forget to implement updateTree - just copy and paste it from the tree sample. Good luck!

  • Cannot refresh netui:tree

    So. I can draw my tree for my data, but if i receive second xml document with
              new data and try repaint the tree, i have tree, whitout changes.
              Anyone has idea?
              Best regards
              Hubert.
              

    how to solve this problem? I also have this problem.

  • Please Help(How to get RadioButtons in tree View)

    Hi.
    Sub/Requirement: How to implement RadioButtons in tree view with/without using xml file.
    I have a requirement like this i want to display RadioButton in tree view.
    I implemented tree same as which is given in sampleApplications.
    In this sampleApplications they implemted tree by using xml file.
    I also implemented tree by Generating xml file. In this xml file i get the values from the database. I am using <netui:tree > tag.
    Is it possible to implement tree without using xml file. I need to generate tree Dynamically.
    Please any one help me to come out with this solution.

    The issue here is while you are retrieving all the details, you are consistently overwriting them in the request.setAttribute() call before you get to the JSP to display them.
    Do you actually have a class/object called Student?
    That object should have attributes for classes, subjects, teachers (all of which are lists apparently)
    public class Student{
      String name;
      List classes;
      List subjects;
      List teachers;
      // appropriate getter/setter methods
    }Then you load each student, and populate its individual lists.
    That lets you pass the list of students, each student having its own lists for display.
    Hope this helps,
    evnafets

  • Tree and TreeNode Objects

    It appears that you can't update the label property of a TreeNode object (there
    is a getLabel(), but no setLabel()). Is there a reason for this, am I missing
    something?

    If you have got a solution for your problem please let me know as well.
    My requirement is to develop a database driven netui tree control (also embedding a chkbox against each node!)
    Thanks & Regards :-D

  • Looking for tree sample

    Where can I find code sample for <netui:tree> and <netui:node>?

    "slucha" <[email protected]> wrote:
    >
    Where can I find code sample for <netui:tree> and <netui:node>?At the workshop samples, SamplesApp/WebApp/tree .
    <netui:tree tree="{session.tree}" imageRoot="treeImages" style="tree-control"
    action="treeState">
    <netui:node label="Root Folder" expanded="true" action="treeState" target="contentFrame">
    <netui:node label="I" expanded="false" action="treeState" target="contentFrame">
    <netui:node label="A" expanded="false" action="treeState" target="contentFrame">
    <netui:node label="1" action="treeState" target="contentFrame"/>
    <netui:node label="2" action="treeState" target="contentFrame"/>
    </netui:node>
    <netui:node label="B" expanded="false" action="treeState" target="contentFrame">
    <netui:node label="1" action="treeState" target="contentFrame"/>
    <netui:node label="2" action="treeState" target="contentFrame"/>
    </netui:node>
    <netui:node label="C" expanded="false" action="treeState" target="contentFrame">
    <netui:node label="1" action="treeState" target="contentFrame"/>
    <netui:node label="2" action="treeState" target="contentFrame"/>
    </netui:node>
    </netui:node>
    <netui:node label="II" expanded="false" action="treeState" target="contentFrame">
    <netui:node label="A" expanded="false" action="treeState" target="contentFrame">
    <netui:node label="1" action="treeState" target="contentFrame"/>
    <netui:node label="2" action="treeState" target="contentFrame"/>
    </netui:node>
    <netui:node label="B" expanded="false" action="treeState" target="contentFrame">
    <netui:node label="1" action="treeState" target="contentFrame"/>
    <netui:node label="2" action="treeState" target="contentFrame"/>
    </netui:node>
    <netui:node label="C" expanded="false" action="treeState" target="contentFrame">
    <netui:node label="1" action="treeState" target="contentFrame"/>
    <netui:node label="2" action="treeState" target="contentFrame"/>
    </netui:node>
    </netui:node>
    </netui:node>
    </netui:tree>
    Hans-Peter

Maybe you are looking for

  • Can't update apps became 'Apple ID has been disabled'

    I'm having a puzzling time with my wife's iPhone 4 running iOS 6. The App Store shows she has nine apps requiring updates but when I click 'Update' I get the message "Your Apple ID has been disabled". I've tried signing out and back but that doesn't

  • HOW DO I GET MY PHONE TO VIBRATE? ALL SETTINGS ARE CORRECT

    my phone is not vibrating. how do i fix this? all settings are correct

  • My google changed default language after updating safari

    I recently updated the safari software on my macbook. As I live in New Zealand I use google.co.nz however after updating safari, the default country has changed to the Netherlands (I'm guessing as it's hard to tell as everything is written in another

  • Design Patterns Web Site

    Hi, I was curious what everyone's opinion (or at least those who frequent this forum) was about a website explaining Design Patterns using Java. I was thinking about making a site which discusses various design patterns, including real-world analogie

  • How to make the book demo work?

    Hi The following code is copied from the book "Learning Flash Media Server 3" chapter one package import flash.net.NetConnection; import flash.display.Sprite; import flash.text.TextField; import flash.events.NetStatusEvent; public class FMS3Connect e