incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r453724 - /incubator/xap/trunk/WebContent/examples/dataBinding/
Date Fri, 06 Oct 2006 18:25:59 GMT
Author: mturyn
Date: Fri Oct  6 11:25:58 2006
New Revision: 453724

URL: http://svn.apache.org/viewvc?view=rev&rev=453724
Log:
Tweaking, putting in <h3/>-sized titles.

Modified:
    incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.html
    incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.xal
    incubator/xap/trunk/WebContent/examples/dataBinding/index.html
    incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html
    incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal
    incubator/xap/trunk/WebContent/examples/dataBinding/jsonDatasource.html
    incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html
    incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.html

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.html?view=diff&rev=453724&r1=453723&r2=453724
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.html Fri Oct  6 11:25:58
2006
@@ -26,7 +26,7 @@
 mask forgetting a .require(<className>) in the code:
 -->
 
-    <script language="JavaScript" type="text/javascript">
+    <!--  script language="JavaScript" type="text/javascript">
 
     	Xap._sourceRootDir = "../../" ; 
     		Xap.addDebuggables(		
@@ -63,11 +63,12 @@
 							) ;	
 		Xap._loadDebuggables() ;
 							
-	</script>							
+	</script -->							
 
 	</head>
 
 	<body onload="Xap.createAllPredefinedSessions();">	
+		<h3>Testing the decimal formatter and bridge:</h3>
 		<div style="left:100px;top:100px" xapId="DecimalFormatterExample" xapSrc="decimalFormatter.xal"
xapToolkit="dojo" xapContext="../../"></div>
 
 		<div >

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.xal?view=diff&rev=453724&r1=453723&r2=453724
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/decimalFormatter.xal Fri Oct  6 11:25:58
2006
@@ -30,56 +30,56 @@
 			<table height="260px">
 				<row>
 					<cell text="Unformatted: " fontSize="13pt"/>
-					<cell text="..."/>
+					<cell/>
 					<cell text="{bind(binding:binder_full)}" 
 						fontSize="13pt" alignHorizontal="center"
 					/>
 				</row>
 
 				<row>
-					<cell text="Places" fontSize="13pt"/>
-					<cell/>
-					<cell text="formatted number" fontSize="13pt"/>
+					<cell text="Format string:" fontSize="13pt"/>
+					<cell text="..."/>
+					<cell text="formatted number:" fontSize="13pt"/>
 				</row>
 
 				<row>
-					<cell text="6" fontSize="13pt"/>
+					<cell text="0.000000" fontSize="13pt"/>
 					<cell/>
 					<cell text="{bind(binding:binder_6)}" fontSize="13pt"/>
 				</row>
 
 				<row>
-					<cell text="5" fontSize="13pt"/>
+					<cell text="0.00000" fontSize="13pt"/>
 					<cell/>
 					<cell text="{bind(binding:binder_5)}" fontSize="13pt"/>
 				</row>
 
 				<row>
-					<cell text="4" fontSize="13pt"/>
+					<cell text="0.0000" fontSize="13pt"/>
 					<cell/>
 					<cell text="{bind(binding:binder_4)}" fontSize="13pt"/>
 				</row>
 
 				<row>
-					<cell text="3" fontSize="13pt"/>
+					<cell text="0.000" fontSize="13pt"/>
 					<cell/>
 					<cell text="{bind(binding:binder_3)}" fontSize="13pt"/>
 				</row>
 
 				<row>
-					<cell text="2" fontSize="13pt"/>
+					<cell text="0.00" fontSize="13pt"/>
 					<cell/>
 					<cell text="{bind(binding:binder_2)}" fontSize="13pt"/>
 				</row>
 
 				<row>
-					<cell text="1" fontSize="13pt"/>
+					<cell text="0.0" fontSize="13pt"/>
 					<cell/>
 					<cell text="{bind(binding:binder_1)}" fontSize="13pt"/>
 				</row>
 
 				<row>
-					<cell text="0" fontSize="13pt"/>
+					<cell text="0." fontSize="13pt"/>
 					<cell/>
 					<cell text="{bind(binding:binder_0)}" fontSize="13pt"/>
 				</row>

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/index.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/index.html?view=diff&rev=453724&r1=453723&r2=453724
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/index.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/index.html Fri Oct  6 11:25:58 2006
@@ -4,16 +4,16 @@
 	</head>
 	<body>
 		<h2>Data binding, iteration, formatting:</h2>
-		<ul>
+		<ul><font size="+1">
 			<li>
 				<a href="./mcoAttribute.html">Testing basic attribute-resolution for an MCO.</a>
 			</li>
 			<br>
 			<li>
-				<a href="./simpleDocumentDatasource_0.html">Character data from an XML document
data source and XPATH query, layed out with an MCO.</a>
+				<a href="./simpleEmployees.html">Employee data from an XML document data source
and XPATH query in a table layout.</a>
 			</li>
 			<li>
