af:tree issue
Hi,
I'm using the below code to get the pages from pages.xml
<af:tree id="tree1" var="node2" initiallyExpanded="true" value="#{navigationContext.navigationModel[
'modelPath=/oracle/webcenter/portalapp/navigations/MyLearningNavigation.xml']
.treeModel['includeStartNode=false']}">
I have page and sub-page in the xml. My requirement is when the page name is displayed in need a background color but when the corresponding sub-page is displayed i dont want any color. how to achieve this functionality.
Regards
Fyaz
PD: Sorry didn't read about your JS accesing by name
Edited by: Daniel Merchán on 18-dic-2012 15:43
Similar Messages
-
Here is the problem we are having , we have a 2950 hooked to a 6509 hybrid dist box with approx 90 vlans on it . We hook up a new 2950 and we get the following message, Dec 21 19:47:45.116: %SPANTREE_VLAN_SW-2-MAX_INSTANCE: Platform limit of 64 STP instances exceeded. No instance created. Ok , I know about the spanning tree issues with the 2950 only having limited PVST instances . But up at the dist side we have "manually pruned off all but 5 vlans on the trunk feeding this 2950 with the "clear trunk" command . I thought manually pruning off the vlans from the trunk would eliminate this problem , maybe i have a misunderstanding of how this works. Also the message on the 2950 complains about it only having 64 instances of spanning tree yet when you do a "show vtp status it says it supports 250 instances locally so whats up with that , 2950 running 12.1.22EA4 . So I guess I'm asking is there any way around this for the 2950 . Also in client/server mode do you have to manually prune off the vlans on both the server side and the client side ??
Hello Glen,
I guess instead of manually pruning the VLANs off the trunk, you could also try and enable VTP pruning globally on the 6509 (set vtp pruning enable). I assume you have the 6509 configured as the VTP server (set vtp mode server) ?
I am not sure if CatOS and IOS defaults to the same VTP version, can you check this (with 'show vtp domain' for CatOS and 'show vtp status' for the IOS switch) ?
Also, in a purely IOS environment, manually pruning VLANs off a trunk requires doing that only on the server side, but with a mix of CatOS and IOS, it might have to be done on both sides, you might want to give it a try and use the 'switchport trunk allowed' command on the 2950 as well...
Regards,
GP -
I am trying to change the discription in the report tree that has been built.
As of now the report tree shows the description which is linked to the reports.
My issue is that i need to give some other description and not the one which is linked to the reports.
Can someone tell me how can this be done??I am using transaction gd00. I have to change the description. How can this be done??
-
Group Tree issue when refreshing- Crystal for Visual Studio 2010 WPF Viewer
Hello,
We've run into an issue when refreshing reports with the WPF viewer for Visual Studio 2010. After the report is refreshed, the Group Tree is blank and it should have values. For example, you run a report and see values in the Group Tree. If you refresh the report with the same parameter values the Group Tree is blank.
Has anyone run into this yet?
Thanks,
TylerThat is correct.
I just did a quick test and was not able to reproduce the issue.
Details of test:
1) Create a new app;
File | New | Project
Visual Basic | reporting -> Crystal Reports WPF Application
2) Add the "Open File" button to the viewer (ShowOpenFileButton off of the WPF viewer properties)
3) Run app
4) Browse to a report that has a number of groups >250
5) Refresh report using the Refresh button on the viewer
I'll work on this a bit later today, see if I can repro it another way. Meanwhile, can you provide mode details (code) on how you repro the issue?
- Ludek -
I have a tree component and am using a custom DataDescriptor,
when I dynamically add data to the DataProvider, I have a set that
does not show in the tree. When those items get added, the
VScrollBar will show. But since the items are 'hidden' and do not
show in the tree view, the VScrollBar should not be showing. If I
expand an item in the tree, then the VScrollBar will disappear and
the tree will look like it is supposed to be.
I tried using (individually and in combination)
invalidateSize(), invalidateDisplayList(), invalidateProperties(),
and invalidateList() on the tree but it doesnt update the
VScrollBar like it should.
Any help would be greatly appreciated, thanks.
ArtArty,
My issue is i'm not getting Vscrollbar on dynamic
loading(lazy loading). I'm using flex 3 with cairngorm framework.
Loading all children(dynamically) in getchildren method of
datadescriptor. Here is my descriptors file
package com.primavera.flex.admin.calendar.ui
import com.adobe.cairngorm.control.CairngormEventDispatcher;
import
com.primavera.flex.admin.calendar.events.GetProjectEvent;
import com.primavera.flex.admin.calendar.vo.ProjwbsVO;
import mx.collections.ArrayCollection;
import mx.collections.ICollectionView;
import mx.controls.treeClasses.DefaultDataDescriptor;
import mx.events.CollectionEvent;
import mx.events.CollectionEventKind;
public class PickListTreeDescriptor extends
DefaultDataDescriptor
public function PickListTreeDescriptor()
super();
override public function getData(node:Object,
model:Object=null):Object
return node;
override public function hasChildren(node:Object,
model:Object=null):Boolean
return ProjwbsVO(node).isEPS();
override public function isBranch(node:Object,
model:Object=null):Boolean
return ProjwbsVO(node).isEPS();
//return false;
override public function getChildren(node:Object,
model:Object=null):ICollectionView
var epsVO : ProjwbsVO = ProjwbsVO(node);
if (epsVO.isEPS())
// this check for delay loading once the data is loaded it
should not make a remote call again
if(epsVO.isProjectsLoaded == false)
epsVO.isProjectsLoaded = true;
var projectEvent : GetProjectEvent = new
GetProjectEvent(null);
projectEvent.projwbsVO = epsVO;
CairngormEventDispatcher.getInstance().dispatchEvent(projectEvent);
var collection:ICollectionView = ICollectionView(model);
var event:CollectionEvent = new
CollectionEvent(CollectionEvent.COLLECTION_CHANGE);
event.kind = CollectionEventKind.ADD;
event.items = ArrayCollection(epsVO.children).toArray();
collection.dispatchEvent(new
CollectionEvent(CollectionEvent.COLLECTION_CHANGE));
return epsVO.children;
Projwbs is my object in Arraycollection. Hierachy is like EPS
can have projects(leafnode) and child Eps(branch node). EPS is
determined if projwbs.isEps returns true.
On UI it gives a single root node in a collapsed state. When
i expand it furthur it gives child EPS and projects in it. On
expanding root node i get childrens but in screen Vscrollbar is not
visible.
Please let me know if you have any thougts on this. -
[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 -
Hi Friends,
I am working as an ABAP consultant in PDM module. In the T.Code RMWB we have one folder called as specification, in the specification we have property tree for value assignment. If the specification is in Release status the user cant do changes in the property tree folder which are contain values, these are taking care by SAP standard itself. same functionality(value restraction when there is no value in the folder) need to incorporate when there is no value in the property tree folder also. I was trying to get some BADI to do the same; none of them are working for me. If any one of you working in the same module, kindly help to solve this issue.
Thanks a lot,
Regards,
Boobalan.vHi Friends,
I am working as an ABAP consultant in PDM module. In the T.Code RMWB we have one folder called as specification, in the specification we have property tree for value assignment. If the specification is in Release status the user cant do changes in the property tree folder which are contain values, these are taking care by SAP standard itself. same functionality(value restraction when there is no value in the folder) need to incorporate when there is no value in the property tree folder also. I was trying to get some BADI to do the same; none of them are working for me. If any one of you working in the same module, kindly help to solve this issue.
Thanks a lot,
Regards,
Boobalan.v -
MD04 Overview tree issue question
Good evening,
I have an issue where my overtree in MD04 is going a bit funny.
I explode the selected order and it displays all the lower level (as you would expect) but for the Semi Fin (sub assembly) I am get 2 or 3 entries for the Semi Fin items!!
Can anyone tell me why this is happening or how I can correct it?
Kind regardsHi,
Please check stock requirement list of the semi-finished( sub-assembly) itself.
Check how many dependent requirements are generated which are pegged for the finished good which is in question, if there are multiple dependent requirement for the same finished good, then you are expected to see as many number of segments for the SFG in order tree report.
Best Regards. -
Hi ,
I am facing a issue while my dmee tree file generation. In generated file , last filed i.e. REGHU-VBLNR (FPAYH-DOC1R offset 4 )
all of its characters are not coming in file .Only initial 1 character is appearing in the file generated.
while in debug i am able to see all characters in field DOC1R.
IN DMEE tree there are total 11 data elements and out of them this one is last .
Please provide some help on this .
Thanks
saurabh
Edited by: saurabh Asthana on Jul 16, 2010 4:34 PMAny help in this would be greatly appreciated!! ..Its very critical ...
-
Hi All,
I'm using APEX 4.1 with Oracle 11g. I have created a page with the following:
1. Tree region which includes the selected_node_page_item option so the user can click on a node and the node is remembered when user browses away from the page and returns.
2. SQL Report built on a dynamic query so the user can enter a search which returns a results of potential records/nodes that the user may want to navigate to in my tree region (by clicking on a search result)
Everything is working quite well except for a couple of issues that need to be addressed:
1. The tree loads with no issues in Firefox and Chrome however, it is extremely slowly to load in IE8 and in some cases I get an IE prompt stating:
"Stop running this script? A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive."
2. Although my search feature is working in that it highlights the tree node that the user selects in my search grid, it does not actually scroll the page/tree to where the highlighted node is. This means that the user has to scroll the page and keep a sharp eye to spot the highlighted node, not ideal for large trees ! Is there a way I can get the cursor to the highlighted node?
Any help on both issues would be appreciated.
Thanks
BillyBilly,
While i can't really say why IE8 would be so much slower, I can't say it really surprises me. 3000 nodes is a lot too! It's probably just real slow in processing it all.
However, you could eliminate a lot of frustration by not having your page submit on every action. Having to reload the page just because you want to select a different node is complete overkill when your tree is so large, and especially when the browser is so slow.
What actually happens when you use the default method which submits? On load, the tree is initialized, and it runs some javascript code which will select the branch corresponding to the id in the selected node item:
apex.jQuery.tree.reference(l$Tree).select_branch(l$Node);By implementing some javascript you can skip the entire submit process, saving time and bandwidth. I've implemented this on my tree demo page : http://apex.oracle.com/pls/apex/f?p=54687:38
All the code I used is there aswell, so it shouldn't be to hard to figure out what you need. Leave a comment if you do need some help.
I've also added in code which will scroll to the selected node until it is in view at the top of the page. This is a solution from StackOverflow: http://stackoverflow.com/questions/6677035/jquery-scroll-to-element
$("#button").click(function() {
$('html, body').animate({
scrollTop: $("#elementtoScrollToID").offset().top
}, 2000);
}); -
Hi All,
Please help me with an issue of my tree.
My tree populates its nodes dynamically from an
ArrayCollection which is fed through http request-response from
servlets. Each click on a node would open its children. Then the
user can click any child node from which its immediate children
would be populated and so on. The issue is, when i click the last
node for the first time, it is not selected and the selection goes
back to the parent node itself. if i click any other node before
the last node, or after the first time click, this issue is not
there. Also if i click the open icon next to the node, it responds
correctly. The problem, i guess is only with the list property of
the tree, which does not get selected when i click the last node
for the first time.
Please help me find a solution.
Thanks in advance,
ManojHi there
Try clicking Edit > Preferences > Project > Start and End.
I'm guessing the option labeled "Auto Play" is not enabled.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Hi,
I am trying to build a tree in a table.
I have built that and now am enhancing the application as per my needs.
What i want to achieve is the following:
The child rows each have a field namely Quantity which the user can change.
For that i first of all need the LeadSlection to fire the change for that particular row.
When i am getting lead selection, its basically showing me the row number within that tree...
For instance,
+ Row1
- Child1
+Row 2
- Chilld2
- Child3
If i choose Child 1 or Child2, value is 0 and if i choose Child3 value is 1...
So its basically taking the LeadSelection within the Parent row...
The idea i am trying here is to amend an attribute of one of the children (Child1, Child2, Child3)
So, how can i achieve this?
Lastly, wheneveri expand a node, say the number of elements is 2, i collapse the node and reexpand it.. and the number of children become 4 and so on...
i have set the ChildrenExpanded property to true onLoadChildren...
Lokking for guidance here..
Regards,
DevHi DB,
you are asking alot of thing and it´s like a job, you have to code a bit.
look here:
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/90dae990-0201-0010-d886-ef4afe418d1e
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/38650ecd-0401-0010-10a0-f9d8fd37edee
and search into SDN forum, there are also some topic where i posted some of mine example on tree usage. -
Tree issue using a where clause
Tree created
select "ID" id,
"PARENT_ID" pid,
"TITLE" name,
"LINK" link,
null a1,
null a2
from apexim.TREE_NAV
I am attempting to alter this tree this way
select "ID" id,
"PARENT_ID" pid,
"TITLE" name,
"LINK" link,
null a1,
null a2
from apexim.TREE_NAV
WHERE INSTR(PAGE_ID_1,:app_page_id) > 0
This returns rows in PL/SQL however does not return tree values to the page.
this throw the error
Warning: Tree root ID "1" not found.
When I change the where clause to:
where 1=1
I get all the enitire tree as i would expect.
We are creating a report delevery application that will allow people to see specific leaves passed on authority level.
The Tree_nav table ha the url for the page to display and has the page_id_1 for the portal that launches specific content page.
So ultimatly I will include the following into the where clause
(and authority_level <= :p100_auth_level)
I have tried several things and am at wits end.rbackmann wrote:
And the page_id_1 is a field in the table (SORRY EXAMPLE BAD NAMING CONVENTIONS) that IS VARCHAR
and houses a comma seperated list of page numbers ie 28,29, 30Okay, I was wrong about the field name :(
Carefully examine the query, expecially the INSTR line. Get the values in both the column and the bind variable and make sure they are what you think they are.
The example on the other post might have failed because you were equality comparing the column value to '28' when it might have been a csv with commas unless you changed it (something worth trying).
On 4th look I may (or may not) have something. PAGE_ID_1 is a VARCHAR2, while the 28 you compared it to was a number. Its a long shot, but maybe SQL is trying to convert the csv field to a number, failing to raise an error message where you can find it, and failing for that reason. Try using '28' on the equality test.
Edited by: riedelme on May 8, 2009 6:03 AM -
Tree Issue--Data out of order?
All,
I suspect this is more of a generic SQL question, but, anyhow, I'm trying to create a tree report of the items in our bills of materials. When I run the page, the tree is empty (not even a root). Trying to figure out what the problem is, I've copied the SQL into Toad and run it; the results seem to be scrambled, which I suspect is why the tree is failing. Here's the query:
select case when connect_by_isleaf = 1 then 0
when level = 1 then 1
else -1
end as status,
level,
comp_item_number as title,
null as icon,
comp_inventory_item_id as value,
null as tooltip,
null as link
from apex.bom_tree_v
where organization_id = 126
start with comp_item_number = 'C70-1039'
connect by prior comp_inventory_item_id = parent_item_id
order siblings by comp_item_numberThe query returns 64 rows for my test item, which is correct, but the top-level item (level = 1) is returned as the 10th row (consistently), rather than the first. All of the documentation I've been able to find indicates that the rows should be returned in hierarchical order.
Anyone have any idea what I'm missing?
-DavidGood afternoon David,
Trees in APEX are not even closely populated the same as in Forms. What I did was this:
<li>Query the top of your tree...
<li>Do a UNION ALL SELECT for the next level of your tree
<li> and repeat the UNION ALL SELECT for each indented level of your tree.
Mine looks something like this:
select 'A' id,
null as pid,
'Table Of Contents' name,
NULL link,
'f?p=&APP_ID.:1:&APP_SESSION.:CONTRACT,A' A1,
'f?p=&APP_ID.:1:&APP_SESSION.:EXPAND,A' A2
from dual
union all
select ltrim(rtrim(to_char(toc_seq_id))) id,
'A' pid,
toc_description name,
'f?p=&APP_ID.:1:&APP_SESSION.:::RP:TOCP:' || toc_seq_id link,
'f?p=&APP_ID.:1:&APP_SESSION.:CONTRACT,' || TO_CHAR(toc_seq_id) ||'::RP:TOCP:' || TO_CHAR(toc_seq_id) A1,
'f?p=&APP_ID.:1:&APP_SESSION.:EXPAND,' || TO_CHAR(toc_seq_id) ||'::RP:TOCP:' || TO_CHAR(toc_seq_id) A2
from my_toc
where state_id = :P1_STATE
and toc_level = 1
and (toc_seq_id < 9
or (toc_seq_id < 10 and :P1_User_Type = 2)
or (toc_seq_id < 10 and :P1_CUSTOM_USER = 'Y')
or (toc_seq_id < 15 and :P1_User_Type > 2 and :P1_CUSTOM_USER != 'Y'))
union all
select ltrim(rtrim(toc_seq_id)) id,
ltrim(rtrim(toc_parent)) pid,
toc_description name,
'f?p=&APP_ID.:' || ltrim(rtrim(to_char((toc_parent+2)))) || ':&APP_SESSION.:::RP:P1_ENTRY_ID:' || toc_entry_id link,
null a1,
null a2
from my_toc
where state_id = :P1_STATE
and toc_level = 2
and (toc_parent < 9
or (toc_parent = 9 and :P1_User_Type = 2)
or (toc_seq_id < 10 and :P1_CUSTOM_USER = 'Y')
or (toc_seq_id < 15 and :P1_User_Type > 2 and :P1_CUSTOM_USER != 'Y'))
order by 3,1The code that looks like this:
'f?p=&APP_ID.:' || ltrim(rtrim(to_char((toc_parent+2)))) || ':&APP_SESSION.:::RP:P1_ENTRY_ID:' || toc_entry_id link,is building a link to a page based on the value of the entry (:P1_ENTRY_ID) so the user can click on an entry and jump to that item.
My tree looks like this: (I can't paste an image, so I'll wing it with text - notice my tree started out with
entry zero [0] because I had to add it after the tree was built)
- Table of Contents
+ 0. First branch of my tree
+ 1. Second branch of my tree
- 2. Third branch - expanded
+ Entry 1 for third level
+ Entry 2 for third level
+ 3. Fourth branch of my tree
+ 4. Fifth branch of my treeIt took me awhile to figure all of this out, but once I did, it began to make sense.
The whole idea is that each SELECT will select the next indented level in the tree. Then in the end, use ORDER BY 3,1 to order your tree properly by the parent and then the child within the parent.
I hope this makes sense and that it helps.
Good luck,
Don.
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :) -
Getting Parent Node On tree Issue..
Hi,
I Have Constructed a Tree and i am Able to get the Details of the clicked Node on the Tree into the Backing Bean.
But I'm unable to get the Parent Node of the Clicked Child Node.
Ex:On Click of Employee(Child Node) in the Tree, I should get the Department (Parent Node) in Backing Bean.
I'm able to get only the details in the same Level of Tree Node(ie All Employees in the Selected Employee Level).
IDE: JDeveloper 10.1.3.2.
Please Suggest me.
Thanking You,
Bandaru.Sounds like you are looking for something like this
Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0
SQL> WITH table_1 AS
2 (SELECT XMLTYPE('<sdi_header>
3 <Person>
4 <Customer_First_Name>ABC</Customer_First_Name>
5 <Customer_Last_Name>DEF</Customer_Last_Name>
6 </Person>
7 <warehouse>
8 <Person>
9 <Customer_First_Name>XYZ</Customer_First_Name>
10 <Customer_Last_Name>MNO</Customer_Last_Name>
11 </Person>
12 </warehouse>
13 </sdi_header>') column_name
14 FROM dual) -- WITH simulates your table I do not have
15 select t1.*
16 from TABLE_1,
17 XMLTABLE('for $i in /sdi_header//Person
18 return <root>
19 {$i/Customer_First_Name,
20 $i/Customer_Last_Name}
21 <parent>{$i/../name()}</parent>
22 </root>'
23 PASSING table_1.column_name
24 COLUMNS
25 fname VARCHAR2(20) PATH 'Customer_First_Name',
26 lname VARCHAR2(20) PATH 'Customer_Last_Name',
27 pnode VARCHAR2(20) PATH 'parent') t1;
FNAME LNAME PNODE
ABC DEF sdi_header
XYZ MNO warehouseYou can find out how formatted that message by looking in the FAQ in the upper right. It uses the { code } tag (without spaces). -
Group Tree issue, web form vs Win form?
Using Crystal Reports for Visual Studio 2010...
I am using the same report file for a Win form and web form version of the same utility program. The report was built bases on a view to the database, and both programs populate the report based on a dataset which has the same columns with restrictive where clauses, based on user input prior to populating the report.
On the Win Form version, when the user clicks a group on the Group Tree, the report nicely navigates to the appropriate section of the report. However... on the Web version, the ReportViewer makes a return trip to the database, refreshing the data with the entire view, overwriting the original content. In other words, out of lets say 50,000 possible records, if I ask for 50, they are displayed as I want, but in the web report, if I try and navigate to any of the 50, I get all 50,000 (an no navigation), an unwanted return to the database.
I am perplexed, as it is the same report file used by both versions.
I tried hiding the Group Tree panel (I don't need it), per instructions (CrystalReportViewer1.ToolPanelView = ToolPanelViewType.None;)
But that only closes the panel, and it is still available to the user to open (icon remaining). Is it possible to really make the Group Tree unavailable?
thanks,
MarkLudek,
What I wish to do is follow the instructions for placing the report in a session, per your suggestions above:
Place the report in session. See
KBA 1985571 - How to use sessions in web applications using the Crystal Reports viewer (the complete code)
OK, since I'm new at this, where does the code go? I can't seem to resolve RAPPBasePage, and I admit that without more specific directions on the linked page, I'm more than a bit lost with this.
Thanks,
Mark
Below is a complete code that describes how to ensure the report is in
session:
public partial class Reports : RAPPBasePage
private ReportDocument crReportDocument;
protected override void Page_Init(object sender, EventArgs e)
//connect method to master event
base.Page_Init(sender, e);
Maybe you are looking for
-
How can I set a symbol to hide with a code in the symbol?
Hmmm... I will try to explain this question: I have my main timeline. It is the homepage of my website. The subsites are symbols filled with content. They are 100% of my composition and should overlay over my homepage. So when I click on the menu but
-
Updating address of a partner in crmd_order Service Contract
Hello everybody, I have a requirement of updating address of partners in service contracts in SAP CRM. I have tried to create an address number and person number and pass it to crm_order_maintain but it is not working. Please help me with
-
How to open the files from the system
Hai to all Here I am doing a project where I have to put backup word files on the browser . I have created an applet with browse , attach and done (Buttons) . By clicking browse I have to get the open dialog box so that i can give the path easily . A
-
My phone is stuck on recovery mode help!!!!
so i was updating to ios 7.1.2 on my computer then it was updating then out of no where it got stuck updating it wouldn't do anything the bar was stuck so Ithought why not restarted then it says connect to itunes with lightning cable so I did then no
-
Louts Notes JDBC Connectivity problem
Hi all, I have problem accessing the lotus notes database in my own PC. The error which I have encountered is "SQLException [Lotus][Domino Driver for JDBC] unable to find path to server. These are my codings: connect instance = new connect(); St