[Mono-bugs] [Bug 74949][Nor] New - Using multiple TreeViews on a single page will lead to problems

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat May 14 16:01:36 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by pommes at teleos-web.de.

http://bugzilla.ximian.com/show_bug.cgi?id=74949

--- shadow/74949	2005-05-14 16:01:36.000000000 -0400
+++ shadow/74949.tmp.24750	2005-05-14 16:01:36.000000000 -0400
@@ -0,0 +1,69 @@
+Bug#: 74949
+Product: Mono: Tools
+Version: unspecified
+OS: 
+OS Details: FC3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: XSP
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: pommes at teleos-web.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Using multiple TreeViews on a single page will lead to problems
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When using 2 TreeView components on one page on the second one there is 
+no "click" on the expand branch possible.
+
+Steps to reproduce the problem:
+1. Take the TreeView-sample which comes in the example folder
+(/usr/share/doc/xsp/test/2.0/treeview) and  add another TreeView component
+to the page (Cut, copy, paste & rename).
+
+2. Load the page in a Browser and you will notice that you cant expand the
+branches on the 2'nd TreeView !
+ 
+
+Actual Results:
+
+Manual expanding using the mouse doesn't work !
+
+Expected Results:
+
+Expanding should work.....
+
+How often does this happen? 
+
+All the time !
+
+Additional Information:
+
+It seems that the following lines are missing for the second TreeView
+control. When adding it by hand to the source it will work.
+
+<script language=javascript>
+<!--
+var LinksTreeView_data = new Object ();
+LinksTreeView_data.showImage = true;
+LinksTreeView_data.defaultImages = true;
+LinksTreeView_data.noExpandImage =
+"WebResource.axd?a=s&r=TreeView_noexpand.gif";
+LinksTreeView_data.populateFromClient = true;
+LinksTreeView_data.expandAlt = "Expand {0}";
+LinksTreeView_data.collapseAlt = "Collapse {0}";
+
+// -->
+</script>
+
+
+Regards
+
+P.


More information about the mono-bugs mailing list