incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r473622 - in /incubator/xap/trunk/WebContent/examples: dataBinding/ demo/ urlResolution/ widgets/
Date Sat, 11 Nov 2006 01:44:35 GMT
Author: jmargaris
Date: Fri Nov 10 17:44:34 2006
New Revision: 473622

URL: http://svn.apache.org/viewvc?view=rev&rev=473622
Log:
samples updates for new tag names

Removed:
    incubator/xap/trunk/WebContent/examples/widgets/borderPanel.html
    incubator/xap/trunk/WebContent/examples/widgets/borderPanel.xal
    incubator/xap/trunk/WebContent/examples/widgets/freePanel.html
    incubator/xap/trunk/WebContent/examples/widgets/freePanel.xal
    incubator/xap/trunk/WebContent/examples/widgets/horizontalPanel.html
    incubator/xap/trunk/WebContent/examples/widgets/horizontalPanel.xal
    incubator/xap/trunk/WebContent/examples/widgets/verticalPanel.html
    incubator/xap/trunk/WebContent/examples/widgets/verticalPanel.xal
Modified:
    incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal
    incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal
    incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal
    incubator/xap/trunk/WebContent/examples/demo/table.xal
    incubator/xap/trunk/WebContent/examples/urlResolution/label.xal
    incubator/xap/trunk/WebContent/examples/widgets/button.xal
    incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal?view=diff&rev=473622&r1=473621&r2=473622
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal Fri Nov 10
17:44:34 2006
@@ -30,7 +30,7 @@
 	<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
 	<xm:append select="/xal">
 
-		<xal:freePanel 
+		<xal:freePane 
 			backgroundColor="#F8FeF8" 
 			orientation="horizontal" 
 			width="1000px" 
@@ -176,7 +176,7 @@
 					text="[iteration ends]"
 				/>	
 
-		</xal:freePanel>
+		</xal:freePane>
 		
 
 								

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal?view=diff&rev=473622&r1=473621&r2=473622
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/mcoAttribute.xal Fri Nov 10 17:44:34
2006
@@ -11,7 +11,7 @@
 	<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
 	<xm:append select="/xal">
 
-		<xal:freePanel width="600px" height="600px">
+		<xal:freePane width="600px" height="600px">
 		
 			<xal:label 
 				id="topLabel"
@@ -207,7 +207,7 @@
 				id="testComponent_8" 		
 			/> 		
 
-		</freePanel>
+		</freePane>
 	</xm:append> 	  		
   	</xm:modifications>
 </xal>

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal?view=diff&rev=473622&r1=473621&r2=473622
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.xal Fri
Nov 10 17:44:34 2006
@@ -29,7 +29,7 @@
 	<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
 	<xm:append select="/xal">
 
-		<freePanel width="800px" height="2400px">		
+		<freePane width="800px" height="2400px">		
 			<xal:label 
 				id="topLabel"
 				width="600px" 
@@ -126,7 +126,7 @@
 				text="[iteration ends]"
 			/>	
 		
-		</freePanel>
+		</freePane>
 
 	</xm:append> 	  		
   	</xm:modifications>

Modified: incubator/xap/trunk/WebContent/examples/demo/table.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/demo/table.xal?view=diff&rev=473622&r1=473621&r2=473622
==============================================================================
--- incubator/xap/trunk/WebContent/examples/demo/table.xal (original)
+++ incubator/xap/trunk/WebContent/examples/demo/table.xal Fri Nov 10 17:44:34 2006
@@ -4,31 +4,31 @@
 	<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
 	<xm:append select="/xal">
 
-	<verticalPanel backgroundColor="#EEE" align="stretch" width="800px" height="600px" fontSize="11px"
fontFamily="Arial">
+	<verticalBoxPane backgroundColor="#EEE" align="stretch" width="800px" height="600px"
fontSize="11px" fontFamily="Arial">
 		<label width="20px" height="20px"/>
 
 		<label img="images/logo.gif"/>
 	
 		<label width="20px" height="20px"/>
 