-				<a href="./simpleEmployees.html">Employee data from an XML document data source
and XPATH query.</a>
+				<a href="./simpleDocumentDatasource_0.html">Data from an XML document data source
and XPATH query, layed out with an MCO.</a>
 			</li>
 			<br>
 			<li>
@@ -28,6 +28,6 @@
 			<li>
 				<a href="./javascriptDatasource.html">Employee data from a generalised javascript
data source using a scriptlet "query" and iterator macros.</a>
 			</li>
-		</ul>
+		</font></ul>
 	</body>
 </html>

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html?view=diff&rev=453724&r1=453723&r2=453724
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.html Fri Oct
 6 11:25:58 2006
@@ -63,6 +63,7 @@
 	</head>
 
 	<body onload="Xap.createAllPredefinedSessions();">
+		<h3>Iterating over an object from a complicated, non-JSON, Javascript expression:</h3>
 		<div style="left:100px;top:100px" xapId="JsdsExample" xapSrc="javascriptDatasource.xal"
xapToolkit="dojo" xapContext="../../"></div>
 	</body>
 </html>

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=453724&r1=453723&r2=453724
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/javascriptDatasource.xal Fri Oct 
6 11:25:58 2006
@@ -34,8 +34,8 @@
 				width="990px" 
 				height="40px"
 				backgroundColor="#b0a0b0"
-				alignHorizontal="center"						
-				text="Expressions using a JavaScript object data source:"
+				alignHorizontal="left"						
+				text="[a single element from the array:]"
 			/>
 		
 			<xal:label 
@@ -45,7 +45,7 @@
 				height="40px"
 				alignHorizontal="center"
 				backgroundColor="#ddddff" 				
-				text="\{bind(binding:SECOND)\}"
+				text=" {bind(binding:SECOND)} "
 			/>
 		
 			<xal:label 				

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/jsonDatasource.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/jsonDatasource.html?view=diff&rev=453724&r1=453723&r2=453724
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/jsonDatasource.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/jsonDatasource.html Fri Oct  6 11:25:58
2006
@@ -63,6 +63,7 @@
 	</head>
 
 	<body onload="Xap.createAllPredefinedSessions();">
+		<h3>Iterating over data from a JSON-encoded object:</h3>
 		<div style="left:100px;top:100px" xapId="JsonExample" xapSrc="jsonDatasource.xal" xapToolkit="dojo"
xapContext="../../"></div>
 
 		<div >

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html?view=diff&rev=453724&r1=453723&r2=453724
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/simpleDocumentDatasource_0.html Fri
Oct  6 11:25:58 2006
@@ -19,8 +19,8 @@
 alternate loading method (using <script/> tags) can
 mask forgetting a .require(<className>) in the code:
 -->
-    <script language="JavaScript" type="text/javascript">
-/*
+    <!--  script language="JavaScript" type="text/javascript">
+
     	Xap._sourceRootDir = "../../" ;
 		Xap.addDebuggables(
 							"xap.data.DataFramework",
@@ -50,8 +50,8 @@
 							"xap.xml.dom.Document"
 							) ;
 		Xap._loadDebuggables() ;
-*/
-	</script>
+
+	</script -->
 	<script language="JavaScript" src="Layout.js"> </script>
 	
 	</head>

Modified: incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.html?view=diff&rev=453724&r1=453723&r2=453724
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.html (original)
+++ incubator/xap/trunk/WebContent/examples/dataBinding/simpleEmployees.html Fri Oct  6 11:25:58
2006
@@ -26,8 +26,7 @@
 mask forgetting a .require(<className>) in the code:
 -->
 
-    <script language="JavaScript" type="text/javascript">
-/*
+    <!--  script language="JavaScript" type="text/javascript">
     	Xap._sourceRootDir = "../../" ; 	
 		Xap.addDebuggables(		
 							"xap.data.DataFramework",
@@ -57,16 +56,17 @@
 							"xap.xml.dom.Document"																							
 							) ;
 		Xap._loadDebuggables() ;
-*/
-	</script>	
+	</script -->	
 	
+	<!--Needed for the mco tag in the xal file:  -->
 	<script language="JavaScript" src="Layout.js"> </script>						
 
 	</head>
 
 	<body onload="Xap.createAllPredefinedSessions();">
+		<h3>Employee data from an XML document:</h3>
 		<div style="left:100px;top:100px" xapId="SddsExample" xapSrc="simpleEmployees.xal" xapToolkit="dojo"
xapContext="../../"></div>
-		<div top="400px">
+		<div top="380px">
 			(see <a href="simpleEmployees.xal">simpleEmployees.xal</a>, <a href="employees.xml">employees.xml</a>.)
 		</div>		
 	</body>



Mime
View raw message