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 2007/05/21 22:38:49 UTC
svn commit: r540333 - in
/incubator/xap/trunk/samples/WebContent/examples/widgets:
images/tree_folderclosed_alt.gif images/tree_folderopen_alt.gif
includes/standardButtons.xal includes/tableButtons.xal table.xal tree.xal
treeTable.xal
Author: jmargaris
Date: Mon May 21 15:38:48 2007
New Revision: 540333
URL: http://svn.apache.org/viewvc?view=rev&rev=540333
Log:
https://issues.apache.org/jira/browse/XAP-440
Added:
incubator/xap/trunk/samples/WebContent/examples/widgets/images/tree_folderclosed_alt.gif (with props)
incubator/xap/trunk/samples/WebContent/examples/widgets/images/tree_folderopen_alt.gif (with props)
incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal (with props)
Modified:
incubator/xap/trunk/samples/WebContent/examples/widgets/includes/standardButtons.xal
incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal
incubator/xap/trunk/samples/WebContent/examples/widgets/tree.xal
incubator/xap/trunk/samples/WebContent/examples/widgets/treeTable.xal
Added: incubator/xap/trunk/samples/WebContent/examples/widgets/images/tree_folderclosed_alt.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/images/tree_folderclosed_alt.gif?view=auto&rev=540333
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/samples/WebContent/examples/widgets/images/tree_folderclosed_alt.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/xap/trunk/samples/WebContent/examples/widgets/images/tree_folderopen_alt.gif
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/images/tree_folderopen_alt.gif?view=auto&rev=540333
==============================================================================
Binary file - no diff available.
Propchange: incubator/xap/trunk/samples/WebContent/examples/widgets/images/tree_folderopen_alt.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: incubator/xap/trunk/samples/WebContent/examples/widgets/includes/standardButtons.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/includes/standardButtons.xal?view=diff&rev=540333&r1=540332&r2=540333
==============================================================================
--- incubator/xap/trunk/samples/WebContent/examples/widgets/includes/standardButtons.xal (original)
+++ incubator/xap/trunk/samples/WebContent/examples/widgets/includes/standardButtons.xal Mon May 21 15:38:48 2007
@@ -17,8 +17,7 @@
-
-->
-<verticalBoxPane width="500px" xmlns="http://openxal.org/ui" align="left" fontSize="14px"
- backgroundColor="#EEEEEE">
+<verticalBoxPane width="500px" xmlns="http://openxal.org/ui" align="left" fontSize="14px" backgroundColor="#EEEEEE" padding="10px">
<label height="25px" text="Standard tests:" fontWeight="bold"/>
<horizontalBoxPane width="500px">
Added: incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal?view=auto&rev=540333
==============================================================================
--- incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal (added)
+++ incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal Mon May 21 15:38:48 2007
@@ -0,0 +1,112 @@
+<!--
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements. See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership. The ASF licenses this file
+ - to you under the Apache License, Version 2.0 (the
+ - "License"); you may not use this file except in compliance
+ - with the License. You may obtain a copy of the License at
+ -
+ - http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing, software
+ - distributed under the License is distributed on an "AS IS" BASIS,
+ - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ - See the License for the specific language governing permissions and
+ - limitations under the License.
+ -
+-->
+
+<verticalBoxPane width="500px" xmlns="http://openxal.org/ui" align="left" fontSize="14px" backgroundColor="#EEEEEE" padding="10px">
+
+ <label height="25px" text="Table-specific tests:" fontWeight="bold"/>
+
+ <horizontalBoxPane width="500px">
+ <label width="200px" padding="3px 0px 0px 0px" text="altColor"/>
+ <radioButton group="altColor" width="75px" text="red"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="altColor" width="75px" text="#33cccc"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="altColor" width="75px" text="(none)"
+ onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+ </horizontalBoxPane>
+ <horizontalBoxPane width="500px">
+ <label width="200px" padding="3px 0px 0px 0px" text="altBackgroundColor"/>
+ <radioButton group="altBackgroundColor" width="75px" text="red"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="altBackgroundColor" width="75px" text="#33cccc"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="altBackgroundColor" width="75px" text="(none)"
+ onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+ </horizontalBoxPane>
+ <horizontalBoxPane width="500px">
+ <label width="200px" padding="3px 0px 0px 0px" text="highlightColor"/>
+ <radioButton group="highlightColor" width="75px" text="red"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="highlightColor" width="75px" text="#33cccc"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="highlightColor" width="75px" text="(none)"
+ onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+ </horizontalBoxPane>
+ <horizontalBoxPane width="500px">
+ <label width="200px" padding="3px 0px 0px 0px" text="highlightBackgroundColor"/>
+ <radioButton group="highlightBackgroundColor" width="75px" text="red"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="highlightBackgroundColor" width="75px" text="#33cccc"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="highlightBackgroundColor" width="75px" text="(none)"
+ onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+ </horizontalBoxPane>
+ <horizontalBoxPane width="500px">
+ <label width="200px" padding="3px 0px 0px 0px" text="horizontalLineColor"/>
+ <radioButton group="horizontalLineColor" width="75px" text="red"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="horizontalLineColor" width="75px" text="#33cccc"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="horizontalLineColor" width="75px" text="(none)"
+ onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+ </horizontalBoxPane>
+ <horizontalBoxPane width="500px">
+ <label width="200px" padding="3px 0px 0px 0px" text="verticalLineColor"/>
+ <radioButton group="verticalLineColor" width="75px" text="red"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="verticalLineColor" width="75px" text="#33cccc"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="verticalLineColor" width="75px" text="(none)"
+ onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+ </horizontalBoxPane>
+
+ <label text=" " height="25px"/>
+
+ <horizontalBoxPane width="500px">
+ <label width="200px" padding="3px 0px 0px 0px" text="collapsedImage"/>
+ <radioButton group="collapsedImage" width="150px" text="images/tree_folderclosed_alt.gif"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="collapsedImage" width="75px" text="(none)"
+ onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+ </horizontalBoxPane>
+ <horizontalBoxPane width="500px">
+ <label width="200px" padding="3px 0px 0px 0px" text="expandedImage"/>
+ <radioButton group="expandedImage" width="150px" text="images/tree_folderopen_alt.gif"
+ onSelect="mco:attributeSetter.setAttribute(testComponent, this.group, this.text)"
+ onCreate="mco:SmokeTests.addAttributeTest(this.group, this.text, this)"/>
+ <radioButton group="expandedImage" width="75px" text="(none)"
+ onSelect="mco:attributeSetter.removeAttribute(testComponent, this.group)"/>
+ </horizontalBoxPane>
+
+ <label text=" " height="25px"/>
+
+</verticalBoxPane>
Propchange: incubator/xap/trunk/samples/WebContent/examples/widgets/includes/tableButtons.xal
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal?view=diff&rev=540333&r1=540332&r2=540333
==============================================================================
--- incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal (original)
+++ incubator/xap/trunk/samples/WebContent/examples/widgets/table.xal Mon May 21 15:38:48 2007
@@ -259,14 +259,13 @@
</table>
</freePane>
</horizontalBoxPane>
- <scrollPane width="1000px" height="500px"
+ <scrollPane width="1200px" height="500px"
onCreate="mco:attributeSetter.resizeScrollPane(this, testComponentFreePane)">
<verticalBoxPane>
<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
- <verticalBoxPane width="500px">
- <label height="25px" text="Specific tests:" fontWeight="bold"/>
- <label text="None right now"/>
- </verticalBoxPane>
+ <!--table-specific test things -->
+ <include href="includes/tableButtons.xal"
+ xmlns="http://openxal.org/core/xinclude"/>
<!--standard test things -->
<include href="includes/standardButtons.xal"
xmlns="http://openxal.org/core/xinclude"/>
Modified: incubator/xap/trunk/samples/WebContent/examples/widgets/tree.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/tree.xal?view=diff&rev=540333&r1=540332&r2=540333
==============================================================================
--- incubator/xap/trunk/samples/WebContent/examples/widgets/tree.xal (original)
+++ incubator/xap/trunk/samples/WebContent/examples/widgets/tree.xal Mon May 21 15:38:48 2007
@@ -108,11 +108,11 @@
<macro:macro id="branch" xmlns:macro="http://openxal.org/core/macro">
<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
- <xm:append select="id('testComponent')">
- <row>
- <cell text="New Cell 1"/>
- <cell text="New Cell 2"/>
- <cell text="New Cell 3"/>
+ <xm:append select="id('testComponent')">
+ <row>
+ <cell text="New Cell 1"/>
+ <cell text="New Cell 2"/>
+ <cell text="New Cell 3"/>
<row>
<cell text="depth 3 a"/>
<cell text="depth 3 b"/>
@@ -202,10 +202,9 @@
onCreate="mco:attributeSetter.resizeScrollPane(this, testComponentFreePane)">
<verticalBoxPane>
<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
- <verticalBoxPane width="500px">
- <label height="25px" text="Specific tests:" fontWeight="bold"/>
- <label text="None right now"/>
- </verticalBoxPane>
+ <!--table-specific test things -->
+ <include href="includes/tableButtons.xal"
+ xmlns="http://openxal.org/core/xinclude"/>
<!--standard test things -->
<include href="includes/standardButtons.xal"
xmlns="http://openxal.org/core/xinclude"/>
Modified: incubator/xap/trunk/samples/WebContent/examples/widgets/treeTable.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/treeTable.xal?view=diff&rev=540333&r1=540332&r2=540333
==============================================================================
--- incubator/xap/trunk/samples/WebContent/examples/widgets/treeTable.xal (original)
+++ incubator/xap/trunk/samples/WebContent/examples/widgets/treeTable.xal Mon May 21 15:38:48 2007
@@ -217,10 +217,9 @@
onCreate="mco:attributeSetter.resizeScrollPane(this, testComponentFreePane)">
<verticalBoxPane>
<horizontalBoxPane borderStyle="solid" borderWidth="2px" borderColor="#000">
- <verticalBoxPane width="500px">
- <label height="25px" text="Specific tests:" fontWeight="bold"/>
- <label text="None right now"/>
- </verticalBoxPane>
+ <!--table-specific test things -->
+ <include href="includes/tableButtons.xal"
+ xmlns="http://openxal.org/core/xinclude"/>
<!--standard test things -->
<include href="includes/standardButtons.xal"
xmlns="http://openxal.org/core/xinclude"/>