-		<verticalPanel align="stretch"  backgroundColor="white" borderColor="green" borderStyle="solid"
borderWidth="1px" >
+		<verticalBoxPane align="stretch"  backgroundColor="white" borderColor="green" borderStyle="solid"
borderWidth="1px" >
 		<label text="Order Entry" color="white" backgroundColor="#999"/>
-		<horizontalPanel align="center">
-			<freePanel width="20px" height="10px"/>
+		<horizontalBoxPane align="center">
+			<freePane width="20px" height="10px"/>
 
 			<!-- can't click for some reason? -->
-			<verticalPanel align="center">
+			<verticalBoxPane align="center">
 				<radioButton text="Buy" group="BuySell"/>
 				<radioButton text="Sell" group="BuySell"/>
-			</verticalPanel>
+			</verticalBoxPane>
 
-			<freePanel width="20px" height="10px"/>
+			<freePane width="20px" height="10px"/>
 
 
 			<label text="Quantity"/>
 			<textField width="65px"/>
 
-			<freePanel width="20px" height="10px"/>
+			<freePane width="20px" height="10px"/>
 
 			<label text="Symbol"/>
 
@@ -45,12 +45,12 @@
 			</listBox>
 		</comboBox>
 
-		<freePanel width="20px" height="10px"/>
+		<freePane width="20px" height="10px"/>
 
 		
 		<button text="Buy" width="100px" backgroundColor="#EEF"/>
 
-		<freePanel width="20px" height="10px"/>
+		<freePane width="20px" height="10px"/>
 
 
 
@@ -72,27 +72,27 @@
 			</row>
 		</table> -->
 
-		<verticalPanel>
+		<verticalBoxPane>
 				<label text="Transaction"/>
 				<label text="Resulting Cash"/>
 				<label text="Stock Price"/>
-		</verticalPanel>
+		</verticalBoxPane>
 
-				<verticalPanel>
+				<verticalBoxPane>
 				<label text="0.0"/>
 				<label text="0.0"/>
 				<label text="0.0"/>
-		</verticalPanel>
+		</verticalBoxPane>
 
 
-		</horizontalPanel>
+		</horizontalBoxPane>
 
-		</verticalPanel>
+		</verticalBoxPane>
 	
 		<label width="20px" height="20px"/>
 
 
-		<verticalPanel borderColor="green" borderWidth="1px" align="start" borderStyle="solid">
+		<verticalBoxPane borderColor="green" borderWidth="1px" align="start" borderStyle="solid">
 		<label text="Level 1 Quotes" color="white" backgroundColor="#999"/>
 		<table borderWidth="1px" borderColor="black" borderStyle="solid" backgroundColor="white">
 			<column><header text="Symbol" backgroundColor="#CCF" width="100px"/></column>
@@ -212,9 +212,9 @@
 
 
 		</table>
-		</verticalPanel>
+		</verticalBoxPane>
 
-	</verticalPanel>
+	</verticalBoxPane>
 	</xm:append> 	  		
   	</xm:modifications>
 </xal>

Modified: incubator/xap/trunk/WebContent/examples/urlResolution/label.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/urlResolution/label.xal?view=diff&rev=473622&r1=473621&r2=473622
==============================================================================
--- incubator/xap/trunk/WebContent/examples/urlResolution/label.xal (original)
+++ incubator/xap/trunk/WebContent/examples/urlResolution/label.xal Fri Nov 10 17:44:34 2006
@@ -1,7 +1,7 @@
 <xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal"> 
 	<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
 		<xm:append select="/xal">
-			<verticalPanel id="panel">
+			<verticalBoxPane id="panel">
 			<label richText="true" width="400px" text="When you press the button,
 				you should see the label change images and also a new label with
 				the same changed image, along with another button to re-call that same page"/>
@@ -9,7 +9,7 @@
 				text="MY PRECIOUS LABEL" img="images/foreground.JPG"/>
 				
 			<button text="Press this first" onCommand="xmodify/xmodify.xm"/>
