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/18 21:47:38 UTC
svn commit: r432737 - /incubator/xap/trunk/WebContent/examples/htmlEmbedding/
Author: mturyn
Date: Fri Aug 18 14:47:37 2006
New Revision: 432737
URL: http://svn.apache.org/viewvc?rev=432737&view=rev
Log:
A set of pages intended to illustrate the different ways of embedding Xap applications into HTML, and ways components can place themselves in the DOM.
Added:
incubator/xap/trunk/WebContent/examples/htmlEmbedding/
incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_controlledComponentLevelDisplay.html (with props)
incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_homeSpecified.html (with props)
incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_noHomeSpecified.html (with props)
incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_controlledComponentLevelDisplay.html (with props)
incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_defaultDisplay.html (with props)
incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal (with props)
incubator/xap/trunk/WebContent/examples/htmlEmbedding/index.html (with props)
incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js (with props)
incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor.xal (with props)
incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor_homesSpecified.xal (with props)
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_controlledComponentLevelDisplay.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_controlledComponentLevelDisplay.html?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_controlledComponentLevelDisplay.html (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_controlledComponentLevelDisplay.html Fri Aug 18 14:47:37 2006
@@ -0,0 +1,66 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>A spatially-distributed component.</title>
+
+
+ <!-- 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="../../src/dojo/dojo.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/util/Utils.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/Xap.js"></script>
+
+
+
+ <script language="JavaScript" type="text/javascript">
+ Xap.bootstrap( "../../", true );
+ </script>
+
+
+
+ <script language="JavaScript" src="palettesAndButtonHandlers.js"> </script>
+
+ <script language="JavaScript">
+ Xap.defineSession("cornerPalettesCentralButton.xal", "ThreeSquare","xapHome","../../","dojo") ;
+ </script>
+
+
+ </head>
+
+ <body onload="Xap.createAllPredefinedSessions();">
+
+<h1>A spatially-distributed component</h1>
+<h3>The application home is the central cell,
+ <br/>where the button will by default insert itself;
+ <br/>each color palette puts itself into a corner cell.
+</h3>
+
+<TABLE align="center" border="0" width="60%" height="60%"
+ border="1px" border-style="dotted" bgColor="#EEEEFF"
+ cellpadding="0px" cellspacing="0px" frame="box"
+>
+ <TR>
+ <TD border="0" align="left" valign="top" id="00"></TD>
+ <TD id="01"></TD>
+ <TD border="0" align="right" valign="top" id="02"></TD>
+ </TR>
+ <TR>
+ <TD id="10"></TD>
+ <TD border="0" align="center" valign="middle" id="xapHome"></TD>
+ <TD id="12"></TD>
+ </TR>
+ <TR>
+ <TD border="0" align="left" valign="bottom" id="20"></TD>
+ <TD id="21"></TD>
+ <TD border="0" align="right" valign="bottom" id="22"></TD>
+ </TR>
+</TABLE>
+</body>
+</html>
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_controlledComponentLevelDisplay.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_homeSpecified.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_homeSpecified.html?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_homeSpecified.html (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_homeSpecified.html Fri Aug 18 14:47:37 2006
@@ -0,0 +1,46 @@
+<html>
+<!-- Example_1b_noSpecialAttributes_homeSpecified.html -->
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>An application without a specified home containing two Dojo color choosers, defined by a function call in the html.</title>
+
+ <!-- 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="../../src/dojo/dojo.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/util/Utils.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/Xap.js"></script>
+
+
+
+ <script language="JavaScript" type="text/javascript">
+ Xap.bootstrap( "../../");
+ Xap.defineSession(
+ "simpleColor.xal", // app. definition file
+ "ColorPicker", // i.d. for session==window["ColorPicker"]
+ "DIV0", // location in DOM
+ "../../", // load-context for plugin def. file
+ "dojo" // toolkit identifier
+ ) ;
+
+ </script>
+
+
+ </head>
+
+ <body onload="Xap.createAllPredefinedSessions();">
+ <font size="-1"><p>[Begin original body code.]</p></font>
+ <h2>An application without a specified home, containing two
+ <br/>Dojo color choosers, defined by a function call in
+ <br/>the html.
+ </h2>
+
+ <DIV id="DIV0" style="border-style:inset;background:rgb(255,239,239);border-width:1px;left:300px;top:120px;width:200px;height:200px;position:absolute;opacity:0.8;z-order:9;">DIV 0</DIV>
+ <DIV id="DIV1" style="border-style:outset;background:rgb(239,239,255);border-width:1px;left:450px;top:220px;width:200px;height:200px;position:absolute;opacity:0.8;z-order:8;">DIV 1</DIV>
+ <font size="-1"><p>[End original body code.]</p></font>
+</body>
+</html>
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_homeSpecified.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_noHomeSpecified.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_noHomeSpecified.html?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_noHomeSpecified.html (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_noHomeSpecified.html Fri Aug 18 14:47:37 2006
@@ -0,0 +1,50 @@
+<html>
+<!-- Example_1b_noSpecialAttributes_noHomeSpecified.html -->
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>A Dojo "ColorPalette" without a specified home, defined by a function call in the html.</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="../../src/dojo/dojo.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/util/Utils.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/Xap.js"></script>
+
+
+
+ <script language="JavaScript" type="text/javascript">
+ Xap.bootstrap( "../../");
+ Xap.defineSession(
+ "simpleColor.xal", // app. definition file
+ "ColorPicker", // i.d. for session==window["ColorPicker"]
+ null, // location in DOM
+ "../../", // load-context for plugin def. file
+ "dojo" // toolkit identifier
+ ) ;
+
+ </script>
+
+
+ </head>
+
+ <body onload="Xap.createAllPredefinedSessions();">
+ <font size="-1"><p>[Begin original body code.]</p></font>
+ <h2>A Dojo "ColorPalette" without a specified
+ <br/>home, defined by a function call in the html.
+ </h2>
+ <DIV id="DIV0" style="border-style:inset;background:rgb(255,239,239);border-width:1px;left:300px;top:120px;width:200px;height:200px;position:absolute;opacity:0.8;z-order:9;">DIV 0</DIV>
+ <DIV id="DIV1" style="border-style:outset;background:rgb(239,239,255);border-width:1px;left:450px;top:220px;width:200px;height:200px;position:absolute;opacity:0.8;z-order:8;">DIV 1</DIV>
+ <font size="-1"><p>[End original body code.]</p></font>
+</body>
+</html>
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_1b_noSpecialAttributes_noHomeSpecified.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_controlledComponentLevelDisplay.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_controlledComponentLevelDisplay.html?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_controlledComponentLevelDisplay.html (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_controlledComponentLevelDisplay.html Fri Aug 18 14:47:37 2006
@@ -0,0 +1,72 @@
+<html>
+<!-- Example_3_specialAttributes_controlledComponentLevelDisplay.html -->
+<!--
+ By default, when a XAP application is defined within a standard HTML tag
+ augmented with special attributes, the components will be visually
+ contained within that tag. (application home == layout container for all components)
+
+ However, if a component has a "displayerId" attribute, that component
+ will look for an HTML element with a matching "id" attribute. This
+ allows us to
+ 1.) Distribute a single application's components about the page.
+ 2.) Use non-displaying tags to get the definition into the page.
+
+ This holds true whether the application is specified by tags as in
+ this case, or with a javascript call to Xap.defineSession().
+-->
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+<meta
+ xapSrc="simpleColor_homesSpecified.xal"
+ xapId="ColorPicker"
+ xapToolkit="dojo"
+ xapContext="../../"
+/>
+<!--
+ We've just defined the xap application
+ in this non-displaying tag, but its components
+ will display where they say they want to be displayed.
+-->
+
+ <title>
+ A Xap application embedded into a tag;
+ it wrappers a Dojo color palette (by default) displayed within that tag.
+ </title>
+
+ <!-- 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="../../src/dojo/dojo.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/util/Utils.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/Xap.js"></script>
+
+
+
+ <script language="JavaScript" type="text/javascript">
+ Xap.bootstrap("../../");
+ </script>
+
+
+ </head>
+
+ <body onload="Xap.createAllPredefinedSessions();" id="theBody">
+
+ <font size="-1"><p>[Begin original body code.]</p></font>
+ <h2>
+ A Xap application embedded into a tag.
+ </h2>
+ <h3>
+ It wrappers two Dojo color palettes which are displayed
+ <br/> within the elements of their choosing (<font color="darkblue">DIV 1</font> and the body).
+ </h3>
+ <!-- Embed the XAP app. into DIV 0 -->
+ <DIV id="DIV0" style="border-style:inset;background:rgb(255,239,239);border-width:1px;left:300px;top:140px;width:200px;height:200px;position:absolute;opacity:0.8;z-order:9;">DIV 0</DIV>
+ <DIV id="DIV1" style="border-style:outset;background:rgb(239,239,255);border-width:1px;left:450px;top:240px;width:200px;height:200px;position:absolute;opacity:0.8;z-order:8;">DIV 1</DIV>
+ <font size="-1"><p>[End original body code.]</p></font>
+</body>
+</html>
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_controlledComponentLevelDisplay.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_defaultDisplay.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_defaultDisplay.html?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_defaultDisplay.html (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_defaultDisplay.html Fri Aug 18 14:47:37 2006
@@ -0,0 +1,50 @@
+<html>
+<!-- Example_3_specialAttributes_defaultDisplay.html -->
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>
+ A Xap application embedded into a tag. It wrappers
+ a single Dojo color paletter which is displayed
+ (by default) within that tag.
+ </title>
+
+ <!-- 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="../../src/dojo/dojo.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/util/Utils.js"></script>
+ <script language="JavaScript" type="text/javascript" src="../../src/xap/Xap.js"></script>
+
+
+
+ <script language="JavaScript" type="text/javascript">
+ Xap.bootstrap("../../");
+ </script>
+
+
+ </head>
+
+ <body onload="Xap.createAllPredefinedSessions();">
+
+ <font size="-1"><p>[Begin original body code.]</p></font>
+ <h2>
+ A Xap application embedded into a tag. It wrappers
+ <br/>a single Dojo color paletter which is displayed
+ <br/>(by default) within that tag.
+ </h2>
+ <!-- Embed the XAP app. into DIV 0 -->
+ <DIV id="DIV0" style="border-style:inset;background:rgb(255,239,239);border-width:1px;left:300px;top:120px;width:200px;height:200px;position:absolute;opacity:0.8;z-order:9;"
+ comment="This tag, which is _not_ a XAP tag, marks the start of the non-standard attributes."
+ xapSrc="simpleColor.xal"
+ xapId="ColorPicker"
+ xapToolkit="dojo"
+ xapContext="../../"
+ >DIV 0</DIV>
+ <DIV id="DIV1" style="border-style:outset;background:rgb(239,239,255);border-width:1px;left:450px;top:220px;width:200px;height:200px;position:absolute;opacity:0.8;z-order:8;">DIV 1</DIV>
+ <font size="-1"><p>[End original body code.]</p></font>
+</body>
+</html>
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/Example_3_specialAttributes_defaultDisplay.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal Fri Aug 18 14:47:37 2006
@@ -0,0 +1,60 @@
+<xal xmlns="http://www.openxal.org/xal">
+
+ <!--
+ Handler functions for the palettes
+ and button packaged into mco:handler
+ -->
+ <mco:mco
+ xmlns:mco="http://www.openxal.org/mco"
+ id="handler"
+ src="palettesAndButtonHandlers"
+ />
+
+
+
+ <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+ <xm:append select="/xal">
+ <!-- top-left -->
+ <colorPalette xmlns="http://www.dojotoolkit.org/"
+ displayerId="00"
+ id="theColorPicker_00"
+ onCommand="mco:handler.onPick(event)"
+ />
+
+ <!-- top-right -->
+ <colorPalette xmlns="http://www.dojotoolkit.org/"
+ displayerId="02"
+ id="theColorPicker_02"
+ onCommand="mco:handler.onPick(event)"
+ />
+
+ <!--
+ Has no 'displayerId', so puts itself into
+ the application home---for now, the centre:
+ -->
+ <button xmlns="http://www.dojotoolkit.org/"
+ text=" Revert colors "
+ id="button0"
+ onCommand="mco:handler.onClick()"
+ />
+
+
+ <!-- bottom-left -->
+ <colorPalette xmlns="http://www.dojotoolkit.org/"
+ displayerId="20"
+ id="theColorPicker_20"
+ onCommand="mco:handler.onPick(event)"
+ />
+
+ <!-- bottom-right -->
+ <colorPalette xmlns="http://www.dojotoolkit.org/"
+ displayerId="22"
+ id="theColorPicker_22"
+ onCommand="mco:handler.onPick(event)"
+ />
+
+ </xm:append>
+
+
+ </xm:modifications>
+</xal>
\ No newline at end of file
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/cornerPalettesCentralButton.xal
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/index.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/index.html?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/index.html (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/index.html Fri Aug 18 14:47:37 2006
@@ -0,0 +1,26 @@
+<h2>Different ways of embedding a XAP application into HTML</h2>
+
+Special attributes in standard HTML tags:
+<ul>
+ <li><a href="Example_3_specialAttributes_defaultDisplay.html">Components display in the application home by default</a>a>
+ </li>
+ <br/>
+ <li><a href="Example_3_specialAttributes_controlledComponentLevelDisplay.html">Components control where they're displayed</a>
+ </li>
+
+</ul>
+ <br/>
+ <br/>
+
+No special attributes, Xap application defined with a JavaScript call:
+<ul>
+ <li><a href="Example_1b_noSpecialAttributes_homeSpecified.html">Application home specified</a>, components displayed there by default
+ </li>
+ <br/>
+ <li><a href="Example_1b_noSpecialAttributes_noHomeSpecified.html">No application home specified</a>, so components end up directly under the <body/> element
+ </li>
+ <br/>
+ <li><a href="Example_1b_noSpecialAttributes_controlledComponentLevelDisplay.html">Components control where they're displayed</a>
+ </li>
+ <br/>
+</ul>
\ No newline at end of file
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/index.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js Fri Aug 18 14:47:37 2006
@@ -0,0 +1,54 @@
+
+
+palettesAndButtonHandlers = function(){} ;
+
+// Light-up an adjacent cell:
+palettesAndButtonHandlers.getPairedCorner = function(cornerId){
+ if(cornerId=="00"){
+ return "10";
+ } else if(cornerId=="02"){
+ return "01";
+ } else if(cornerId=="20"){
+ return "21";
+ } else if(cornerId=="22"){
+ return "12";
+ }
+
+}
+
+palettesAndButtonHandlers.prototype.onPick = function () {
+
+ var args = arguments ;
+ var clientEvent = arguments[0] ;
+
+ var uiDoc = clientEvent.session.getDocumentContainer().getUiDocument();
+
+ var cpId = "theColorPicker_"+ clientEvent.source.getAttribute("displayerId") ;
+
+ var cpEl = uiDoc.getElementById( cpId);
+
+ var bridge = clientEvent.session.getUiDocumentHandler().getHandlerForElement( cpEl );
+
+ var colour = bridge.getAttribute( "color" ).replace(/\s/g,"") ;
+
+ var elementId = clientEvent.source.getAttribute("displayerId") ;
+ var element = document.getElementById( elementId );
+ var nextElement = document.getElementById(palettesAndButtonHandlers.getPairedCorner(elementId) );
+
+ element.style.background = colour ;
+ nextElement.style.background = colour ;
+
+};
+
+
+palettesAndButtonHandlers.prototype.onClick = function () {
+// Clears these cells:
+ var elIds=["01","10","12","21","00","22","02","20" ] ;
+
+ for ( var k = 0; k < elIds.length; ++k ){
+ var element = document.getElementById(elIds[k] );
+ element.style.background = "#EEEEFF" ;
+ }
+
+};
+
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor.xal?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor.xal (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor.xal Fri Aug 18 14:47:37 2006
@@ -0,0 +1,12 @@
+<xal xmlns="http://www.openxal.org/xal">
+
+
+ <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+ <xm:append select="/xal">
+ <colorPalette
+ xmlns="http://www.dojotoolkit.org/"
+ id="theColorPicker"
+ />
+ </xm:append>
+ </xm:modifications>
+</xal>
\ No newline at end of file
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor.xal
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor_homesSpecified.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor_homesSpecified.xal?rev=432737&view=auto
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor_homesSpecified.xal (added)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor_homesSpecified.xal Fri Aug 18 14:47:37 2006
@@ -0,0 +1,21 @@
+<xal xmlns="http://www.openxal.org/xal">
+
+
+ <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+ <xm:append select="/xal">
+ <colorPalette
+ xmlns="http://www.dojotoolkit.org/"
+ id="theFirstColorPicker"
+ displayerId="DIV1"
+ />
+
+ <colorPalette
+ xmlns="http://www.dojotoolkit.org/"
+ id="theLastColorPicker"
+ width="180px"
+ height="180px"
+ displayerId="theBody"
+ />
+ </xm:append>
+ </xm:modifications>
+</xal>
\ No newline at end of file
Propchange: incubator/xap/trunk/WebContent/examples/htmlEmbedding/simpleColor_homesSpecified.xal
------------------------------------------------------------------------------
svn:eol-style = native