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/09/03 22:47:01 UTC
svn commit: r439866 [2/2] - /incubator/xap/trunk/WebContent/examples/widgets/
Modified: incubator/xap/trunk/WebContent/examples/widgets/textArea.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/textArea.xal?view=diff&rev=439866&r1=439865&r2=439866
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/textArea.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/textArea.xal Sun Sep 3 15:47:00 2006
@@ -1,4 +1,4 @@
-<xal xmlns="http://www.openxal.org/xal" xmlns:dojo="http://www.dojotoolkit.org/">
+<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
<mco:mco
@@ -12,13 +12,13 @@
<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
<xm:append select="/xal">
- <dojo:textArea width="200px" text="A text field"
+ <xal:textArea width="200px" text="A text field"
id="testComponent" onEdit="mco:attributeSetter.reportEvent(event)"
/>
<!-- button specific properties -->
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="text -> 'some new text'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'text','some new text')"/>
@@ -28,51 +28,51 @@
<!--standard test things -->
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="print element"
onCommand="mco:attributeSetter.printElement(testComponent)"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="borderWidth -> '25'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'borderWidth' ,'25')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="borderStyle -> 'solid'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'borderStyle' ,'solid')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="borderColor -> 'red'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'borderColor' ,'red')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="width -> '300px'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'width' ,'300px')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="height -> '300px'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'height' ,'300px')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="fontWeight -> 'bold'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'fontWeight' ,'bold')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="backgroundColor -> 'green'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'backgroundColor' ,'green')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="color -> 'red'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'color' ,'red')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="fontSize-> '24'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'fontSize' ,'24')"/>
Modified: incubator/xap/trunk/WebContent/examples/widgets/textField.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/textField.xal?view=diff&rev=439866&r1=439865&r2=439866
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/textField.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/textField.xal Sun Sep 3 15:47:00 2006
@@ -1,4 +1,4 @@
-<xal xmlns="http://www.openxal.org/xal" xmlns:dojo="http://www.dojotoolkit.org/">
+<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
<mco:mco
@@ -12,13 +12,13 @@
<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
<xm:append select="/xal">
- <dojo:textField width="200px" text="A text field"
+ <xal:textField width="200px" text="A text field"
id="testComponent" onEdit="mco:attributeSetter.reportEvent(event)"
/>
<!-- button specific properties -->
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="text -> 'some new text'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'text','some new text')"/>
@@ -28,51 +28,51 @@
<!--standard test things -->
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="print element"
onCommand="mco:attributeSetter.printElement(testComponent)"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="borderWidth -> '25'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'borderWidth' ,'25')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="borderStyle -> 'solid'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'borderStyle' ,'solid')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="borderColor -> 'red'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'borderColor' ,'red')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="width -> '300px'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'width' ,'300px')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="height -> '300px'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'height' ,'300px')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="fontWeight -> 'bold'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'fontWeight' ,'bold')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="backgroundColor -> 'green'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'backgroundColor' ,'green')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="color -> 'red'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'color' ,'red')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="fontSize-> '24'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'fontSize' ,'24')"/>
Modified: incubator/xap/trunk/WebContent/examples/widgets/verticalPanel.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/verticalPanel.xal?view=diff&rev=439866&r1=439865&r2=439866
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/verticalPanel.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/verticalPanel.xal Sun Sep 3 15:47:00 2006
@@ -1,4 +1,4 @@
-<xal xmlns="http://www.openxal.org/xal" xmlns:dojo="http://www.dojotoolkit.org/">
+<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
<mco:mco
@@ -12,57 +12,57 @@
<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
<xm:append select="/xal">
- <dojo:verticalPanel width="200px" height="200px" backgroundColor="black"
+ <xal:verticalPanel width="200px" height="200px" backgroundColor="black"
id="testComponent">
- <dojo:freePanel width="100px" height="20px" backgroundColor="red"/>
- <dojo:freePanel width="100px" height="20px" backgroundColor="green" id="referenceComponent"/>
- <dojo:freePanel width="100px" height="20px" backgroundColor="blue"/>
- </dojo:verticalPanel>
+ <xal:freePanel width="100px" height="20px" backgroundColor="red"/>
+ <xal:freePanel width="100px" height="20px" backgroundColor="green" id="referenceComponent"/>
+ <xal:freePanel width="100px" height="20px" backgroundColor="blue"/>
+ </xal:verticalPanel>
<!-- container tests -->
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="pack -> end"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'pack' ,'end')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="pack -> start"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'pack' ,'start')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="pack -> center"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'pack' ,'center')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="align -> center"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'align' ,'center')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="align -> start"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'align' ,'start')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="align -> end"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'align' ,'end')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="align -> stretch"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'align' ,'stretch')"/>
<!-- container tests -->
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="insert before"
onCommand="mco:attributeSetter.insertBefore(referenceComponent)"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="remove"
onCommand="mco:attributeSetter.remove(referenceComponent)"/>
@@ -73,51 +73,51 @@
<!--standard test things -->
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="print element"
onCommand="mco:attributeSetter.printElement(testComponent)"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="borderWidth -> '25'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'borderWidth' ,'25')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="borderStyle -> 'solid'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'borderStyle' ,'solid')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="borderColor -> 'red'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'borderColor' ,'red')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="width -> '300px'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'width' ,'300px')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="height -> '300px'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'height' ,'300px')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="fontWeight -> 'bold'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'fontWeight' ,'bold')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="backgroundColor -> 'green'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'backgroundColor' ,'green')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="color -> 'red'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'color' ,'red')"/>
- <dojo:button width="200px" height="25px"
+ <xal:button width="200px" height="25px"
text="fontSize-> '24'"
onCommand="mco:attributeSetter.setAttribute(testComponent,
'fontSize' ,'24')"/>
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=439866&r1=439865&r2=439866
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/verticalPanelExample.xal Sun Sep 3 15:47:00 2006
@@ -1,4 +1,4 @@
-<xal xmlns="http://www.openxal.org/xal" xmlns:dojo="http://www.dojotoolkit.org/">
+<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
<mco:mco
@@ -12,47 +12,47 @@
<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
<xm:append select="/xal">
- <dojo:freePanel width="800px" height="800px">
+ <xal:freePanel width="800px" height="800px">
- <dojo:verticalPanel width="200px" height="200px" borderWidth="1" borderStyle="solid" borderColor="black">
+ <xal:verticalPanel width="200px" height="200px" borderWidth="1" borderStyle="solid" borderColor="black">
- <dojo:freePanel width="100" height="20" backgroundColor="red"/>
- <dojo:freePanel width="100" height="20" backgroundColor="green"/>
- <dojo:freePanel width="100" height="20" backgroundColor="blue"/>
+ <xal:freePanel width="100" height="20" backgroundColor="red"/>
+ <xal:freePanel width="100" height="20" backgroundColor="green"/>
+ <xal:freePanel width="100" height="20" backgroundColor="blue"/>
- </dojo:verticalPanel >
+ </xal:verticalPanel >
- <dojo:verticalPanel x="250px" width="200px" height="200px" borderWidth="1" borderStyle="solid" borderColor="black" pack="end">
+ <xal:verticalPanel x="250px" width="200px" height="200px" borderWidth="1" borderStyle="solid" borderColor="black" pack="end">
- <dojo:freePanel width="100" height="20" backgroundColor="red"/>
- <dojo:freePanel width="100" height="20" backgroundColor="green"/>
- <dojo:freePanel width="100" height="20" backgroundColor="blue"/>
+ <xal:freePanel width="100" height="20" backgroundColor="red"/>
+ <xal:freePanel width="100" height="20" backgroundColor="green"/>
+ <xal:freePanel width="100" height="20" backgroundColor="blue"/>
- </dojo:verticalPanel >
+ </xal:verticalPanel >
- <dojo:verticalPanel y="250px" width="200px" height="200px" borderWidth="1" borderStyle="solid" borderColor="black" align="stretch">
+ <xal:verticalPanel y="250px" width="200px" height="200px" borderWidth="1" borderStyle="solid" borderColor="black" align="stretch">
- <dojo:freePanel width="100" height="20" backgroundColor="red"/>
- <dojo:freePanel width="100" height="20" backgroundColor="green"/>
- <dojo:freePanel width="100" height="20" backgroundColor="blue"/>
+ <xal:freePanel width="100" height="20" backgroundColor="red"/>
+ <xal:freePanel width="100" height="20" backgroundColor="green"/>
+ <xal:freePanel width="100" height="20" backgroundColor="blue"/>
- </dojo:verticalPanel >
+ </xal:verticalPanel >
- <dojo:verticalPanel x="250px" y="250px" width="200px" height="200px" borderWidth="1" borderStyle="solid" borderColor="black" align="end">
+ <xal:verticalPanel x="250px" y="250px" width="200px" height="200px" borderWidth="1" borderStyle="solid" borderColor="black" align="end">
- <dojo:freePanel width="100" height="20" backgroundColor="red"/>
- <dojo:freePanel width="100" height="20" backgroundColor="green"/>
- <dojo:freePanel width="100" height="20" backgroundColor="blue"/>
+ <xal:freePanel width="100" height="20" backgroundColor="red"/>
+ <xal:freePanel width="100" height="20" backgroundColor="green"/>
+ <xal:freePanel width="100" height="20" backgroundColor="blue"/>
- </dojo:verticalPanel >
+ </xal:verticalPanel >
- </dojo:freePanel>
+ </xal:freePanel>
</xm:append>