-			</verticalPanel>
+			</verticalBoxPane>
 		</xm:append>
   	</xm:modifications>
 </xal>

Modified: incubator/xap/trunk/WebContent/examples/widgets/button.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/button.xal?view=diff&rev=473622&r1=473621&r2=473622
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/button.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/button.xal Fri Nov 10 17:44:34 2006
@@ -105,64 +105,6 @@
 			<!--standard test things -->		
 			<include href="standardButtons.xal" xmlns="http://www.openxal.org/xinclude"/>
 
-			<!--
-			<label width="400px" height="100px" alignHorizontal="center" alignVertical="top" text="HCenterVTop"
textPlacementHorizontal="right" textPlacementVertical="bottom" />
-			<label width="400px" height="100px" alignHorizontal="center" alignVertical="top" text="HCenterVTop"
textPlacementHorizontal="left" textPlacementVertical="top" />		
-			<label width="400px" height="100px" alignHorizontal="center" alignVertical="top" text="HCenterVTop"
textPlacementHorizontal="left" textPlacementVertical="bottom" />		
-				
-				
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="bottom"
text="HCenter VBottom" />
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="bottom"
text="HCenter VBottom" textPlacementHorizontal="right" textPlacementVertical="top" />
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="bottom"
text="HCenter VBottom" textPlacementHorizontal="right" textPlacementVertical="bottom" />
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="bottom"
text="HCenter VBottom" textPlacementHorizontal="left" textPlacementVertical="top" />
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="bottom"
text="HCenter VBottom" textPlacementHorizontal="left" textPlacementVertical="bottom" />
	
-			
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="center"
text="HCenter VCenter" />	  
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="center"
text="HCenter VCenter" textPlacementHorizontal="right" textPlacementVertical="top" />
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="center"
text="HCenter VCenter" textPlacementHorizontal="right" textPlacementVertical="bottom" />
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="center"
text="HCenter VCenter" textPlacementHorizontal="left" textPlacementVertical="top" />
-			<label width="700px" height="100px" alignHorizontal="center" alignVertical="center"
text="HCenter VCenter" textPlacementHorizontal="left" textPlacementVertical="bottom" />
	
-			
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="top" text="HRight
VTop" />		
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="top" text="HRight
VTop" textPlacementHorizontal="right" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="top" text="HRight
VTop" textPlacementHorizontal="right" textPlacementVertical="bottom" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="top" text="HRight
VTop" textPlacementHorizontal="left" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="top" text="HRight
VTop" textPlacementHorizontal="left" textPlacementVertical="bottom" />
-				
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="bottom"
text="HRight VBottom" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="bottom"
text="HRight VBottom" textPlacementHorizontal="right" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="bottom"
text="HRight VBottom" textPlacementHorizontal="right" textPlacementVertical="bottom" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="bottom"
text="HRight VBottom" textPlacementHorizontal="left" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="bottom"
text="HRight VBottom" textPlacementHorizontal="left" textPlacementVertical="bottom" />
	
-		
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="center"
text="HRight VCenter" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="center"
text="HRight VCenter" textPlacementHorizontal="right" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="center"
text="HRight VCenter" textPlacementHorizontal="right" textPlacementVertical="bottom" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="center"
text="HRight VCenter" textPlacementHorizontal="left" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="right" alignVertical="center"
text="HRight VCenter" textPlacementHorizontal="left" textPlacementVertical="bottom" />
	
