incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r490572 - in /incubator/xap/trunk/WebContent/examples/widgets: combobox.html combobox.xal listbox.html
Date Wed, 27 Dec 2006 21:32:05 GMT
Author: mturyn
Date: Wed Dec 27 13:32:04 2006
New Revision: 490572

URL: http://svn.apache.org/viewvc?view=rev&rev=490572
Log:
Added another option to the combo box.
Altered debugging to reflect new, fixed, version---"_debugAll" actually works that way now,
no need to specify classes that J.i.T.-load to bring them in.

Modified:
    incubator/xap/trunk/WebContent/examples/widgets/combobox.html
    incubator/xap/trunk/WebContent/examples/widgets/combobox.xal
    incubator/xap/trunk/WebContent/examples/widgets/listbox.html

Modified: incubator/xap/trunk/WebContent/examples/widgets/combobox.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/combobox.html?view=diff&rev=490572&r1=490571&r2=490572
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/combobox.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/combobox.html Wed Dec 27 13:32:04 2006
@@ -18,29 +18,19 @@
 			};
 		</script>
 
-		<!--  script language="JavaScript" type="text/javascript">			
+		<script language="JavaScript" type="text/javascript">			
 
 			// Debug classes chosen
 			debug_config = { 
-				_debugList:[
-						"xap.bridges.xap.ListBoxBridge",
-						"xap.bridges.xap.ListItemBridge",
-						"xap.widgets.ListBox",
-						"xap.widgets.ListItem",
-						"widget.ComboBox",
-						"widget.html.ComboBox",
-						"xap.widgets.dojo.ComboBoxTextField",
-						"xap.bridges.xap.XapComboBoxBridge"						
-							],
-				_debugAll:true
+			//	_debugAll:true
 			 } ;
-		</script -->
+		</script>
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
 	    								
 		<script language="JavaScript">
 		<!-- must do this before we load the actual application: -->						
-		//	xap.util.Debug.loadDebuggables() ;
+			xap.util.Debug.loadDebuggables() ;
 		</script>    	    
 	    
 	</head>

Modified: incubator/xap/trunk/WebContent/examples/widgets/combobox.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/combobox.xal?view=diff&rev=490572&r1=490571&r2=490572
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/combobox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/combobox.xal Wed Dec 27 13:32:04 2006
@@ -47,8 +47,9 @@
 							onMouseUp="mco:attributeSetter.reportEvent(event)" onPositionChange="mco:attributeSetter.reportEvent(event)"
onSelect="mco:attributeSetter.reportEvent(event)" onStateChange="mco:attributeSetter.reportEvent(event)">
 							<listItem text="Option 1" value="Value 1" onDoubleClick="mco:attributeSetter.reportEvent(event)"
onDragDrop="mco:attributeSetter.reportEvent(event)" onDragEnd="mco:attributeSetter.reportEvent(event)"
 								onDragStart="mco:attributeSetter.reportEvent(event)" onMouseDown="mco:attributeSetter.reportEvent(event)"
onMouseUp="mco:attributeSetter.reportEvent(event)" />
-							<listItem id="testOption2" text="Option 2" value="Value 2" selected="true" />
-							<listItem text="Option 3" value="Value 3" />
+							<listItem id="testOption2" text="Option 2" value="Value 2" />
+							<listItem text="Option 3" value="Value 3"  selected="true"/>
+							<listItem text="Option 4" value="Value 4"/>							
 						</listBox>
 					</comboBox>
 				</freePane>

Modified: incubator/xap/trunk/WebContent/examples/widgets/listbox.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/listbox.html?view=diff&rev=490572&r1=490571&r2=490572
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/listbox.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/listbox.html Wed Dec 27 13:32:04 2006
@@ -15,29 +15,19 @@
 		};
 	</script>
 		
-	<!--  script language="JavaScript" type="text/javascript">		
+	<script language="JavaScript" type="text/javascript">		
 		// Debug all classes used:
 			debug_config = { 
-				_debugList:[
-						"xap.bridges.xap.ListBoxBridge",
-						"xap.bridges.xap.ListItemBridge",
-						"xap.widgets.ListBox",
-						"xap.widgets.ListItem",
-						"widget.ComboBox",
-						"widget.html.ComboBox",
-						"xap.widgets.dojo.ComboBoxTextField",
-						"xap.bridges.xap.XapComboBoxBridge"						
-							],
-				_debugAll:true
+			//	_debugAll:true
 			 } ;
-	</script -->    
+	</script>    
 	
 
 	<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
     
     <script language="JavaScript">  
 	<!-- must do this before we load the actual application: -->    
-    //	xap.util.Debug.loadDebuggables();
+      xap.util.Debug.loadDebuggables();
     </script>
     
  </head>



Mime
View raw message