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
Similar Messages
-
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! -
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 PMdeepak,
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 -
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 -
Hi all!
I'm using apex 4 and trying to use a new tree region.
My problem is that in version 3.2 I could put html tags in tree node description, but in version 4, I can't because apex translate my html tags to literal values, like this:
Select distinct c.id_funcao Id
,'0' Pid
,'teste' || c.id_funcao || ' - ' || c.ds_funcao Name
,'' Link
,'/i4/aplicabilidade1.gif' icon
From TB_AUT_FUNCAO c
In apex 4, the Name column html value is: data:{"title":"<a href=#>teste<\/a>SF_BC_ACESSO_APEX - Acesso ao Sistema Apex"...
Look at "<"... there is a way to avoid this behaviour?
Thanks.
ThiagoHi. Has anyone any idea???
Thiago -
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 -
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,
Johncheck 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
-
Hello.
I can't build tree from ViewObject. I manage fill "chooser" from ViewObject' attribute. What kind of DataObjectList's hierarchy I must buil for tag tree?Actually you can use the tree tag with BC4J's ViewObjects,
but it's rather complicated. If I'm correct it will get
more attention/documentation in future releases of
JDeveloper/JHeadstart. -
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.
-Punithacheck whether you have any CSS conflicts
-
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 expand tree nodes using t:tree tag
Hi, I have a question.
I am a beginner of JSF. I am trying to deploy a very simple tree using <t:tree> in my local tomcat server, similar to the following one:
http://www.irian.at/myfaces/tree.jsf
The result is that the tree is properly displayed, but I cannot expand the nodes when I click on the "+" icon of the nodes.
Can someone help me? Thanks a lot!Take a look at Lilya Jsf Widgets and Ajax Capabilities at http://qlogic.ma/lilya
the new era of technology -
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.
Maybe you are looking for
-
Deployment Issues with Custom TS variables set for client
Good Day folks! I have come across an interesting issue that I have not been able to find a quick fix as such I am looking for some ideas where to trouble shoot my issue moving forwards. So the Issue: I have a TS that deploys a Windows 8.1 SOE image,
-
With ipod connected through USB port, it will charge but is not detected in itunes. I have followed all Apple trouble-shooting suggestions already. Help please!
-
What can i do about a full startup disc?
what can i do about a full startup disc?
-
Error in Transaction IP20 - No authorization to access
hello gurus, we created a role with transactions IP20, IP21, IW20, OION, IK09 and assign to a test user, but when we try to use any of that trnasaction the followin message appears in the system: You are not authorized to use this function Message n
-
CRM2007 Factsheet - updating custom fields at the same time
I need to change our Factsheet in CRM2007. So far, I've managed to get a new view on the Factsheet and have managed to hard-code some data into it from the Get_* method for the field in the CN** class. However, my requirement is to grab some data fro