incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r438257 - in /incubator/xap/trunk/WebContent/examples/widgets: freePanel.html freePanel.xal index.html
Date Tue, 29 Aug 2006 22:16:55 GMT
Author: jmargaris
Date: Tue Aug 29 15:16:53 2006
New Revision: 438257

URL: http://svn.apache.org/viewvc?rev=438257&view=rev
Log:
added freepanel, got rid of non-working boxPanel

Added:
    incubator/xap/trunk/WebContent/examples/widgets/freePanel.html   (with props)
    incubator/xap/trunk/WebContent/examples/widgets/freePanel.xal
Modified:
    incubator/xap/trunk/WebContent/examples/widgets/index.html

Added: incubator/xap/trunk/WebContent/examples/widgets/freePanel.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/freePanel.html?rev=438257&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/freePanel.html (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/freePanel.html Tue Aug 29 15:16:53 2006
@@ -0,0 +1,27 @@
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <title>Button</title>
+
+	<style type="text/css">
+      <!--
+          @import url(../../css/xapDefault.css);
+      -->
+    </style>
+    
+	<!-- Keep dojo from trying to scan this whole page for dojoType'd tags: -->
+	<script type="text/javascript">
+		djConfig = {
+			parseWidgets: false
+		};
+	</script>    
+	
+	<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
+   <script language="JavaScript" type="text/javascript" src="AttributeTester.js"></script>
+    
+ </head>
+  
+ <body  onload="Xap.createAllPredefinedSessions();">
+	<div xapId="ButtonExample" xapSrc="freePanel.xal" xapToolkit="dojo" xapContext="../../"></div>
+</body>
+</html>

Propchange: incubator/xap/trunk/WebContent/examples/widgets/freePanel.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/xap/trunk/WebContent/examples/widgets/freePanel.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/freePanel.xal?rev=438257&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/freePanel.xal (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/freePanel.xal Tue Aug 29 15:16:53 2006
@@ -0,0 +1,74 @@
+<xal xmlns="http://www.openxal.org/xal" xmlns:dojo="http://www.dojotoolkit.org/"> 
+
+
+	<mco:mco 
+		xmlns:mco="http://www.openxal.org/mco" 
+		id="attributeSetter" 
+		src="AttributeTester"
+	/>
+
+
+
+	<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+	<xm:append select="/xal">
+	
+		<dojo:freePanel width="200px" height="200px" backgroundColor="black"
+		id="testComponent" orientation="horizontal">
+			<dojo:freePanel width="100px" height="100px" backgroundColor="red"/>
+			<dojo:freePanel width="100px" height="100px" x="100px" backgroundColor="green"/>
+			<dojo:freePanel y="100px" height="50%" width="100%" backgroundColor="blue"/>
+		</dojo:freePanel>
+		
+
+		<!--standard test things -->
+		
+		
+
+		<dojo:button width="200px" height="25px" 
+			text="borderWidth -> '25'"
+			onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'borderWidth' ,'25')"/>
+
+		<dojo:button width="200px" height="25px" 
+			text="borderStyle -> 'solid'"
+			onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'borderStyle' ,'solid')"/>
+
+		<dojo:button width="200px" height="25px" 
+			text="borderColor -> 'red'"
+			onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'borderColor' ,'red')"/>
+
+		<dojo:button width="200px" height="25px" 
+			text="width -> '300px'"
+			onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'width' ,'300px')"/>
+
+		<dojo:button width="200px" height="25px" 
+			text="height -> '300px'"
+			onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'height' ,'300px')"/>
+
+		<dojo:button width="200px" height="25px" 
+			text="fontWeight -> 'bold'"
+			onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'fontWeight' ,'bold')"/>
+
+		<dojo:button width="200px" height="25px" 
+			text="backgroundColor -> 'green'"
+			onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'backgroundColor' ,'green')"/>
+
+		<dojo:button width="200px" height="25px" 
+			text="color -> 'red'"
+			onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'color' ,'red')"/>
+
+		<dojo:button width="200px" height="25px" 
+			text="fontSize-> '24'"
+			onCommand="mco:attributeSetter.setAttribute(testComponent,
+				'fontSize' ,'24')"/>
+
+	</xm:append> 	  		
+  	</xm:modifications>
+</xal>

Modified: incubator/xap/trunk/WebContent/examples/widgets/index.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/index.html?rev=438257&r1=438256&r2=438257&view=diff
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/index.html (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/index.html Tue Aug 29 15:16:53 2006
@@ -5,7 +5,7 @@
 <li><a href="button.html">&lt;button&gt;</a></li>
 <li><a href="tabPane.html">&lt;tabPane&gt;</a></li>
 <li><a href="splitPane.html">&lt;splitPane&gt;</a></li>
-<li><a href="boxPanel.html">&lt;boxPanel&gt;</a></li>
+<li><a href="freePanel.html">&lt;freePanel&gt;</a></li>
 </ul>
 
 <br>



Mime
View raw message