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 jm...@apache.org on 2006/11/17 01:46:25 UTC
svn commit: r476025 [2/2] - in /incubator/xap/trunk:
WebContent/examples/basic/ WebContent/examples/dataBinding/
WebContent/examples/demo/ WebContent/examples/dojo/
WebContent/examples/helloWorld/ WebContent/examples/html-xmodify/
WebContent/examples/h...
Modified: incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/verticalBoxPane.xal Thu Nov 16 17:46:22 2006
@@ -1,15 +1,15 @@
-<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
+<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
<mco:mco
- xmlns:mco="http://www.openxal.org/mco"
+ xmlns:mco="http://openxal.org/core/mco"
id="attributeSetter"
src="AttributeTester"
/>
- <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+ <xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:append select="/xal">
<horizontalBoxPane>
<verticalBoxPane>
@@ -75,7 +75,7 @@
<!--standard test things -->
<verticalBoxPane>
- <include href="standardButtons.xal" xmlns="http://www.openxal.org/xinclude"/>
+ <include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
</verticalBoxPane>
<xal:verticalBoxPane width="200px" height="500px" backgroundColor="black"
Modified: incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal Thu Nov 16 17:46:22 2006
@@ -1,15 +1,15 @@
-<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
+<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
<mco:mco
- xmlns:mco="http://www.openxal.org/mco"
+ xmlns:mco="http://openxal.org/core/mco"
id="attributeSetter"
src="AttributeTester"
/>
- <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+ <xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:append select="/xal">
<xal:freePane width="800px" height="800px">
Modified: incubator/xap/trunk/WebContent/examples/widgets/window.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/window.xal?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/window.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/window.xal Thu Nov 16 17:46:22 2006
@@ -1,15 +1,15 @@
-<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
+<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
<mco:mco
- xmlns:mco="http://www.openxal.org/mco"
+ xmlns:mco="http://openxal.org/core/mco"
id="attributeSetter"
src="AttributeTester"
/>
- <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+ <xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:append select="/xal">
@@ -79,7 +79,7 @@
<!--standard test things -->
- <include href="standardButtons.xal" xmlns="http://www.openxal.org/xinclude"/>
+ <include href="standardButtons.xal" xmlns="http://openxal.org/core/xinclude"/>
</xm:append>
</xm:modifications>
</xal>
Modified: incubator/xap/trunk/schema/schemas/xmodify/xmodify.xsd
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/schema/schemas/xmodify/xmodify.xsd?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/schema/schemas/xmodify/xmodify.xsd (original)
+++ incubator/xap/trunk/schema/schemas/xmodify/xmodify.xsd Thu Nov 16 17:46:22 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.openxal.org/xmodify" targetNamespace="http://www.openxal.org/xmodify" elementFormDefault="qualified" version="1.0">
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://openxal.org/core/xmodify" targetNamespace="http://openxal.org/core/xmodify" elementFormDefault="qualified" version="1.0">
<xsd:annotation>
<xsd:appinfo>Xap Directives Reference</xsd:appinfo>
<xsd:documentation xml:lang="en"><![CDATA[
@@ -39,7 +39,7 @@
contains just one Xmodify command: append<br><br>
<u>update.xal</u><br><br>
-<xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+<xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:append select="id('companyX')"><br>
<person fname="Bob" lname="Bobsky"/><br>
</xm:append><br>
@@ -68,7 +68,7 @@
command then operates on. <p>
Shown below is a valid Xmodify command set containing just 1 command: remove-element.<br><br>
- <xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+ <xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:remove-element select="/xal/rootPane/panel[1]/button"/><br>
</xm:modifications><br>
@@ -111,7 +111,7 @@
For example, here is a valid Xmodify command set containing just 1 command:
remove-element.<br><br>
-<xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+<xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:remove-element select="/xal/rootPane/panel[1]/button[1]"/><br>
</xm:modifications><br>
@@ -185,7 +185,7 @@
<br>
Here is an example:<br><br>
-<xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+<xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:insert-before select="id('somepanel')"><br>
<panel id="mypanel"/><br>
</xm:insert-before><br>
@@ -228,7 +228,7 @@
<br>
Here is an example:<br><br>
-<xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+<xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:insert-after select="id('somepanel')"><br>
<panel id="mypanel"/><br>
</xm:insert-after><br>
@@ -274,7 +274,7 @@
Here is an example:<br><br>
-<xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+<xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:append select="id('mywindow')"><br>
<panel id="mypanel"/><br>
</xm:append><br>
@@ -318,7 +318,7 @@
Here is an example:<br><br>
-<xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+<xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:replace select="id('oldWindow')"><br>
<window id="someOtherWindow"/><br>
</xm:replace><br>
@@ -339,7 +339,7 @@
A sample set-attribute command element looks like: <br><br>
-<xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+<xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:set-attribute select="/xal/rootPane/panel[1]/button"><br>
<xm:attribute name="myattr1" value="somevalue1"/><br>
<xm:attribute name="myattr2" value="somevalue2"/><br>
@@ -372,7 +372,7 @@
A sample remove-element command element looks like the following: <br><br>
-<xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+<xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:remove-element select="/xal/rootPane/panel[1]/button[1]"/><br>
</xm:modifications><br><br>
@@ -397,7 +397,7 @@
A sample remove-attribute command element looks like the following: <br><br>
-<xm:modifications version="1.0" xmlns:xm="http://www.openxal.org/xmodify" document="mydocument"><br>
+<xm:modifications version="1.0" xmlns:xm="http://openxal.org/core/xmodify" document="mydocument"><br>
<xm:remove-attribute select="/window/button[1]/@text"/><br>
</xm:modifications><br><br>
Modified: incubator/xap/trunk/src/xap/bridges/dojo/ColumnBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/ColumnBridge.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/ColumnBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/ColumnBridge.js Thu Nov 16 17:46:22 2006
@@ -51,11 +51,12 @@
}
-/**
- * No new dynamic attributes
- */
xap.bridges.dojo.ColumnBridge.prototype.getNewAllowedAttributes = function(){
- return [];
+ return ['dataType'];
+}
+
+xap.bridges.dojo.ColumnBridge.prototype.setDataTypeAttribute = function( value ){
+ this.getPeer()._dataType = value;
}
xap.bridges.dojo.ColumnBridge.prototype.addChild = function(childHandler, index){
Modified: incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/data/DataNamespaceHandler.js Thu Nov 16 17:46:22 2006
@@ -148,7 +148,7 @@
// TODO All of this
};
xap.data.DataNamespaceHandler.prototype.pluginLoaded = function (session) {
- session.getNamespaceHandlerManager().addHandler("http://www.openxal.org/data", this);
+ session.getNamespaceHandlerManager().addHandler("http://openxal.org/core/data", this);
this._session = session;
// Originally in DataPlugin
Modified: incubator/xap/trunk/src/xap/macro/MacroNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/macro/MacroNamespaceHandler.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/macro/MacroNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/macro/MacroNamespaceHandler.js Thu Nov 16 17:46:22 2006
@@ -44,7 +44,7 @@
xap.macro.MacroNamespaceHandler.prototype.pluginLoaded = function( session ){
- session.getNamespaceHandlerManager().addHandler("http://www.openxal.org/macro", this);
+ session.getNamespaceHandlerManager().addHandler("http://openxal.org/core/macro", this);
this._session = session;
}
Modified: incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/mco/McoNamespaceHandler.js Thu Nov 16 17:46:22 2006
@@ -48,7 +48,7 @@
//-----------------------------------------------------------------------
xap.mco.McoNamespaceHandler.prototype.pluginLoaded = function( session ){
- session.getNamespaceHandlerManager().addHandler("http://www.openxal.org/mco", this);
+ session.getNamespaceHandlerManager().addHandler("http://openxal.org/core/mco", this);
this._session = session;
}
Modified: incubator/xap/trunk/src/xap/taghandling/plugin.xml
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/taghandling/plugin.xml?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/taghandling/plugin.xml (original)
+++ incubator/xap/trunk/src/xap/taghandling/plugin.xml Thu Nov 16 17:46:22 2006
@@ -1,6 +1,6 @@
<plugin>
- <tag-mappings namespace="http://www.openxal.org/xinclude" document="xal">
+ <tag-mappings namespace="http://openxal.org/core/xinclude" document="xal">
<mapping class="xap.bridges.basic.XInclude" name="include"/>
</tag-mappings>
@@ -8,7 +8,7 @@
<!-- IMPORTANT move data stuff to separate mapping file -->
<!-- Data-source mappings: -->
- <tag-mappings namespace="http://www.openxal.org/data" document="dataSources">
+ <tag-mappings namespace="http://openxal.org/core/data" document="dataSources">
<mapping class="xap.data.bridge.ObjectDataSourceBridge" name="objectDataSource"/>
<mapping class="xap.data.bridge.JavascriptDataSourceBridge" name="javascriptDataSource"/>
<mapping class="xap.data.bridge.SimpleDocumentDataSourceBridge" name="documentDataSource"/>
@@ -16,19 +16,19 @@
</tag-mappings>
<!-- binding -->
- <tag-mappings namespace="http://www.openxal.org/data" document="bindings">
+ <tag-mappings namespace="http://openxal.org/core/data" document="bindings">
<mapping class="xap.data.bridge.BindingBridge"
name="binding"/>
</tag-mappings>
<!-- mappings that apply to the ui document -->
- <tag-mappings namespace="http://www.openxal.org/data">
+ <tag-mappings namespace="http://openxal.org/core/data">
<mapping class="xap.data.bridge.IteratorBridge"
name="iterator"/>
</tag-mappings>
<!-- mappings that apply to the document named "formatters" -->
- <tag-mappings namespace="http://www.openxal.org/data" document="formatters">
+ <tag-mappings namespace="http://openxal.org/core/data" document="formatters">
<mapping name="formatter"
class="xap.data.bridge.FormatterBridge"
/>
@@ -46,7 +46,7 @@
<!-- default mappings -->
- <tag-mappings namespace="http://www.openxal.org/xal" document="xal">
+ <tag-mappings namespace="http://openxal.org/ui" document="xal">
<mapping class="xap.bridges.basic.HtmlHostBridge" name="htmlHost"/>
<mapping class="xap.bridges.basic.DefsBridge" name="defs"/>
@@ -61,6 +61,66 @@
<mapping class="xap.bridges.xap.ListItemBridge" name="listItem"/>
+
+ <mapping class="xap.bridges.dojo.SplitPaneBridge" name="splitPane"/>
+ <mapping class="xap.bridges.dojo.SplitChildBridge" name="top"/>
+ <mapping class="xap.bridges.dojo.SplitChildBridge" name="left"/>
+ <mapping class="xap.bridges.dojo.SecondSplitChildBridge" name="bottom"/>
+ <mapping class="xap.bridges.dojo.SecondSplitChildBridge" name="right"/>
+
+ <mapping class="xap.bridges.dojo.ScrollPaneBridge" name="scrollPane"/>
+ <mapping class="xap.bridges.dojo.DesktopPaneBridge" name="desktopPane"/>
+ <mapping class="xap.bridges.dojo.DesktopPaneBridge" name="rootPane"/>
+
+ <mapping class="xap.bridges.dojo.TableBridge" name="table"/>
+ <mapping class="xap.bridges.dojo.TabPaneBridge" name="tabPane"/>
+ <mapping class="xap.bridges.dojo.TabBridge" name="tab"/>
+ <mapping class="xap.bridges.dojo.FreePanelBridge" name="freePane"/>
+ <mapping class="xap.bridges.dojo.VerticalPanelBridge" name="verticalBoxPane"/>
+ <mapping class="xap.bridges.dojo.HorizontalPanelBridge" name="horizontalBoxPane"/>
+ <mapping class="xap.bridges.dojo.BorderPanelBridge" name="borderPane"/>
+ <mapping class="xap.bridges.dojo.TextFieldBridge" name="textField"/>
+ <mapping class="xap.bridges.dojo.PasswordFieldBridge" name="passwordField"/>
+ <mapping class="xap.bridges.dojo.TextAreaBridge" name="textArea"/>
+ <mapping class="xap.bridges.dojo.TableBridge" name="table"/>
+ <mapping class="xap.bridges.dojo.RowBridge" name="row"/>
+ <mapping class="xap.bridges.dojo.ColumnBridge" name="column"/>
+ <mapping class="xap.bridges.dojo.CellBridge" name="cell"/>
+
+ <mapping class="xap.bridges.dojo.MenuItemBridge" name="menuItem"/>
+ <mapping class="xap.bridges.dojo.MenuBarBridge" name="menuBar"/>
+ <mapping class="xap.bridges.dojo.MenuBarItemBridge" name="menuBarItem"/>
+ <mapping class="xap.bridges.dojo.MenuBridge" name="menu"/>
+ <mapping class="xap.bridges.dojo.HorizontalSeparatorBridge" name="horizontalSeparator"/>
+
+ <mapping class="xap.bridges.dojo.WindowBridge" name="window"/>
+
+ <mapping class="xap.bridges.dojo.HorizontalFlowPaneBridge" name="horizontalFlowPane"/>
+ <mapping class="xap.bridges.dojo.GridPanelBridge" name="gridPanel"/>
+
+ <!-- for now cell just maps to label and header to button -->
+
+ <mapping class="xap.bridges.xap.ButtonBridge" name="header"/>
+
+ </tag-mappings>
+
+
+ <!-- IMPORTANT make it so the two namespaces can be space
+ separated instead of listing them twice -->
+ <tag-mappings namespace="http://openxal.org/ui/html" document="xal">
+ <mapping class="xap.bridges.basic.HtmlHostBridge" name="htmlHost"/>
+
+ <mapping class="xap.bridges.basic.DefsBridge" name="defs"/>
+ <mapping class="xap.bridges.basic.TextViewBridge" name="textView"/>
+
+ <mapping class="xap.bridges.xap.LabelBridge" name="label"/>
+ <mapping class="xap.bridges.xap.ButtonBridge" name="button"/>
+ <mapping class="xap.bridges.xap.CheckboxBridge" name="checkBox"/>
+ <mapping class="xap.bridges.xap.RadioButtonBridge" name="radioButton"/>
+ <mapping class="xap.bridges.xap.XapComboBoxBridge" name="comboBox"/>
+ <mapping class="xap.bridges.xap.ListBoxBridge" name="listBox"/>
+ <mapping class="xap.bridges.xap.ListItemBridge" name="listItem"/>
+
<mapping class="xap.bridges.dojo.SplitPaneBridge" name="splitPane"/>
<mapping class="xap.bridges.dojo.SplitChildBridge" name="top"/>
Modified: incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js Thu Nov 16 17:46:22 2006
@@ -498,9 +498,6 @@
//value to sort by
row._sortValue = parseFloat(sortValue);
}
- else if (dataType=='integer'){
- row._sortValue = parseInt(sortValue);
- }
else{
row._sortValue = sortValue;
}
@@ -544,6 +541,8 @@
},
_sortNumbersFunction: function(a, b){
+ var aVal = a._sortValue;
+ var bVal = b._sortValue;
if (aVal==bVal) return 0;
if (aVal<bVal) return -1;
return 1;
Modified: incubator/xap/trunk/src/xap/xml/NamespaceHandlerManager.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/NamespaceHandlerManager.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/xml/NamespaceHandlerManager.js (original)
+++ incubator/xap/trunk/src/xap/xml/NamespaceHandlerManager.js Thu Nov 16 17:46:22 2006
@@ -71,7 +71,9 @@
try {
handler.receiveDispatch( element );
} catch ( e ) {
- xap.xml.NamespaceHandlerManager.s_log.debug( "xap.xml.NamespaceHandler.dispatch:" + e );
+ if (xap.xml.NamespaceHandlerManager.s_log.isDebug()){
+ xap.xml.NamespaceHandlerManager.s_log.debug( "xap.xml.NamespaceHandler.dispatch:" + e );
+ }
throw new xap.xml.sax.ParserException(
xap.xml.sax.ParserException.NAMESPACE_HANDLER_FAILURE,
new Array( handler + " " + element.getNamespaceUri(), "-1", "-1" ),
Modified: incubator/xap/trunk/src/xap/xml/XalNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/XalNamespaceHandler.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/xml/XalNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/xml/XalNamespaceHandler.js Thu Nov 16 17:46:22 2006
@@ -60,7 +60,8 @@
xap.xml.XalNamespaceHandler.prototype.pluginLoaded = function( session ){
- session.getNamespaceHandlerManager().addHandler("http://www.openxal.org/xal", this);
+ session.getNamespaceHandlerManager().addHandler("http://openxal.org/ui", this);
+ session.getNamespaceHandlerManager().addHandler("http://openxal.org/ui/html", this);
this._session = session;
}
@@ -73,7 +74,9 @@
* @throws UpdateException
*/
xap.xml.XalNamespaceHandler.prototype.receiveDispatch = function( element ) {
- xap.xml.XalNamespaceHandler.s_log.debug("receiveDispatch:" + element);
+ if (xap.xml.XalNamespaceHandler.s_log.isDebug){
+ xap.xml.XalNamespaceHandler.s_log.debug("receiveDispatch:" + element);
+ }
//get the root and just append to it
var uiDocument = this._session.getDocumentContainer().getUiDocument();
Modified: incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/CommandDirective.js Thu Nov 16 17:46:22 2006
@@ -945,7 +945,7 @@
var parentElement = targetNodes[i] ;
//create the element and add it to the document
- var hostElement = uiDocument.createElement("htmlHost", "http://www.openxal.org/xal", null);
+ var hostElement = uiDocument.createElement("htmlHost", "http://openxal.org/ui", null);
hostElement = uiDocument.getRootElement().appendChild(hostElement);
//get the handler and set up the peer.
Modified: incubator/xap/trunk/src/xap/xml/xmodify/XmodifyNamespaceHandler.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/XmodifyNamespaceHandler.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/XmodifyNamespaceHandler.js (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/XmodifyNamespaceHandler.js Thu Nov 16 17:46:22 2006
@@ -43,7 +43,7 @@
xap.xml.xmodify.XmodifyNamespaceHandler.prototype.pluginLoaded = function( session ){
- session.getNamespaceHandlerManager().addHandler("http://www.openxal.org/xmodify", this);
+ session.getNamespaceHandlerManager().addHandler("http://openxal.org/core/xmodify", this);
this._session = session;
}
Modified: incubator/xap/trunk/src/xap/xml/xmodify/commands.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/xml/xmodify/commands.xal?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/src/xap/xml/xmodify/commands.xal (original)
+++ incubator/xap/trunk/src/xap/xml/xmodify/commands.xal Thu Nov 16 17:46:22 2006
@@ -1,5 +1,5 @@
-<xal xmlns="http://www.openxal.org/xal">
- <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
+<xal xmlns="http://openxal.org/ui">
+ <xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:append select="/xal">
<button id="x" text="x" bgColor="#FF0000" x="100px" y="100px"
Modified: incubator/xap/trunk/testsrc/xap/xml/_TestParser.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xml/_TestParser.html?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xml/_TestParser.html (original)
+++ incubator/xap/trunk/testsrc/xap/xml/_TestParser.html Thu Nov 16 17:46:22 2006
@@ -140,14 +140,14 @@
try{
var doc = createDoc(COMPOUND_NAMESPACE);
- assertTrue("Compound Namespaces: Make sure the root element has a namespace of http://www.openxal.org/xal.",
- doc.getRootElement().getNamespaceUri() == "http://www.openxal.org/xal");
+ assertTrue("Compound Namespaces: Make sure the root element has a namespace of http://openxal.org/ui.",
+ doc.getRootElement().getNamespaceUri() == "http://openxal.org/ui");
assertTrue("Compound Namespaces: Make sure the root element has a prefix of \"\".",
doc.getRootElement().getPrefix() == "");
- assertTrue("Compound Namespaces: Make sure the root element has a namespace of http://www.openxal.org/xmodify.",
- doc.getRootElement().childNodes[0].getNamespaceUri() == "http://www.openxal.org/xmodify");
+ assertTrue("Compound Namespaces: Make sure the root element has a namespace of http://openxal.org/core/xmodify.",
+ doc.getRootElement().childNodes[0].getNamespaceUri() == "http://openxal.org/core/xmodify");
assertTrue("Compound Namespaces: Make sure the root element has a prefix of \"\".",
doc.getRootElement().childNodes[0].getPrefix() == "xm");
Modified: incubator/xap/trunk/testsrc/xap/xml/parserTestStrings.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xml/parserTestStrings.js?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xml/parserTestStrings.js (original)
+++ incubator/xap/trunk/testsrc/xap/xml/parserTestStrings.js Thu Nov 16 17:46:22 2006
@@ -171,8 +171,8 @@
"</pre:Root>\n";
-COMPOUND_NAMESPACE = "<xal xmlns=\"http://www.openxal.org/xal\" xmlns:xal=\"http://www.openxal.org/xal\">\n" +
-"<xm:modifications xmlns:xm=\"http://www.openxal.org/xmodify\">\n" +
+COMPOUND_NAMESPACE = "<xal xmlns=\"http://openxal.org/ui\" xmlns:xal=\"http://openxal.org/ui\">\n" +
+"<xm:modifications xmlns:xm=\"http://openxal.org/core/xmodify\">\n" +
"<xm:append select=\"/xal\">\n" +
"<verticalPanel backgroundColor=\"#EEE\" align=\"stretch\" width=\"800px\" height=\"600px\" fontSize=\"11px\" fontFamily=\"Arial\">\n" +
"</verticalPanel>\n" +
Modified: incubator/xap/trunk/testsrc/xap/xmodify/xmodify.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xmodify/xmodify.xal?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xmodify/xmodify.xal (original)
+++ incubator/xap/trunk/testsrc/xap/xmodify/xmodify.xal Thu Nov 16 17:46:22 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<xal xmlns="http://www.openxal.org/xal" xmlns:xm="http://www.openxal.org/xmodify">
+<xal xmlns="http://openxal.org/ui" xmlns:xm="http://openxal.org/core/xmodify">
<xm:modifications>
<xm:append select="/xal">
<button id="button" bgColor="#FF0000" height="100px" text="x" width="100px" x="100px"
Modified: incubator/xap/trunk/testsrc/xap/xmodify/xmodifyHTML.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xmodify/xmodifyHTML.xal?view=diff&rev=476025&r1=476024&r2=476025
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xmodify/xmodifyHTML.xal (original)
+++ incubator/xap/trunk/testsrc/xap/xmodify/xmodifyHTML.xal Thu Nov 16 17:46:22 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<xal xmlns="http://www.openxal.org/xal" xmlns:xm="http://www.openxal.org/xmodify">
+<xal xmlns="http://openxal.org/ui" xmlns:xm="http://openxal.org/core/xmodify">
<xm:modifications document="html">
<!--
Macro will change the text of all input fields in the browser to Yeppie!