You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/08/16 07:34:32 UTC

svn commit: r431855 - in /incubator/xap/trunk/WebContent/examples/dojo: dojoExample_0.html dojoExample_0.xal

Author: mturyn
Date: Wed Aug 16 00:34:32 2006
New Revision: 431855

URL: http://svn.apache.org/viewvc?rev=431855&view=rev
Log:
Simplified it to test floating panes better.

Modified:
    incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.html
    incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.xal

Modified: incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.html?rev=431855&r1=431854&r2=431855&view=diff
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.html (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.html Wed Aug 16 00:34:32 2006
@@ -29,6 +29,7 @@
 						"xap.taghandling.AbstractTagImpl",
 						"xap.bridges.basic.AbstractBlackBoxWidgetBridge",
 						"xap.bridges.dojo.DojoWidgetBridge",
+						"xap.bridges.dojo.DojoButtonBridge",						
 						"xap.bridges.dojo.DojoFloatingPaneBridge",
 						"xap.session.EventHandler"					
 							) ;

Modified: incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.xal?rev=431855&r1=431854&r2=431855&view=diff
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/dojoExample_0.xal Wed Aug 16 00:34:32 2006
@@ -1,97 +1,51 @@
 <xal xmlns="http://www.openxal.org/xal"> 
   <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
     <xm:append select="/xal">
-		<button xmlns="http://www.dojotoolkit.org/" 
-			text="FIRST" 
-			onClick="javascript:huh_0"			
-			height="24px"
-			width="40px"
-			color="#aa0000"
-			id="button_0"
-			position="absolute"
-			backgroundColor="#00aaaa"
-		/> 
 		<floatingPane 
-			x="250px" y="250px" 
+			x="500px" y="250px" 
 			width="400px" height="400px" 
 			xmlns="http://www.dojotoolkit.org/" 
 			backgroundColor="#FFAAFF"
 			layoutAlign="vertical"
-			color="#FFAAFF"
-			title="an unresizable floating pane, vertical alignment"
+			color="#880000"
+			title="First, unresizable, floating pane, vertical alignment"
 			resizable="false"			
-	    >
-
-			<button xmlns="http://www.dojotoolkit.org/"
-				src="replaceButton.xm"
-				text="Do-"	
-				onClick="javascript:huh_1"			
-				width="60px"
-				height="32px"	
-				color="#00aa00"												
-			/>
-		
+		 >
 			<floatingPane 
-				x="60px" y="20px" 
-				width="300px" height="550px" 
+				x="120px" y="120px" 
+				width="100px" height="100px" 
 				xmlns="http://www.dojotoolkit.org/" 
 				backgroundColor="#FFAAFF"
 				layoutAlign="horizontal"
-				color="#FFAAFF"
-				title="a resizable floating pane, horizontal alignment"
+				color="#008800"
+				title="Second,resizable, floating pane, horizontal alignment"
 				resizable="true"
-		    >			
-			
-			
-			<button xmlns="http://www.dojotoolkit.org/"
-				src="replaceButton.xm"
-				text="jo"	
-				onClick="javascript:huh_1"			
-				width="60px"
-				height="32px"	
-				color="#00ff00"												
 			/>			
-			
+
 			<floatingPane 
-				x="60px" y="20px" 
-				width="100px" height="100px" 
+				x="200px" y="200px" 
+				width="150px" height="150px" 
 				xmlns="http://www.dojotoolkit.org/" 
-				backgroundColor="#FFAAFF"
+				backgroundColor="#000088"
 				layoutAlign="horizontal"
 				color="#FFAAFF"
 				title="Third floating pane, unresizable, horizontal alignment"
 				resizable="false"
-		    />			
-		</floatingPane>					    
-	    
-	</floatingPane>
+			/>			
+				    
+			<generic xmlns="http://www.dojotoolkit.org/"
+				dojoType="FloatingPane"
+				title="Created as generic widget."
+				onClick="javascript:huh_1"			
+				width="600px"
+				height="320px"	
+				backgroundColor="#aaaaff"												
+			/>	 	    
+		</floatingPane>
 			
-	<button text="widgets" xmlns="http://www.dojotoolkit.org/" 
-				onClick="javascript:huh_2"
-				x="460px"
-				y="0px"
-				position="absolute"
-				width="30px"
-				height="18px"
-				color="#0000aa" 			 		
-	/> 
-	
-	<generic xmlns="http://www.dojotoolkit.org/"
-		dojoType="FloatingPane"
-		title="Created as generic widget."
-		onClick="javascript:huh_1"			
-		width="60px"
-		height="32px"	
-		color="#00aa00"												
-	/>	 
-
-		
    	</xm:append>
-   	<!-- Try out caption-changing:  -->
-		<xm:set-attribute select="id('button_0')">			
-			<attribute name="text" value="Eight..."/>
-		</xm:set-attribute>   	 
+
    	
    	
   </xm:modifications>
-</xal>
\ No newline at end of file
+</xal>