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!

Similar Messages

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

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

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

  • 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

  • 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

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

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

  • 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

  • Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    1. Use the mouse to select the field and then press the space bar.
    2. A null string is the same as zero. What is the result for division by zero?

  • Using iPad2 to fill PDF forms with calculating cells

    I currently have the PDF Expert app. installed.  I have created a PDF form with calculating cells and cells with multiple selections using Adobe Acrobat X Pro.  It works on my PC on 2 different PDF reader apps, however when I load it in PDF Expert on the iPad it does not calculate and the multiple selections aren't there.  It also does not keep the formatting of the cell.  I set the cells up as currency, however it does not show as currency once loaded in the PDF Expert app on the iPad.  Is there an app out there for the iPad that will allow PDF form fill in and will also show the cell formatting and calculations? Or is this a limitation caused by iOS? I have also tried Adobe's reader app for the iPad and it doesn't show it on there as well.  Any help would be greatly appreciated! Thanks!

    I'd be amazed if you could. I wouldn't think it possible to even open a PDF, much less edit one.

  • OBIEE 11G - problem with calculating percentage

    Hi,
    I have a problem with calculating a percentage....
    I have a 2 measures Success and Failure
    where Success is a count(Response_key)
    Failure is a count(failure_key)
    I want Success/(Success+Failure) * 100
    I am getting this value as a 0
    Infact any column I take from the subject area and say count of that column and divide it by any integer say count(column1)/5 ,Say count of that column1 is 132 Eg: 132/5 , Its showing this value as 26.00 when I put decimal value to 2 , but it is 26.4...It is avoiding decimal values .
    So in my case success/(success+failure) in which Dr is greater than Nr . Since we get the value as 0.something . It is showing 0 value
    So , 0*100 it is showing me as 0%
    Can anyone please help me on this ??
    --Siri                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Yes, you need to put cast in numerator alone to get the resultant output in double.
    You can mark the post as Correct since your issue is resolved now.
    Thanks

  • Work with calculation forms on ipad?

    Hello,
    is it possible to work on the cases with calculation forms as http://individuelle-mitgliedschaft.aktivtreff.de/templates/injoy/images/vitalis. pdf
    The form was created with Adobe Lifecycle designer. With Acrobat Reader, I can open it, but the calculation will not work. On the Mac, it works just fine. Does anyone have any idea?

    hello yes there is a back that fits and locks the smart cover aswell check out the Incipio Smart Feather back for the new ipad .There is also some good reviews of one on youtube 

Maybe you are looking for