-				
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="top" text="HLeft
VTop" />	
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="top" text="HLeft
VTop" textPlacementHorizontal="right" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="top" text="HLeft
VTop" textPlacementHorizontal="right" textPlacementVertical="bottom" />
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="top" text="HLeft
VTop" textPlacementHorizontal="left" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="top" text="HLeft
VTop" textPlacementHorizontal="left" textPlacementVertical="bottom" />		
-		
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="bottom" text="HLeft
VBottom" />		
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="bottom" text="HLeft
VBottom" textPlacementHorizontal="right" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="bottom" text="HLeft
VBottom" textPlacementHorizontal="right" textPlacementVertical="bottom" />
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="bottom" text="HLeft
VBottom" textPlacementHorizontal="left" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="bottom" text="HLeft
VBottom" textPlacementHorizontal="left" textPlacementVertical="bottom" />		
-		
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="center" text="HLeft
VCenter"/>		
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="center" text="HLeft
VCenter" textPlacementHorizontal="right" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="center" text="HLeft
VCenter" textPlacementHorizontal="right" textPlacementVertical="bottom" />
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="center" text="HLeft
VCenter" textPlacementHorizontal="left" textPlacementVertical="top" />
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="center" text="HLeft
VCenter" textPlacementHorizontal="left" textPlacementVertical="bottom" />		
-	
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="center" text="HLeft
VCenter" textPlacementHorizontal="right"/>
-			<label width="400px" height="100px" alignHorizontal="left" alignVertical="center" text="HLeft
VCenter" textPlacementHorizontal="left"/>	
-			
-			-->
 		
 		</xm:append> 	  		
   	</xm:modifications>

Modified: incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal?view=diff&rev=473622&r1=473621&r2=473622
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/horizontalFlowPane.xal Fri Nov 10 17:44:34
2006
@@ -73,12 +73,35 @@
 					<include href="standardButtons.xal" xmlns="http://www.openxal.org/xinclude"/>
 				</verticalBoxPane>
 				
-				<horizontalFlowPane width="300px" height="300px" id="testComponent" backgroundColor="black">
-					<label text="width:150px" x="0" y="0" height="25px" width="150px" backgroundColor="red"

-						borderStyle="solid" borderWidth="1px" borderColor="blue" />
-					<label text="width:80px" x="0" y="0" height="25px" width="80px" backgroundColor="blue"
/>
-					<label text="width:250px" x="0" y="0" height="25px" width="250px" backgroundColor="yellow"
/>
-				</horizontalFlowPane> 
+				<splitPane width="400px" height="400px">
+				<left>
+				<horizontalFlowPane id="testComponent" backgroundColor="black">
+					<label text="width:150px" height="25px" width="150px" backgroundColor="red" />
+					<label text="width:80px" height="25px" width="80px" backgroundColor="blue" />
+					<label text="width:200px" height="25px" width="200px" backgroundColor="yellow" />
+					<label text="width:150px" height="25px" width="150px" backgroundColor="red" />
+					<label text="width:80px" height="25px" width="80px" backgroundColor="blue" />
+					<label text="width:200px" height="25px" width="200px" backgroundColor="yellow" />
+					<label text="width:150px" height="25px" width="150px" backgroundColor="red" />
+					<label text="width:80px" height="25px" width="80px" backgroundColor="blue" />
+					<label text="width:200px" height="25px" width="200px" backgroundColor="yellow" />
			</horizontalFlowPane> 
+				</left>
+				
+				<right>
+				<horizontalFlowPane backgroundColor="black">
+					<label text="width:150px" height="25px" width="150px" backgroundColor="red" />
+					<label text="width:80px" height="25px" width="80px" backgroundColor="blue" />
+					<label text="width:200px" height="25px" width="200px" backgroundColor="yellow" />
+					<label text="width:150px" height="25px" width="150px" backgroundColor="red" />
+					<label text="width:80px" height="25px" width="80px" backgroundColor="blue" />
+					<label text="width:200px" height="25px" width="200px" backgroundColor="yellow" />
+					<label text="width:150px" height="25px" width="150px" backgroundColor="red" />
+					<label text="width:80px" height="25px" width="80px" backgroundColor="blue" />
+					<label text="width:200px" height="25px" width="200px" backgroundColor="yellow" />
			</horizontalFlowPane> 
+				</right>
+				</splitPane>
+				
+				
 			</horizontalBoxPane>
 		</xm:append>
 	</xm:modifications>



Mime
View raw message