incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r470204 - in /incubator/xap/trunk/WebContent/examples/widgets: desktopPane.html desktopPane.xal
Date Thu, 02 Nov 2006 02:45:37 GMT
Author: jmargaris
Date: Wed Nov  1 18:45:36 2006
New Revision: 470204

URL: http://svn.apache.org/viewvc?view=rev&rev=470204
Log: (empty)

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

Added: incubator/xap/trunk/WebContent/examples/widgets/desktopPane.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/desktopPane.html?view=auto&rev=470204
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/desktopPane.html (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/desktopPane.html Wed Nov  1 18:45:36 2006
@@ -0,0 +1,29 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
+<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" style="width:100%; height:100%" xapSrc="desktopPane.xal" xapToolkit="dojo"
xapContext="../../"></div>
+</body>
+</html>

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

Added: incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal?view=auto&rev=470204
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal (added)
+++ incubator/xap/trunk/WebContent/examples/widgets/desktopPane.xal Wed Nov  1 18:45:36 2006
@@ -0,0 +1,89 @@
+<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal"> 
+
+
+	<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">
+	
+	<xal:desktopPane width="100%" height="100%" id="testComponent">
+	<xal:window title="No min,max,close or resize" x="200px" resizable="false" minimizable="false"
maximizable="false" closable="false"/>
+	<xal:window title="A window"
+		onClose="mco:attributeSetter.reportEvent(event)"
+		onMinimize="mco:attributeSetter.reportEvent(event)"
+		onMaximize="mco:attributeSetter.reportEvent(event)"
+		onMinimizing="mco:attributeSetter.reportEvent(event)"
+		onMaximizing="mco:attributeSetter.reportEvent(event)"
+		onClosing="mco:attributeSetter.reportEvent(event)"
+		onRestore="mco:attributeSetter.reportEvent(event)"
+		onRestoring="mco:attributeSetter.reportEvent(event)"
+
+	>
+		<xal:borderPanel backgroundColor="green">
+		<xal:menuBar borderPosition="north">
+			<xal:menuBarItem text="Edit">
+				<xal:menu>
+					<xal:menuItem text="Cut" onCommand="mco:attributeSetter.reportEvent(event)"/>
+					<xal:menuItem text="Copy"/>
+					<xal:horizontalSeparator />
+					<xal:menuItem text="Paste"/>
+				</xal:menu>
+			</xal:menuBarItem>
+			
+			<xal:menuBarItem text="File">
+				<xal:menu>
+					<xal:menuItem text="Open"/>
+					<xal:menuItem text="Close"/>
+					<xal:menuItem text="Preferences.">
+						<xal:menu>
+							<xal:menuItem text="A preference"/>
+							<xal:menuItem text="A different preference"/>
+						</xal:menu>
+					</xal:menuItem>
+				</xal:menu>
+			</xal:menuBarItem>
+
+			<xal:menuBarItem text="Format">
+				<xal:menu>
+					<xal:menuItem text="Cut"/>
+					<xal:menuItem text="Copy"/>
+					<xal:menuItem text="Paste"/>
+				</xal:menu>
+			</xal:menuBarItem>
+			
+			<xal:menuBarItem text="Run">
+				<xal:menu>
+					<xal:menuItem text="Open"/>
+					<xal:menuItem text="Close"/>
+					<xal:menuItem text="Preferences..."/>
+				</xal:menu>
+			</xal:menuBarItem>
+
+		</xal:menuBar>
+		
+		<xal:verticalPanel borderPosition="center">
+			<xal:button text="Button 1"/>
+			<xal:button text="Button 2"/>
+		</xal:verticalPanel>
+		</xal:borderPanel> 
+		
+		</xal:window>
+		
+		<xal:verticalPanel>
+			<!--standard test things -->
+			<include href="standardButtons.xal" xmlns="http://www.openxal.org/xinclude"/>
+		</xal:verticalPanel>
+	
+	</xal:desktopPane>
+	
+		
+	
+	</xm:append> 	  		
+  	</xm:modifications>
+</xal>

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



Mime
View raw message