You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/04/27 13:14:46 UTC

[myfaces-tobago] branch master updated (898ed97 -> 5aaf98a)

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git.


    from 898ed97  TOBAGO-1843: Demo
     new e40e147  TOBAGO-1843: Demo
     new 9f8fc8c  TOBAGO-1843: Demo
     new 5aaf98a  TOBAGO-1843: Demo

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../webapp/content/40-test/1040-date/date.xhtml    |   3 +-
 .../date-pattern.js}                               |  79 +---
 .../40-test/1041-date-pattern/date-pattern.test.js |  88 ++++
 .../40-test/1041-date-pattern/date-pattern.xhtml   | 491 ++++++++++++++++++++
 .../content/40-test/9000-attribute/attribute.xhtml |   1 -
 .../40-test/9000-attribute/mode-valueIfSet.xhtml   | 109 -----
 .../90000-attic/button/defaultCommand.xhtml        |  35 --
 .../button/link-attribute.selenium.html            |  77 ----
 .../90000-attic/button/link-attribute.xhtml        |  31 --
 .../content/40-test/90000-attic/button/plain.html  |  22 -
 .../content/40-test/90000-attic/button/plain.xhtml |  32 --
 .../40-test/90000-attic/button/plain_de.html       |  22 -
 .../40-test/90000-attic/button/plain_de.xhtml      |  32 --
 .../40-test/90000-attic/cell/3x3-center.xhtml      |  45 --
 .../90000-attic/cell/position-4x4-span-steps.xhtml |  74 ---
 .../content/40-test/90000-attic/cell/subview.xhtml |  52 ---
 .../40-test/90000-attic/date/date-layout.xhtml     |  44 --
 .../90000-attic/date/date-tobago-1105.xhtml        |  73 ---
 .../content/40-test/90000-attic/date/date.xhtml    |  90 ----
 .../40-test/90000-attic/date/datetime.xhtml        | 497 ---------------------
 .../40-test/90000-attic/file/file-markup.xhtml     |  41 --
 .../content/40-test/90000-attic/file/file.xhtml    |  32 --
 .../flexLayout/flexLayout-horizontal.xhtml         |  34 --
 .../90000-attic/flexLayout/flexLayout-simple.xhtml |  30 --
 .../flexLayout/flexLayout-vertical.xhtml           |  37 --
 .../flowLayout/flowLayout-textAlign.xhtml          |  84 ----
 .../40-test/90000-attic/footer/footer-fixed.xhtml  |  64 ---
 .../40-test/90000-attic/footer/footer.xhtml        |  64 ---
 .../40-test/90000-attic/header/header-fixed.xhtml  |  63 ---
 .../40-test/90000-attic/header/header.xhtml        |  63 ---
 .../90000-attic/image/alphaBlendingBug.xhtml       |  58 ---
 .../40-test/90000-attic/image/disabled.xhtml       |  53 ---
 .../content/40-test/90000-attic/image/image.xhtml  |  39 --
 .../40-test/90000-attic/in/id-and-fieldId.js       |  87 ----
 .../40-test/90000-attic/in/id-and-fieldId.xhtml    | 140 ------
 .../content/40-test/90000-attic/in/in-layout.xhtml |  46 --
 .../content/40-test/90000-attic/in/in-tx.xhtml     |  42 --
 .../webapp/content/40-test/90000-attic/in/in.xhtml |  39 --
 .../40-test/90000-attic/link/link-layout.xhtml     |  60 ---
 .../40-test/90000-attic/section/section.xhtml      |  53 ---
 .../separator/separator-with-label-facet.xhtml     |  42 --
 .../separator/separator-with-label.xhtml           |  38 --
 .../separator/separator-without-label.xhtml        |  38 --
 .../90000-attic/suggest/tc-in-suggest.xhtml        |  35 --
 .../90000-attic/suggest/tx-in-suggest.xhtml        |  35 --
 .../40-test/90000-attic/text/textarea-layout.xhtml |  43 --
 .../content/40-test/90000-attic/time/time.xhtml    | 106 -----
 .../9010-mode-valueIfSet/mode-valueIfSet.test.js   |  50 +++
 .../9010-mode-valueIfSet/mode-valueIfSet.xhtml     | 105 +++++
 49 files changed, 742 insertions(+), 2776 deletions(-)
 rename tobago-example/tobago-example-demo/src/main/webapp/content/40-test/{90000-attic/date/datetime.js => 1041-date-pattern/date-pattern.js} (71%)
 create mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.test.js
 create mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9000-attribute/mode-valueIfSet.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/defaultCommand.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/link-attribute.selenium.html
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/link-attribute.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain.html
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain_de.html
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain_de.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/3x3-center.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/position-4x4-span-steps.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/subview.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date-layout.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date-tobago-1105.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/datetime.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/file/file-markup.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/file/file.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-horizontal.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-simple.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-vertical.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flowLayout/flowLayout-textAlign.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/footer/footer-fixed.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/footer/footer.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/header/header-fixed.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/header/header.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/alphaBlendingBug.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/disabled.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/image.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/id-and-fieldId.js
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/id-and-fieldId.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in-layout.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in-tx.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/link/link-layout.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/section/section.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-with-label-facet.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-with-label.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-without-label.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/suggest/tc-in-suggest.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/suggest/tx-in-suggest.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/text/textarea-layout.xhtml
 delete mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/time/time.xhtml
 create mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9010-mode-valueIfSet/mode-valueIfSet.test.js
 create mode 100644 tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9010-mode-valueIfSet/mode-valueIfSet.xhtml

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.

[myfaces-tobago] 02/03: TOBAGO-1843: Demo

Posted by lo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 9f8fc8cdc32abcb80e51034a2c499c79d0f92b04
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Fri Apr 27 15:12:08 2018 +0200

    TOBAGO-1843: Demo
    
    progress on date pattern...
---
 .../webapp/content/40-test/1040-date/date.xhtml    |   3 +-
 .../40-test/1041-date-pattern/date-pattern.js      | 113 +++++
 .../40-test/1041-date-pattern/date-pattern.test.js |  88 ++++
 .../40-test/1041-date-pattern/date-pattern.xhtml   | 491 +++++++++++++++++++++
 4 files changed, 693 insertions(+), 2 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1040-date/date.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1040-date/date.xhtml
index ec6c493..f52cce9 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1040-date/date.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1040-date/date.xhtml
@@ -19,8 +19,7 @@
 
 <ui:composition template="/main.xhtml"
                 xmlns:tc="http://myfaces.apache.org/tobago/component"
-                xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                xsi:schemaLocation="http://myfaces.apache.org/tobago/component ">
+                xmlns:ui="http://java.sun.com/jsf/facelets">
   <ui:param name="title" value="#{demoBundle.date}"/>
 
   <tc:date id="dateNoPattern"/>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.js b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.js
new file mode 100644
index 0000000..5d6efe2
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.js
@@ -0,0 +1,113 @@
+/*
+ * 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.
+ */
+
+TestDateTime = {};
+
+// TODO: to be reimplemented!!!
+
+TestDateTime.init = function () {
+
+  var panel = jQuery("#page\\:jquery_date_time_pattern");
+  var inputs = panel.find(".tobago-in, .tobago-date");
+
+  for (var i = 0; i < inputs.length; i += 5) {
+    var javaPattern = inputs.eq(i);
+    var javaFormatted = inputs.eq(i + 1);
+    var jQueryUIDatePattern = inputs.eq(i + 2);
+    var jQueryUITimePattern = inputs.eq(i + 3);
+    var jQueryUIFormatted = inputs.eq(i + 4);
+    var result = jQueryUIFormatted.next();
+
+    var pattern = javaFormatted.data("tobago-pattern");
+    javaPattern.val(pattern);
+
+    var analyzed = Tobago.DateTime.analyzePattern(pattern);
+
+    jQueryUIDatePattern.val(analyzed.dateFormat);
+    jQueryUITimePattern.val(analyzed.timeFormat);
+
+    try {
+      var javaValue = javaFormatted.val();
+      var date = null; // type: JS date
+      var time = null; // type: jQuery UI time object
+      var jQueryValue = null;
+      var i18n = javaFormatted.data("tobago-date-time-i18n");
+      switch (analyzed.type) {
+        case "datetime":
+          // todo: use moment.js
+          date = jQuery.datepicker.parseDateTime(
+              analyzed.dateFormat, analyzed.timeFormat, javaValue, i18n, {
+                separator: analyzed.separator,
+                // workaround for bug: https://github.com/trentrichardson/jQuery-Timepicker-Addon/issues/736
+                timeFormat: analyzed.timeFormat
+              }
+          );
+          time = {
+            hour: date.getHours(),
+            minute: date.getMinutes(),
+            second: date.getSeconds(),
+            millisec: date.getMilliseconds(),
+            microsec: date.getMicroseconds()
+          };
+          // todo: use moment.js
+          jQueryValue
+              = jQuery.datepicker.formatDate(analyzed.dateFormat, date, i18n)
+              + analyzed.separator
+              + jQuery.datepicker.formatTime(analyzed.timeFormat, time, i18n);
+          break;
+        case "date":
+          // todo: use moment.js
+          date = jQuery.datepicker.parseDate(analyzed.dateFormat, javaValue, i18n);
+          jQueryValue = jQuery.datepicker.formatDate(analyzed.dateFormat, date, i18n);
+          break;
+        case "time":
+          // todo: use moment.js
+          time = jQuery.datepicker.parseTime(analyzed.timeFormat, javaValue, i18n);
+          jQueryValue = jQuery.datepicker.formatTime(analyzed.timeFormat, time, i18n);
+          break;
+        default:
+          console.error("invalid: not date-pattern nor time-pattern");  // @DEV_ONLY
+          jQueryValue = "no type";
+      }
+      jQueryUIFormatted.val(jQueryValue);
+
+    } catch (e) {
+      console.error(e);
+    }
+
+    if (javaFormatted.val() !== jQueryUIFormatted.val()) {
+      jQueryUIFormatted.addClass("tobago-in-markup-error");
+
+      if (javaPattern.hasClass("tobago-in-markup-error")) {
+        result.addClass("tobago-label-markup-warn");
+        result.html("java pattern broken");
+      } else {
+        result.addClass("tobago-label-markup-error");
+        result.html("pattern conversion failed");
+      }
+    } else {
+      result.addClass("tobago-label-markup-info");
+      if (javaPattern.hasClass("tobago-in-markup-error")) {
+        result.html("fixed");
+      } else {
+        result.html("okay");
+      }
+    }
+  }
+};
+
+Tobago.registerListener(TestDateTime.init, Tobago.Phase.DOCUMENT_READY);
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.test.js b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.test.js
new file mode 100644
index 0000000..ae7c2b2
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.test.js
@@ -0,0 +1,88 @@
+/*
+ * 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.
+ */
+
+QUnit.test("test patterns", function (assert) {
+
+  assert.ok(false);
+  TestDateTime.testDate();
+  TestDateTime.testTime();
+  TestDateTime.testBoth();
+});
+
+
+TestDateTime.testDate = function () {
+
+  var date;
+  var format = "dd.mm.yy";
+  var initial = "13.05.2014";
+  var result;
+
+  date = moment(initial, format);
+  result = moment(date).format(format);
+
+  if (result !== initial) {
+    console.error("Error!");
+  } else {
+    console.info("Okay!");
+  }
+
+};
+
+TestDateTime.testTime = function () {
+
+  var date;
+  var format = "HH:mm:ss";
+  var initial = "14:06:55";
+  var result;
+
+  date = moment(initial, format);
+  result = moment(date).format(format);
+
+  if (result !== initial) {
+    console.error("Error!");
+  } else {
+    console.info("Okay!");
+  }
+
+};
+
+TestDateTime.testBoth = function () {
+
+  var date, dateT;
+  var formatD = "dd.mm.yy";
+  var formatT = "HH:mm:ss";
+  var initial = "13.05.2014 13:05:55";
+  var result;
+  var separator = " ";
+
+  date = moment(initial, formatD + ' ' +  formatT);
+  dateT = {
+    hour: date.getHours(),
+    minute: date.getMinutes(),
+    second: date.getSeconds(),
+    millisec: date.getMilliseconds(),
+    microsec: date.getMicroseconds()
+  };
+  result = moment(date).format(formatD) + separator + jQuery.datepicker.formatTime(formatT, dateT);
+
+  if (result !== initial) {
+    console.error("Error!");
+  } else {
+    console.info("Okay!");
+  }
+
+};
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.xhtml
new file mode 100644
index 0000000..c6e29da
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/1041-date-pattern/date-pattern.xhtml
@@ -0,0 +1,491 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * 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.
+-->
+
+<f:view
+    locale="DE"
+    xmlns:tc="http://myfaces.apache.org/tobago/component"
+    xmlns:f="http://java.sun.com/jsf/core">
+
+  <tc:page id="page">
+
+    <tc:script file="date-pattern.js"/>
+
+    <tc:section label="TODO"></tc:section>
+
+    <tc:gridLayout id="jquery_date_time_pattern" columns="2fr 2fr 2fr 1fr 1fr 2fr 2fr">
+
+      <tc:label value="Name"/>
+      <tc:label value="Java Pattern"/>
+      <tc:label value="Java Formatted"/>
+      <tc:label value="jQuery UI Pattern">
+        <tc:gridLayoutConstraint columnSpan="2"/>
+      </tc:label>
+      <tc:label value="jQuery UI Formatted"/>
+      <tc:label value="Result"/>
+
+      <tc:label value="Comment"/>
+      <tc:out value="Error means, that the pattern that comes from the server is invalid.
+    This is defined manually on the page."/>
+      <tc:out/>
+      <tc:out value="date"/>
+      <tc:out value="time"/>
+      <tc:out value="Error means, that the date parsed and formatted is unequal to the original.
+    The error state is computed with the JS functions."/>
+      <tc:out/>
+
+      <!-- y - year -->
+
+      <tc:label value="1 y (wrong, but fixable)"/>
+      <tc:in readonly="true" markup="error"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd.MM.y"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="2 y"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd.MM.yy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="3 y (wrong, but fixable)"/>
+      <tc:in readonly="true" markup="error"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd.MM.yyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="4 y"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="5 y (can't fix)"/>
+      <tc:in readonly="true" markup="error"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd.MM.yyyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="6 y (can't fix)"/>
+      <tc:in readonly="true" markup="error"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd.MM.yyyyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <!-- M - month -->
+
+      <tc:label value="1 M"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd.M.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="2 M"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="3 M"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd. MMM yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="4 M"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd. MMMM yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="5 M"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd. MMMMM yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <!-- L - month (stand alone) -->
+
+      <!--
+          <tc:label value="1 L"/>
+          <tc:in readonly="true"/>
+          <tc:date value="#{dateController.once}">
+            <f:convertDateTime pattern="L"/>
+          </tc:date>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:label/>
+
+          <tc:label value="2 L"/>
+          <tc:in readonly="true"/>
+          <tc:date value="#{dateController.once}">
+            <f:convertDateTime pattern="LL"/>
+          </tc:date>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:label/>
+
+          <tc:label value="3 L"/>
+          <tc:in readonly="true"/>
+          <tc:date value="#{dateController.once}">
+            <f:convertDateTime pattern="LLL"/>
+          </tc:date>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:label/>
+
+          <tc:label value="4 L"/>
+          <tc:in readonly="true"/>
+          <tc:date value="#{dateController.once}">
+            <f:convertDateTime pattern="LLLL"/>
+          </tc:date>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:label/>
+
+          <tc:label value="5 L"/>
+          <tc:in readonly="true"/>
+          <tc:date value="#{dateController.once}">
+            <f:convertDateTime pattern="LLLLL"/>
+          </tc:date>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:in readonly="true"/>
+          <tc:label/>
+      -->
+
+      <!-- d - day -->
+
+      <tc:label value="1 d"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="d.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="2 d"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="dd.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="3 d (can't fix)"/>
+      <tc:in readonly="true" markup="error"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="ddd.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <!-- E - day name in week -->
+
+      <tc:label value="1 E"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="E, dd.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="2 E"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="EE, dd.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="3 E"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="EEE, dd.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="4 E"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="EEEE, dd.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="5 E"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="EEEEE, dd.MM.yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+
+      <!-- D - day in year -->
+
+      <tc:label value="1 D"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="D yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="2 D"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="DD yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="3 D"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="DDD yyyy"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <!-- dateStyle -->
+
+      <tc:label value="dateStyle=short"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime dateStyle="short"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="dateStyle=medium"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime dateStyle="medium"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="dateStyle=long"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime dateStyle="long"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="dateStyle=full"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime dateStyle="full"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <!-- time -->
+
+      <tc:label value="?"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="HH:mm:ss" type="time"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <!-- timeStyle -->
+
+      <tc:label value="timeStyle=short"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime timeStyle="short" type="time"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="timeStyle=medium"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime timeStyle="medium" type="time"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="timeStyle=long"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime timeStyle="long" type="time"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="timeStyle=full"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime timeStyle="full" type="time"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <!-- date time -->
+
+      <tc:label value="?"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime pattern="yyyy-MM-dd HH:mm:ss.SSS"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <!-- dateStyle + TimeStyle -->
+
+      <tc:label value="dateStyle=timeStyle=short"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime dateStyle="short" timeStyle="short" type="both"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="dateStyle=timeStyle=medium"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime dateStyle="medium" timeStyle="medium" type="both"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="dateStyle=timeStyle=long"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime dateStyle="long" timeStyle="long" type="both"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+      <tc:label value="dateStyle=timeStyle=full"/>
+      <tc:in readonly="true"/>
+      <tc:date value="#{dateController.once}">
+        <f:convertDateTime dateStyle="full" timeStyle="full" type="both"/>
+      </tc:date>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:in readonly="true"/>
+      <tc:label/>
+
+    </tc:gridLayout>
+
+    <tc:script file="datetime.js"/>
+
+  </tc:page>
+</f:view>

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.

[myfaces-tobago] 01/03: TOBAGO-1843: Demo

Posted by lo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit e40e1470195cd60bc763e0476fe2a091b648e7c5
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Fri Apr 27 14:34:16 2018 +0200

    TOBAGO-1843: Demo
    
    test: <tc:attribute>
---
 .../content/40-test/9000-attribute/attribute.xhtml |   1 -
 .../40-test/9000-attribute/mode-valueIfSet.xhtml   | 109 -----
 .../90000-attic/button/defaultCommand.xhtml        |  35 --
 .../button/link-attribute.selenium.html            |  77 ----
 .../90000-attic/button/link-attribute.xhtml        |  31 --
 .../content/40-test/90000-attic/button/plain.html  |  22 -
 .../content/40-test/90000-attic/button/plain.xhtml |  32 --
 .../40-test/90000-attic/button/plain_de.html       |  22 -
 .../40-test/90000-attic/button/plain_de.xhtml      |  32 --
 .../40-test/90000-attic/cell/3x3-center.xhtml      |  45 --
 .../90000-attic/cell/position-4x4-span-steps.xhtml |  74 ---
 .../content/40-test/90000-attic/cell/subview.xhtml |  52 ---
 .../40-test/90000-attic/date/date-layout.xhtml     |  44 --
 .../90000-attic/date/date-tobago-1105.xhtml        |  73 ---
 .../content/40-test/90000-attic/date/date.xhtml    |  90 ----
 .../content/40-test/90000-attic/date/datetime.js   | 178 --------
 .../40-test/90000-attic/date/datetime.xhtml        | 497 ---------------------
 .../40-test/90000-attic/file/file-markup.xhtml     |  41 --
 .../content/40-test/90000-attic/file/file.xhtml    |  32 --
 .../flexLayout/flexLayout-horizontal.xhtml         |  34 --
 .../90000-attic/flexLayout/flexLayout-simple.xhtml |  30 --
 .../flexLayout/flexLayout-vertical.xhtml           |  37 --
 .../flowLayout/flowLayout-textAlign.xhtml          |  84 ----
 .../40-test/90000-attic/footer/footer-fixed.xhtml  |  64 ---
 .../40-test/90000-attic/footer/footer.xhtml        |  64 ---
 .../40-test/90000-attic/header/header-fixed.xhtml  |  63 ---
 .../40-test/90000-attic/header/header.xhtml        |  63 ---
 .../9010-mode-valueIfSet/mode-valueIfSet.test.js   |  50 +++
 .../9010-mode-valueIfSet/mode-valueIfSet.xhtml     | 105 +++++
 29 files changed, 155 insertions(+), 1926 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9000-attribute/attribute.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9000-attribute/attribute.xhtml
index 7af41bd..bc01f0f 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9000-attribute/attribute.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9000-attribute/attribute.xhtml
@@ -16,7 +16,6 @@
  * limitations under the License.
 -->
 
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
 <f:view
     xmlns:tc="http://myfaces.apache.org/tobago/component"
     xmlns:ui="http://java.sun.com/jsf/facelets"
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9000-attribute/mode-valueIfSet.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9000-attribute/mode-valueIfSet.xhtml
deleted file mode 100644
index 8b5ed86..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9000-attribute/mode-valueIfSet.xhtml
+++ /dev/null
@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core"
-    xmlns:c="http://java.sun.com/jsp/jstl/core">
-
-  <tc:page id="page">
-
-    <tc:section label="Test of the &lt;tc:attribute mode='valueIfSet'>">
-
-      <tc:box label="Set value via &lt;tc:attribute>">
-
-        <p>
-          The lable after the input field displays the expected string.
-        </p>
-
-        <tc:segmentLayout medium="4seg 4seg 4seg">
-
-          <tc:label value="direct literal:"/>
-          <tc:in id="direct" label="literal value" labelLayout="segmentRight">
-            <tc:attribute name="value" value="literal value" mode="valueIfSet"/>
-          </tc:in>
-
-          <c:set var="value1" value="c:set variable"/>
-          <tc:label value="via c:set:"/>
-          <tc:in id="v1" label="c:set variable" labelLayout="segmentRight">
-            <tc:attribute name="value" value="#{value1}" mode="valueIfSet"/>
-          </tc:in>
-
-          <c:set var="value2" value="#{value1}"/>
-          <tc:label value="via c:set in c:set:"/>
-          <tc:in id="v2" label="c:set variable" labelLayout="segmentRight">
-            <tc:attribute name="value" value="#{value2}" mode="valueIfSet"/>
-          </tc:in>
-
-          <c:set var="value3" value="#{value1} with other text"/>
-          <tc:label value="via c:set in c:set with other text:"/>
-          <tc:in id="v3" label="c:set variable with other text" labelLayout="segmentRight">
-            <tc:attribute name="value" value="#{value3}" mode="valueIfSet"/>
-          </tc:in>
-
-          <c:set var="value4" value="#{attribute.value}"/>
-          <tc:label value="java session variable"/>
-          <tc:in id="v4" label="value from model" labelLayout="segmentRight">
-            <tc:attribute name="value" value="#{value4}" mode="valueIfSet"/>
-          </tc:in>
-
-          <tc:label value="undefined variable (empty)"/>
-          <tc:in id="vu" label="" labelLayout="segmentRight">
-            <tc:attribute name="value" value="#{value_undefined}" mode="valueIfSet"/>
-          </tc:in>
-        </tc:segmentLayout>
-      </tc:box>
-
-      <tc:box label="Set id via &lt;tc:attribute>" id="id-box">
-
-        <p>
-          The lable after the input field displays the expected id attribute.
-        </p>
-
-        <tc:segmentLayout medium="4seg 4seg 4seg">
-
-        <tc:label value="id"/>
-        <tc:in label="page:my_number_1::field" labelLayout="segmentRight">
-          <tc:attribute name="id" value="my_number_1" mode="valueIfSet"/>
-        </tc:in>
-
-        <tc:label value="id (not implemented)"/>
-        <tc:in label="'autogenerated'" labelLayout="segmentRight">
-          <tc:attribute name="id" value="#{'my_number_2'}" mode="valueIfSet"/>
-        </tc:in>
-
-        <c:set var="id3" value="my_number_3"/>
-        <tc:label value="id"/>
-        <tc:in label="page:my_number_3::field" labelLayout="segmentRight">
-          <tc:attribute name="id" value="#{id3}" mode="valueIfSet"/>
-        </tc:in>
-
-        <tc:label value="id (undefined)"/>
-        <tc:in label="'autogenerated'" labelLayout="segmentRight">
-          <tc:attribute name="id" value="#{id_undefined}" mode="valueIfSet"/>
-        </tc:in>
-
-        </tc:segmentLayout>
-      </tc:box>
-
-    </tc:section>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/defaultCommand.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/defaultCommand.xhtml
deleted file mode 100644
index 9200d48..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/defaultCommand.xhtml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-  <tc:page id="page">
-
-    <tc:date id="date" label="Date"/>
-    <tc:in id="in" label="Input"/>
-
-    <tc:flowLayout textAlign="right">
-      <tc:button label="Any" id="b-1"/>
-      <tc:button label="Default" id="b-2" defaultCommand="true"/>
-    </tc:flowLayout>
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/link-attribute.selenium.html b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/link-attribute.selenium.html
deleted file mode 100644
index b7b06d3..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/link-attribute.selenium.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<!--
- * 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.
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://localhost:8080/faces/test/button/link-attribute.xhtml" />
-<title>New Test</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">New Test</td></tr>
-</thead><tbody>
-<tr>
-	<td>open</td>
-	<td>/faces/test/button/link-attribute.xhtml</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>id=page:button-internal-link-with-slash</td>
-	<td></td>
-</tr>
-<tr>
-	<td>verifyTextPresent</td>
-	<td>A simple page for the resource test (static).</td>
-	<td></td>
-</tr>
-<tr>
-	<td>open</td>
-	<td>/faces/test/button/link-attribute.xhtml</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>id=page:button-internal-link-without-slash</td>
-	<td></td>
-</tr>
-<tr>
-	<td>verifyTextPresent</td>
-	<td>A simple page for the resource test (static).</td>
-	<td></td>
-</tr>
-<tr>
-	<td>open</td>
-	<td>/faces/test/button/link-attribute.xhtml</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>id=page:button-external-link</td>
-	<td></td>
-</tr>
-<tr>
-	<td>verifyTextPresent</td>
-	<td>TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</td>
-	<td></td>
-</tr>
-</tbody></table>
-</body>
-</html>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/link-attribute.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/link-attribute.xhtml
deleted file mode 100644
index 18fa5f5..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/link-attribute.xhtml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-  <tc:page id="page">
-
-    <tc:button id="button-internal-link-with-slash" label="internal link with slash" link="/test/button/plain.html"/>
-    <tc:button id="button-internal-link-without-slash" label="internal link without slash" link="plain.html"/>
-    <tc:button id="button-external-link" label="external link" link="http://www.apache.org/licenses/LICENSE-2.0.txt"/>
-    <tc:button id="button-internal-link-with-slash-and-param" label="internal link with slash and param" link="/test/button/plain.html?foo=&quot;page:id&quot;"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain.html b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain.html
deleted file mode 100644
index 1335b3b..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!--
- * 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.
--->
-
-<html>
-<body>
-A simple page for the resource test (static).
-</body>
-</html>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain.xhtml
deleted file mode 100644
index 726cb6b..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain.xhtml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-  <tc:page id="page" width="300px" height="50px">
-    <f:facet name="layout">
-      <tc:gridLayout/>
-    </f:facet>
-
-    <tc:out value="A simple page for the resource test (dynamic)."/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain_de.html b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain_de.html
deleted file mode 100644
index af1ec77..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain_de.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!--
- * 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.
--->
-
-<html>
-<body>
-Eine einfache Seite für den Resourcen-Test (statisch).
-</body>
-</html>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain_de.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain_de.xhtml
deleted file mode 100644
index 4780aac..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/button/plain_de.xhtml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-  <tc:page id="page" width="300px" height="50px">
-    <f:facet name="layout">
-      <tc:gridLayout/>
-    </f:facet>
-
-    <tc:out value="Eine einfache Seite für den Resourcen-Test (dynamisch)."/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/3x3-center.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/3x3-center.xhtml
deleted file mode 100644
index bc48762..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/3x3-center.xhtml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <tc:style width="300px" height="300px"/>
-    <tc:gridLayout rows="1fr 100px 1fr" columns="1fr 100px 1fr">
-
-
-      <tc:panel>
-        <tc:span column="3"/>
-      </tc:panel>
-
-      <tc:panel/>
-      <tc:image value="/image/pidgeon-point.jpg" id="in"/>
-      <tc:panel/>
-
-      <tc:panel>
-        <tc:span column="3"/>
-      </tc:panel>
-    </tc:gridLayout>
-
-    <tc:script file="script/tobago-assert.js"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:in', 100, 100, 100, 100);"/>
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/position-4x4-span-steps.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/position-4x4-span-steps.xhtml
deleted file mode 100644
index 74cb50c..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/position-4x4-span-steps.xhtml
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <f:facet name="layout">
-      <tc:gridLayout columns="6fr 9fr 13fr 2fr" rows="4fr 11fr 10fr 5fr"/>
-    </f:facet>
-    <!-- <tc:gridLayoutConstraint width="315px" height="315px"/> -->
-
-    <tc:image id="i-0" value="pidgeon-point.jpg"/>
-    <tc:panel>
-      <!-- <tc:gridLayoutConstraint rowSpan="2"/> -->
-      <tc:image id="i-1" value="pidgeon-point.jpg"/>
-    </tc:panel>
-    <tc:panel>
-      <!-- <tc:gridLayoutConstraint columnSpan="2"/> -->
-      <tc:image id="i-2" value="pidgeon-point.jpg"/>
-    </tc:panel>
-    <tc:image id="i-3" value="pidgeon-point.jpg"/>
-    <tc:panel>
-      <!-- <tc:gridLayoutConstraint rowSpan="2"/> -->
-      <tc:image id="i-4" value="pidgeon-point.jpg"/>
-    </tc:panel>
-    <tc:image id="i-5" value="pidgeon-point.jpg"/>
-    <tc:panel>
-      <!-- <tc:gridLayoutConstraint columnSpan="2"/> -->
-      <tc:image  id="i-6" value="pidgeon-point.jpg"/>
-    </tc:panel>
-    <tc:panel>
-      <!-- <tc:gridLayoutConstraint rowSpan="2"/> -->
-      <tc:image id="i-7" value="pidgeon-point.jpg"/>
-    </tc:panel>
-    <tc:image id="i-8" value="pidgeon-point.jpg"/>
-    <tc:panel>
-      <!-- <tc:gridLayoutConstraint columnSpan="2"/> -->
-      <tc:image id="i-9" value="pidgeon-point.jpg"/>
-    </tc:panel>
-
-    <tc:script file="script/tobago-assert.js"/>
-
-    <tc:script onload="TobagoAssert.assertLayout('page:i-0', 0, 0, 60, 40);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:i-1', 65, 0, 90, 155);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:i-2', 160, 0, 155, 40);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:i-3', 0, 45, 60, 110);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:i-4', 160, 45, 130, 215);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:i-5', 295, 45, 20, 110);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:i-6', 0, 160, 155, 100);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:i-7', 295, 160, 20, 155);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:i-8', 0, 265, 60, 50);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:i-9', 65, 265, 225, 50);"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/subview.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/subview.xhtml
deleted file mode 100644
index d1ea639..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/cell/subview.xhtml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <f:facet name="layout">
-      <tc:gridLayout rows="1fr auto"/>
-    </f:facet>
-    <!-- <tc:gridLayoutConstraint width="100px" height="310px"/> -->
-
-    <tc:image id="i-1" value="pidgeon-point.jpg"/>
-    <tc:panel>
-      <f:subview id="subview">
-        <tc:panel>
-          <f:facet name="layout">
-            <tc:gridLayout rows="100px 100px"/>
-          </f:facet>
-
-          <tc:image id="i-2" value="pidgeon-point.jpg"/>
-          <tc:image id="i-3" value="pidgeon-point.jpg"/>
-        </tc:panel>
-      </f:subview>
-    </tc:panel>
-
-    <tc:script file="script/tobago-assert.js"/>
-
-    <tc:script onload="TobagoAssert.assertLayout('page:i-1', 0, 0, 100, 100);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:subview:i-2', 0, 105, 100, 100);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:subview:i-3', 0, 210, 100, 100);"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date-layout.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date-layout.xhtml
deleted file mode 100644
index 91b8f3f..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date-layout.xhtml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <!-- <tc:gridLayoutConstraint width="700px" height="600px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout columns="auto auto" rows="auto auto"/>
-    </f:facet>
-
-    <tc:label value="tc"/>
-    <tc:label value="tx"/>
-
-    <tc:date id="s1"/>
-
-    <tc:date label="normal" fieldId="s2"/>
-
-    <tc:script file="script/tobago-assert.js"/>
-
-    <tc:script onload="TobagoAssert.assertLayout('page:s1', 0, 25, 158, 20);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:s2', 309, 25, 158, 20);"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date-tobago-1105.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date-tobago-1105.xhtml
deleted file mode 100644
index 02971f7..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date-tobago-1105.xhtml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <tc:box>
-      <f:facet name="layout">
-        <tc:gridLayout columns="2fr 1fr" rows="auto auto auto auto auto"/>
-      </f:facet>
-      <!-- <tc:gridLayoutConstraint width="900px" height="300px" marginLeft="10px" marginTop="10px" marginRight="10px"/> -->
-
-      <tc:date readonly="#{false}" id="normal">
-        <f:convertDateTime/>
-      </tc:date>
-      <tc:datePicker for="normal" id="normalPicker"/>
-
-      <tc:date readonly="#{true}" id="readonly">
-        <f:convertDateTime/>
-      </tc:date>
-      <tc:datePicker for="readonly" id="readonlyPicker"/>
-
-      <tc:date disabled="#{true}" id="disabled">
-        <f:convertDateTime/>
-      </tc:date>
-      <tc:datePicker for="disabled" id="disabledPicker"/>
-
-      <tc:script file="script/tobago-assert.js"/>
-
-      <tc:script onload="check()">
-        function check() {
-          // assertions
-          var id0 = "page:normalPicker";
-          if (jQuery(Tobago.Utils.escapeClientId(id0)).filter("a").size() == 0) {
-            LOG.error("The element with id='" + id0 + "' was not found or is not an 'a' tag!");
-          }
-
-          // assertions
-          var id1 = "page:readonlyPicker";
-          if (jQuery(Tobago.Utils.escapeClientId(id1)).filter("span").size() == 0) {
-            LOG.error("The element with id='" + id1 + "' was not found or is not a 'span' tag!");
-          }
-
-          // assertions
-          var id2 = "page:disabledPicker";
-          if (jQuery(Tobago.Utils.escapeClientId(id2)).filter("span").size() == 0) {
-            LOG.error("The element with id='" + id2 + "' was not found or is not a 'span' tag!");
-          }
-        }
-      </tc:script>
-
-    </tc:box>
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date.xhtml
deleted file mode 100644
index d8fbafe..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/date.xhtml
+++ /dev/null
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page>
-    <tc:box>
-      <f:facet name="layout">
-        <tc:gridLayout columns="1fr 1fr 1fr" rows="auto auto auto auto auto auto auto auto 1fr auto"/>
-      </f:facet>
-      <!-- <tc:gridLayoutConstraint width="900px" height="300px" marginLeft="10px" marginTop="10px" marginRight="10px"/> -->
-
-      <tc:date/>
-      <tc:date>
-        <f:convertDateTime type="date" pattern="dd.MM.yyyy HH:mm:ss"/>
-      </tc:date>
-      <tc:in value="for comparison only"/>
-
-      <tc:date readonly="true"/>
-      <tc:date readonly="true">
-        <f:convertDateTime type="date" pattern="dd.MM.yyyy HH:mm:ss"/>
-      </tc:date>
-      <tc:in value="for comparison only" readonly="true"/>
-
-      <tc:date disabled="true"/>
-      <tc:date disabled="true">
-        <f:convertDateTime type="date" pattern="dd.MM.yyyy HH:mm:ss"/>
-      </tc:date>
-      <tc:in value="for comparison only" disabled="true"/>
-
-      <tc:date markup="error"/>
-      <tc:date markup="error">
-        <f:convertDateTime type="date" pattern="dd.MM.yyyy HH:mm:ss"/>
-      </tc:date>
-      <tc:in value="for comparison only" markup="error"/>
-
-      <tc:date label="Date"/>
-      <tc:date label="Date/Time">
-        <f:convertDateTime type="date" pattern="dd.MM.yyyy HH:mm:ss"/>
-      </tc:date>
-      <tc:in label="In" value="for comparison only"/>
-
-      <tc:date label="Date" readonly="true"/>
-      <tc:date label="Date/Time" readonly="true">
-        <f:convertDateTime type="date" pattern="dd.MM.yyyy HH:mm:ss"/>
-      </tc:date>
-      <tc:in label="In" value="for comparison only" readonly="true"/>
-
-      <tc:date label="Date" disabled="true"/>
-      <tc:date label="Date/Time" disabled="true">
-        <f:convertDateTime type="date" pattern="dd.MM.yyyy HH:mm:ss"/>
-      </tc:date>
-      <tc:in label="In" value="for comparison only" disabled="true"/>
-
-      <tc:date label="Date" markup="error"/>
-      <tc:date label="Date/Time" markup="error">
-        <f:convertDateTime type="date" pattern="dd.MM.yyyy HH:mm:ss"/>
-      </tc:date>
-      <tc:in label="In" value="for comparison only" markup="error"/>
-
-      <tc:panel/>
-      <tc:panel/>
-      <tc:panel/>
-
-      <tc:panel/>
-      <tc:panel/>
-      <tc:button label="Submit"/>
-
-    </tc:box>
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/datetime.js b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/datetime.js
deleted file mode 100644
index 755bc49..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/datetime.js
+++ /dev/null
@@ -1,178 +0,0 @@
-/*
- * 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.
- */
-
-TestDateTime = {};
-
-TestDateTime.init = function () {
-
-  var panel = jQuery("#page\\:jquery_date_time_pattern");
-  var inputs = panel.children(".tobago-in, .tobago-date");
-
-  for (var i = 0; i < inputs.length; i += 5) {
-    var javaPattern = inputs.eq(i);
-    var javaFormatted = inputs.eq(i + 1);
-    var jQueryUIDatePattern = inputs.eq(i + 2);
-    var jQueryUITimePattern = inputs.eq(i + 3);
-    var jQueryUIFormatted = inputs.eq(i + 4);
-    var result = jQueryUIFormatted.next();
-
-    var pattern = javaFormatted.data("tobago-pattern");
-    javaPattern.val(pattern);
-
-    var analyzed = Tobago.DateTime.analyzePattern(pattern);
-
-    jQueryUIDatePattern.val(analyzed.dateFormat);
-    jQueryUITimePattern.val(analyzed.timeFormat);
-
-    try {
-      var javaValue = javaFormatted.val();
-      var date = null; // type: JS date
-      var time = null; // type: jQuery UI time object
-      var jQueryValue = null;
-      var i18n = javaFormatted.data("tobago-date-time-i18n");
-      switch (analyzed.type) {
-        case "datetime":
-          date = jQuery.datepicker.parseDateTime(
-              analyzed.dateFormat, analyzed.timeFormat, javaValue, i18n, {
-                separator: analyzed.separator,
-                // workaround for bug: https://github.com/trentrichardson/jQuery-Timepicker-Addon/issues/736
-                timeFormat: analyzed.timeFormat
-              }
-          );
-          time = {
-            hour: date.getHours(),
-            minute: date.getMinutes(),
-            second: date.getSeconds(),
-            millisec: date.getMilliseconds(),
-            microsec: date.getMicroseconds()
-          };
-          jQueryValue
-              = jQuery.datepicker.formatDate(analyzed.dateFormat, date, i18n)
-              + analyzed.separator
-              + jQuery.datepicker.formatTime(analyzed.timeFormat, time, i18n);
-          break;
-        case "date":
-          date = jQuery.datepicker.parseDate(analyzed.dateFormat, javaValue, i18n);
-          jQueryValue = jQuery.datepicker.formatDate(analyzed.dateFormat, date, i18n);
-          break;
-        case "time":
-          time = jQuery.datepicker.parseTime(analyzed.timeFormat, javaValue, i18n);
-          jQueryValue = jQuery.datepicker.formatTime(analyzed.timeFormat, time, i18n);
-          break;
-        default:
-          console.error("invalid: not date-pattern nor time-pattern");  // @DEV_ONLY
-          jQueryValue = "no type";
-      }
-      jQueryUIFormatted.val(jQueryValue);
-
-    } catch (e) {
-      console.error(e);
-    }
-
-    if (javaFormatted.val() !== jQueryUIFormatted.val()) {
-      jQueryUIFormatted.addClass("tobago-in-markup-error");
-
-      if (javaPattern.hasClass("tobago-in-markup-error")) {
-        result.addClass("tobago-label-markup-warn");
-        result.html("java pattern broken");
-      } else {
-        result.addClass("tobago-label-markup-error");
-        result.html("pattern conversion failed");
-      }
-    } else {
-      result.addClass("tobago-label-markup-info");
-      if (javaPattern.hasClass("tobago-in-markup-error")) {
-        result.html("fixed");
-      } else {
-        result.html("okay");
-      }
-    }
-  }
-};
-
-TestDateTime.test = function () {
-  TestDateTime.testDate();
-  TestDateTime.testTime();
-  TestDateTime.testBoth();
-};
-
-TestDateTime.testDate = function () {
-
-  var date;
-  var format = "dd.mm.yy";
-  var initial = "13.05.2014";
-  var result;
-
-  date = jQuery.datepicker.parseDate(format, initial);
-  result = jQuery.datepicker.formatDate(format, date);
-
-  if (result !== initial) {
-    console.error("Error!");
-  } else {
-    console.info("Okay!");
-  }
-
-};
-
-TestDateTime.testTime = function () {
-
-  var date;
-  var format = "HH:mm:ss";
-  var initial = "14:06:55";
-  var result;
-
-  date = jQuery.datepicker.parseTime(format, initial);
-  result = jQuery.datepicker.formatTime(format, date);
-
-  if (result !== initial) {
-    console.error("Error!");
-  } else {
-    console.info("Okay!");
-  }
-
-};
-
-TestDateTime.testBoth = function () {
-
-  var date, dateT;
-  var formatD = "dd.mm.yy";
-  var formatT = "HH:mm:ss";
-  var initial = "13.05.2014 13:05:55";
-  var result;
-  var separator = " ";
-
-  date = jQuery.datepicker.parseDateTime(formatD, formatT, initial);
-  dateT = {
-    hour: date.getHours(),
-    minute: date.getMinutes(),
-    second: date.getSeconds(),
-    millisec: date.getMilliseconds(),
-    microsec: date.getMicroseconds()
-  };
-  result = jQuery.datepicker.formatDate(formatD, date) + separator + jQuery.datepicker.formatTime(formatT, dateT);
-
-  if (result !== initial) {
-    console.error("Error!");
-  } else {
-    console.info("Okay!");
-  }
-
-};
-
-Tobago.registerListener(TestDateTime.init, Tobago.Phase.DOCUMENT_READY);
-
-Tobago.registerListener(TestDateTime.test, Tobago.Phase.DOCUMENT_READY);
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/datetime.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/datetime.xhtml
deleted file mode 100644
index ff6de80..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/date/datetime.xhtml
+++ /dev/null
@@ -1,497 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    locale="DE"
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-<tc:page id="page">
-
-<tc:panel>
-
-<tc:panel id="jquery_date_time_pattern">
-<f:facet name="layout">
-  <tc:gridLayout columns="2fr 2fr 2fr 1fr 1fr 2fr 2fr"
-                 rows="auto 60px auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto"/>
-</f:facet>
-
-<tc:label value="Name"/>
-<tc:label value="Java Pattern"/>
-<tc:label value="Java Formatted"/>
-<tc:label value="jQuery UI Pattern">
-  <!-- <tc:gridLayoutConstraint columnSpan="2"/> -->
-</tc:label>
-<tc:label value="jQuery UI Formatted"/>
-<tc:label value="Result"/>
-
-<tc:label value="Comment"/>
-<tc:out value="Error means, that the pattern that comes from the server is invalid.
-    This is defined manually on the page."/>
-<tc:out/>
-<tc:out value="date"/>
-<tc:out value="time"/>
-<tc:out value="Error means, that the date parsed and formatted is unequal to the original.
-    The error state is computed with the JS functions."/>
-<tc:out/>
-
-<!-- y - year -->
-
-<tc:label value="1 y (wrong, but fixable)"/>
-<tc:in readonly="true" markup="error"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd.MM.y"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="2 y"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd.MM.yy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="3 y (wrong, but fixable)"/>
-<tc:in readonly="true" markup="error"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd.MM.yyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="4 y"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="5 y (can't fix)"/>
-<tc:in readonly="true" markup="error"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd.MM.yyyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="6 y (can't fix)"/>
-<tc:in readonly="true" markup="error"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd.MM.yyyyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<!-- M - month -->
-
-<tc:label value="1 M"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd.M.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="2 M"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="3 M"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd. MMM yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="4 M"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd. MMMM yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="5 M"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd. MMMMM yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<!-- L - month (stand alone) -->
-
-<!--
-    <tc:label value="1 L"/>
-    <tc:in readonly="true"/>
-    <tc:date value="#{dateController.once}">
-      <f:convertDateTime pattern="L"/>
-    </tc:date>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:label/>
-
-    <tc:label value="2 L"/>
-    <tc:in readonly="true"/>
-    <tc:date value="#{dateController.once}">
-      <f:convertDateTime pattern="LL"/>
-    </tc:date>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:label/>
-
-    <tc:label value="3 L"/>
-    <tc:in readonly="true"/>
-    <tc:date value="#{dateController.once}">
-      <f:convertDateTime pattern="LLL"/>
-    </tc:date>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:label/>
-
-    <tc:label value="4 L"/>
-    <tc:in readonly="true"/>
-    <tc:date value="#{dateController.once}">
-      <f:convertDateTime pattern="LLLL"/>
-    </tc:date>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:label/>
-
-    <tc:label value="5 L"/>
-    <tc:in readonly="true"/>
-    <tc:date value="#{dateController.once}">
-      <f:convertDateTime pattern="LLLLL"/>
-    </tc:date>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:in readonly="true"/>
-    <tc:label/>
--->
-
-<!-- d - day -->
-
-<tc:label value="1 d"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="d.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="2 d"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="dd.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="3 d (can't fix)"/>
-<tc:in readonly="true" markup="error"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="ddd.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<!-- E - day name in week -->
-
-<tc:label value="1 E"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="E, dd.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="2 E"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="EE, dd.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="3 E"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="EEE, dd.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="4 E"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="EEEE, dd.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="5 E"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="EEEEE, dd.MM.yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-
-<!-- D - day in year -->
-
-<tc:label value="1 D"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="D yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="2 D"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="DD yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="3 D"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="DDD yyyy"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<!-- dateStyle -->
-
-<tc:label value="dateStyle=short"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime dateStyle="short"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="dateStyle=medium"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime dateStyle="medium"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="dateStyle=long"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime dateStyle="long"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="dateStyle=full"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime dateStyle="full"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<!-- time -->
-
-<tc:label value="?"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="HH:mm:ss" type="time"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<!-- timeStyle -->
-
-<tc:label value="timeStyle=short"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime timeStyle="short" type="time"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="timeStyle=medium"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime timeStyle="medium" type="time"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="timeStyle=long"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime timeStyle="long" type="time"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="timeStyle=full"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime timeStyle="full" type="time"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<!-- date time -->
-
-<tc:label value="?"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime pattern="yyyy-MM-dd HH:mm:ss.SSS"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<!-- dateStyle + TimeStyle -->
-
-<tc:label value="dateStyle=timeStyle=short"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime dateStyle="short" timeStyle="short" type="both"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="dateStyle=timeStyle=medium"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime dateStyle="medium" timeStyle="medium" type="both"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="dateStyle=timeStyle=long"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime dateStyle="long" timeStyle="long" type="both"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-<tc:label value="dateStyle=timeStyle=full"/>
-<tc:in readonly="true"/>
-<tc:date value="#{dateController.once}">
-  <f:convertDateTime dateStyle="full" timeStyle="full" type="both"/>
-</tc:date>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:in readonly="true"/>
-<tc:label/>
-
-
-</tc:panel>
-
-</tc:panel>
-
-<tc:script file="test/date/datetime.js"/>
-
-</tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/file/file-markup.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/file/file-markup.xhtml
deleted file mode 100644
index 6f51296..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/file/file-markup.xhtml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page>
-    <f:facet name="layout">
-      <tc:gridLayout rows="auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto"/>
-    </f:facet>
-    <!-- <tc:gridLayoutConstraint width="600px" height="300px"/> -->
-
-    <tc:file/>
-    <tc:file required="true"/>
-    <tc:file disabled="true"/>
-    <tc:file readonly="true"/>
-    <tc:file markup="info"/>
-    <tc:file markup="warn"/>
-    <tc:file markup="error"/>
-    <tc:file markup="fatal"/>
-    <tc:button label="OK" action="#{upload.upload}"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/file/file.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/file/file.xhtml
deleted file mode 100644
index 9802f04..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/file/file.xhtml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page>
-
-    <tc:messages/>
-
-    <tc:file value="#{upload.file}" required="true"/>
-    <tc:button label="OK" action="#{upload.upload}"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-horizontal.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-horizontal.xhtml
deleted file mode 100644
index 012a3c9..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-horizontal.xhtml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <tc:flexLayout columns="1fr auto 100px 2fr">
-
-      <tc:textarea value="Left 1fr"/>
-      <tc:image value="pidgeon-point.jpg"/>
-      <tc:textarea value="100px"/>
-      <tc:textarea value="Right 2fr"/>
-
-    </tc:flexLayout>
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-simple.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-simple.xhtml
deleted file mode 100644
index 5eaaa74..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-simple.xhtml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <tc:flexLayout columns="1fr 2fr">
-      <tc:textarea value="Left"/>
-      <tc:textarea value="Right"/>
-    </tc:flexLayout>
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-vertical.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-vertical.xhtml
deleted file mode 100644
index 9b23b73..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flexLayout/flexLayout-vertical.xhtml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <!-- <tc:gridLayoutConstraint height="500px"/> -->
-
-    <tc:flexLayout rows="1fr auto 100px 2fr">
-
-      <tc:textarea value="Top 1fr"/>
-      <tc:image value="pidgeon-point.jpg"/>
-      <tc:textarea value="100px"/>
-      <tc:textarea value="Bottom 2fr"/>
-
-    </tc:flexLayout>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flowLayout/flowLayout-textAlign.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flowLayout/flowLayout-textAlign.xhtml
deleted file mode 100644
index 9ed29b4..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/flowLayout/flowLayout-textAlign.xhtml
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <!-- <tc:gridLayoutConstraint width="600px" height="600px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout rows="20px auto 20px auto 20px auto 60px;"/>
-    </f:facet>
-
-    <tc:flowLayout textAlign="left">
-      <tc:out id="left" value="left">
-        <tc:dataAttribute name="assert-left" value="0"/>
-        <tc:dataAttribute name="assert-top" value="0"/>
-        <tc:dataAttribute name="assert-width" value="16"/>
-        <tc:dataAttribute name="assert-height" value="14"/>
-        <tc:dataAttribute name="assert-epsilon" value="1"/>
-      </tc:out>
-    </tc:flowLayout>
-
-    <tc:separator/>
-
-    <tc:flowLayout textAlign="right">
-      <tc:out id="right" value="right">
-        <tc:dataAttribute name="assert-left" value="577"/>
-        <tc:dataAttribute name="assert-top" value="31"/>
-        <tc:dataAttribute name="assert-width" value="23"/>
-        <tc:dataAttribute name="assert-height" value="14"/>
-        <tc:dataAttribute name="assert-epsilon" value="1"/>
-      </tc:out>
-    </tc:flowLayout>
-
-    <tc:separator/>
-
-    <tc:flowLayout textAlign="center">
-      <tc:out id="center" value="center">
-        <tc:dataAttribute name="assert-left" value="283"/>
-        <tc:dataAttribute name="assert-top" value="62"/>
-        <tc:dataAttribute name="assert-width" value="33"/>
-        <tc:dataAttribute name="assert-height" value="14"/>
-        <tc:dataAttribute name="assert-epsilon" value="1"/>
-      </tc:out>
-    </tc:flowLayout>
-
-    <tc:separator/>
-
-    <tc:flowLayout textAlign="justify">
-      1_XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX
-      2_XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
-      3_XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
-      <tc:out id="justify" value="justify">
-        <tc:dataAttribute name="assert-left" value="569"/>
-        <tc:dataAttribute name="assert-top" value="122"/>
-        <tc:dataAttribute name="assert-width" value="31"/>
-        <tc:dataAttribute name="assert-height" value="14"/>
-        <tc:dataAttribute name="assert-epsilon" value="1"/>
-      </tc:out>
-      4_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-    </tc:flowLayout>
-
-    <!--<tc:script file="script/tobago-assert.js"/>-->
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/footer/footer-fixed.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/footer/footer-fixed.xhtml
deleted file mode 100644
index bcf74dd..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/footer/footer-fixed.xhtml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core"
-    xmlns="http://www.w3.org/1999/xhtml">
-
-  <tc:page>
-
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-
-    <tc:footer fixed="true">
-      Fixed Footer
-    </tc:footer>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/footer/footer.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/footer/footer.xhtml
deleted file mode 100644
index 6fd2d08..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/footer/footer.xhtml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core"
-    xmlns="http://www.w3.org/1999/xhtml">
-
-  <tc:page>
-
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-
-    <tc:footer>
-      Scrolling Footer
-    </tc:footer>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/header/header-fixed.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/header/header-fixed.xhtml
deleted file mode 100644
index f5c13b2..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/header/header-fixed.xhtml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core"
-    xmlns="http://www.w3.org/1999/xhtml">
-
-  <tc:page>
-    <tc:header fixed="true" label="Test the header">
-      Fixed Header
-    </tc:header>
-
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/header/header.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/header/header.xhtml
deleted file mode 100644
index ca4524d..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/header/header.xhtml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core"
-    xmlns="http://www.w3.org/1999/xhtml">
-
-  <tc:page>
-    <tc:header label="Test the header">
-      Scrolling Header
-    </tc:header>
-
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-    <p>
-      Lore ipsum.
-    </p>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9010-mode-valueIfSet/mode-valueIfSet.test.js b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9010-mode-valueIfSet/mode-valueIfSet.test.js
new file mode 100644
index 0000000..8c7b8d1
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9010-mode-valueIfSet/mode-valueIfSet.test.js
@@ -0,0 +1,50 @@
+/*
+ * 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.
+ */
+
+QUnit.test("inputfield with label", function (assert) {
+
+  assert.expect(6);
+
+  function testValueEquals(id) {
+
+    var $field = jQueryFrame(Tobago.Utils.escapeClientId(id));
+    var $label = jQueryFrame("[for='"+id+"']");
+    assert.equal($field.val(), $label.text());
+  }
+
+  testValueEquals("page:mainForm:direct::field");
+  testValueEquals("page:mainForm:v1::field");
+  testValueEquals("page:mainForm:v2::field");
+  testValueEquals("page:mainForm:v3::field");
+  testValueEquals("page:mainForm:v4::field");
+  testValueEquals("page:mainForm:vu::field");
+});
+
+QUnit.test("inputfield with label", function (assert) {
+
+  assert.expect(2);
+
+  function testValueEquals(id) {
+
+    var $field = jQueryFrame(Tobago.Utils.escapeClientId(id));
+    var $label = jQueryFrame("[for='"+id+"']");
+    assert.equal($field.attr("id"), $label.text());
+  }
+
+  testValueEquals("page:mainForm:my_number_1::field");
+  testValueEquals("page:mainForm:my_number_3::field");
+});
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9010-mode-valueIfSet/mode-valueIfSet.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9010-mode-valueIfSet/mode-valueIfSet.xhtml
new file mode 100644
index 0000000..1a2b2e5
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/9010-mode-valueIfSet/mode-valueIfSet.xhtml
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * 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.
+-->
+
+<ui:composition template="/main.xhtml"
+                xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:c="http://java.sun.com/jsp/jstl/core"
+                xmlns:tc="http://myfaces.apache.org/tobago/component"
+                xmlns:ui="http://java.sun.com/jsf/facelets">
+
+  <tc:section label="Test of the &lt;tc:attribute mode='valueIfSet'>">
+
+    <tc:box label="Set value via &lt;tc:attribute>">
+
+      <p>
+        The lable after the input field displays the expected string.
+      </p>
+
+      <tc:segmentLayout medium="4seg 4seg 4seg">
+
+        <tc:label value="direct literal:"/>
+        <tc:in id="direct" label="literal value" labelLayout="segmentRight">
+          <tc:attribute name="value" value="literal value" mode="valueIfSet"/>
+        </tc:in>
+
+        <c:set var="value1" value="c:set variable"/>
+        <tc:label value="via c:set:"/>
+        <tc:in id="v1" label="c:set variable" labelLayout="segmentRight">
+          <tc:attribute name="value" value="#{value1}" mode="valueIfSet"/>
+        </tc:in>
+
+        <c:set var="value2" value="#{value1}"/>
+        <tc:label value="via c:set in c:set:"/>
+        <tc:in id="v2" label="c:set variable" labelLayout="segmentRight">
+          <tc:attribute name="value" value="#{value2}" mode="valueIfSet"/>
+        </tc:in>
+
+        <c:set var="value3" value="#{value1} with other text"/>
+        <tc:label value="via c:set in c:set with other text:"/>
+        <tc:in id="v3" label="c:set variable with other text" labelLayout="segmentRight">
+          <tc:attribute name="value" value="#{value3}" mode="valueIfSet"/>
+        </tc:in>
+
+        <c:set var="value4" value="#{attribute.value}"/>
+        <tc:label value="java session variable"/>
+        <tc:in id="v4" label="value from model" labelLayout="segmentRight">
+          <tc:attribute name="value" value="#{value4}" mode="valueIfSet"/>
+        </tc:in>
+
+        <tc:label value="undefined variable (empty)"/>
+        <tc:in id="vu" label="" labelLayout="segmentRight">
+          <tc:attribute name="value" value="#{value_undefined}" mode="valueIfSet"/>
+        </tc:in>
+      </tc:segmentLayout>
+    </tc:box>
+
+    <tc:box label="Set id via &lt;tc:attribute>" id="id-box">
+
+      <p>
+        The lable after the input field displays the expected id attribute.
+      </p>
+
+      <tc:segmentLayout medium="4seg 4seg 4seg">
+
+        <tc:label value="id"/>
+        <tc:in label="page:mainForm:my_number_1::field" labelLayout="segmentRight">
+          <tc:attribute name="id" value="my_number_1" mode="valueIfSet"/>
+        </tc:in>
+
+        <tc:label value="id (not implemented)"/>
+        <tc:in label="'autogenerated'" labelLayout="segmentRight">
+          <tc:attribute name="id" value="#{'my_number_2'}" mode="valueIfSet"/>
+        </tc:in>
+
+        <c:set var="id3" value="my_number_3"/>
+        <tc:label value="id"/>
+        <tc:in label="page:mainForm:my_number_3::field" labelLayout="segmentRight">
+          <tc:attribute name="id" value="#{id3}" mode="valueIfSet"/>
+        </tc:in>
+
+        <tc:label value="id (undefined)"/>
+        <tc:in label="'autogenerated'" labelLayout="segmentRight">
+          <tc:attribute name="id" value="#{id_undefined}" mode="valueIfSet"/>
+        </tc:in>
+
+      </tc:segmentLayout>
+    </tc:box>
+
+  </tc:section>
+
+</ui:composition>

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.

[myfaces-tobago] 03/03: TOBAGO-1843: Demo

Posted by lo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 5aaf98ac3200a82cac177a8c58bb5bd1c3490108
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Fri Apr 27 15:14:37 2018 +0200

    TOBAGO-1843: Demo
    
    clean up some attic tests
---
 .../90000-attic/image/alphaBlendingBug.xhtml       |  58 ---------
 .../40-test/90000-attic/image/disabled.xhtml       |  53 --------
 .../content/40-test/90000-attic/image/image.xhtml  |  39 ------
 .../40-test/90000-attic/in/id-and-fieldId.js       |  87 -------------
 .../40-test/90000-attic/in/id-and-fieldId.xhtml    | 140 ---------------------
 .../content/40-test/90000-attic/in/in-layout.xhtml |  46 -------
 .../content/40-test/90000-attic/in/in-tx.xhtml     |  42 -------
 .../webapp/content/40-test/90000-attic/in/in.xhtml |  39 ------
 .../40-test/90000-attic/link/link-layout.xhtml     |  60 ---------
 .../40-test/90000-attic/section/section.xhtml      |  53 --------
 .../separator/separator-with-label-facet.xhtml     |  42 -------
 .../separator/separator-with-label.xhtml           |  38 ------
 .../separator/separator-without-label.xhtml        |  38 ------
 .../90000-attic/suggest/tc-in-suggest.xhtml        |  35 ------
 .../90000-attic/suggest/tx-in-suggest.xhtml        |  35 ------
 .../40-test/90000-attic/text/textarea-layout.xhtml |  43 -------
 .../content/40-test/90000-attic/time/time.xhtml    | 106 ----------------
 17 files changed, 954 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/alphaBlendingBug.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/alphaBlendingBug.xhtml
deleted file mode 100644
index 6222f91..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/alphaBlendingBug.xhtml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page>
-    <!-- <tc:gridLayoutConstraint width="400px" height="400px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout columns="1fr 1fr" />
-    </f:facet>
-
-    <tc:panel>
-      <f:facet name="layout">
-        <tc:gridLayout rows="1fr 1fr auto"/>
-      </f:facet>
-
-      <tc:image value="image/feather-leaf.png"/>
-
-      <tc:out value="The part of the image, where is no feather should be grey like the background. (There is a Bug in old IE.)"/>
-
-      <tc:button label="full reload"/>
-    </tc:panel>
-
-    <tc:panel id="ajax">
-      <f:facet name="layout">
-        <tc:gridLayout rows="1fr 1fr auto"/>
-      </f:facet>
-
-      <tc:image value="image/feather-leaf.png"/>
-
-      <tc:out value="Images loaded with AJAX must also be fixed."/>
-
-      <tc:button label="partial reload (right)">
-        <f:ajax render="ajax" execute="ajax"/>
-      </tc:button>
-    </tc:panel>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/disabled.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/disabled.xhtml
deleted file mode 100644
index 3bb8ca6..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/disabled.xhtml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page" width="600px" height="600px">
-
-    <f:facet name="layout">
-      <tc:gridLayout columns="1fr 1fr" rows="auto auto auto auto 1fr"/>
-    </f:facet>
-
-    <tc:label id="label" value="normal"/>
-    <tc:label id="label-d" value="disabled"/>
-
-    <tc:image id="image" value="image/foo.png">
-      <!-- <tc:gridLayoutConstraint width="16px" height="16px"/> -->
-    </tc:image>
-    <tc:image id="image-d" value="image/foo.png" disabled="true">
-      <!-- <tc:gridLayoutConstraint width="16px" height="16px"/> -->
-    </tc:image>
-
-    <tc:button id="button" image="image/foo.png" label="button"/>
-    <tc:button id="button-d" image="image/foo.png" label="button" disabled="true"/>
-
-    <tc:link id="link" image="image/foo.png" label="link"/>
-    <tc:link id="link-d" image="image/foo.png" label="link" disabled="true"/>
-
-    <tc:link id="gif" image="image/foo.gif" label="link (gif)"/>
-    <tc:link id="gif-d" image="image/foo.gif" label="link (gif)" disabled="true"/>
-
-    <tc:panel/>
-    <tc:panel/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/image.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/image.xhtml
deleted file mode 100644
index 5aede67..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/image/image.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page>
-    <tc:out value="requested with extension: pidgeon-point.jpg"/>
-
-    <tc:image value="pidgeon-point.jpg"/>
-
-    <tc:out value="requested without extension: pidgeon-point"/>
-
-    <tc:image value="pidgeon-point"/>
-
-    <tc:out value="font awesome icon: flag"/>
-
-    <tc:image value="fa-flag"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/id-and-fieldId.js b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/id-and-fieldId.js
deleted file mode 100644
index 9aaa994..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/id-and-fieldId.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * 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.
- */
-
-jQuery(document).ready(function() {
-
-  fillIdDisplay("0", ".tobago-in");
-  fillIdDisplay("1", ".tobago-in");
-  fillIdDisplay("2", ".tobago-in");
-  fillIdDisplay("3", ".tobago-in");
-  fillIdDisplay("4", ".tobago-in");
-  fillIdDisplay("5", ".tobago-date");
-//  fillIdDisplay("6", ".tobago-time");
-  fillIdDisplay("7", ".tobago-file");
-  fillIdDisplay("8", ".tobago-textarea");
-  fillIdDisplay("9", ".tobago-selectBooleanCheckbox");
-  fillIdDisplay("10", ".tobago-selectManyCheckbox");
-  fillIdDisplay("11", ".tobago-selectManyListbox");
-  fillIdDisplay("12", ".tobago-selectOneChoice");
-  fillIdDisplay("13", ".tobago-selectOneListbox");
-  fillIdDisplay("14", ".tobago-selectOneRadio");
-
-  test("page:panel2", "page:alpha");
-  test("page:field3", "page:beta");
-  test("page:panel4", "page:gamma");
-  test("page:field4", "page:delta");
-  test("page:panel5", "page:datePanel");
-  test("page:field5", "page:dateField");
-  test("page:panel6", "page:timePanel");
-  test("page:field6", "page:timeField");
-  test("page:panel7", "page:filePanel");
-  test("page:field7", "page:fileField");
-  test("page:panel8", "page:textareaPanel");
-  test("page:field8", "page:textareaField");
-  test("page:panel9", "page:selectBooleanCheckboxPanel");
-  test("page:field9", "page:selectBooleanCheckboxField");
-  test("page:panel10", "page:selectManyCheckboxPanel");
-  test("page:field10", "page:selectManyCheckboxField");
-  test("page:panel11", "page:selectManyListboxPanel");
-  test("page:field11", "page:selectManyListboxField");
-  test("page:panel12", "page:selectOneChoicePanel");
-  test("page:field12", "page:selectOneChoiceField");
-  test("page:panel13", "page:selectOneListboxPanel");
-  test("page:field13", "page:selectOneListboxField");
-  test("page:panel14", "page:selectOneRadioPanel");
-  test("page:field14", "page:selectOneRadioField");
-
-});
-
-function fillIdDisplay(i, fieldClass) {
-  var panelIn = jQuery(Tobago.Utils.escapeClientId("page:panel" + i));
-  var labelIn = jQuery(Tobago.Utils.escapeClientId("page:label" + i));
-  var fieldIn = jQuery(Tobago.Utils.escapeClientId("page:field" + i));
-
-  var panel = panelIn.prev();
-  var label = panel.children(".tobago-label");
-  var field = panel.children(fieldClass);
-
-  if (fieldClass === ".tobago-selectBooleanCheckbox") { // special
-    field = field.find("input:first");
-  }
-
-  panelIn.val(panel.attr("id"));
-  labelIn.val(label.attr("id"));
-  fieldIn.val(field.attr("id"));
-}
-
-function test(testId, expected) {
-  var element = jQuery(Tobago.Utils.escapeClientId(testId));
-  if (element.val() !== expected) {
-    element.addClass("tobago-in-markup-error");
-    element.attr("title", "expected: '" + expected + "'");
-  }
-}
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/id-and-fieldId.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/id-and-fieldId.xhtml
deleted file mode 100644
index 30e6511..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/id-and-fieldId.xhtml
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <f:facet name="layout">
-      <tc:gridLayout
-          columns="3fr 1fr 1fr 1fr"
-          rows="auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto"/>
-    </f:facet>
-    <!-- <tc:gridLayoutConstraint width="900px" height="700px"/> -->
-
-    <tc:messages>
-      <!-- <tc:gridLayoutConstraint columnSpan="4"/> -->
-    </tc:messages>
-
-    <tc:label value="Test Tag"/>
-    <tc:label value="Panel Id"/>
-    <tc:label value="Label Id"/>
-    <tc:label value="Field Id"/>
-
-    <tc:in label="auto id" required="true"/>
-    <tc:in id="panel0"/>
-    <tc:in id="label0"/>
-    <tc:in id="field0"/>
-
-    <tc:in label="auto id"/>
-    <tc:in id="panel1"/>
-    <tc:in id="label1"/>
-    <tc:in id="field1"/>
-
-    <tc:in label="id" id="alpha"/>
-    <tc:in id="panel2"/>
-    <tc:in id="label2"/>
-    <tc:in id="field2"/>
-
-    <tc:in label="fieldId" fieldId="beta"/>
-    <tc:in id="panel3"/>
-    <tc:in id="label3"/>
-    <tc:in id="field3"/>
-
-    <tc:in label="id and fieldId" id="gamma" fieldId="delta"/>
-    <tc:in id="panel4"/>
-    <tc:in id="label4"/>
-    <tc:in id="field4"/>
-
-    <tc:date label="date" id="datePanel" fieldId="dateField"/>
-    <tc:in id="panel5"/>
-    <tc:in id="label5"/>
-    <tc:in id="field5"/>
-
-    <tc:time label="time" id="timePanel" fieldId="timeField"/>
-    <tc:in id="panel6"/>
-    <tc:in id="label6"/>
-    <tc:in id="field6"/>
-
-    <tc:file label="file" id="filePanel" fieldId="fileField"/>
-    <tc:in id="panel7"/>
-    <tc:in id="label7"/>
-    <tc:in id="field7"/>
-
-    <tc:textarea label="textarea" id="textareaPanel" fieldId="textareaField"/>
-    <tc:in id="panel8"/>
-    <tc:in id="label8"/>
-    <tc:in id="field8"/>
-
-    <tc:selectBooleanCheckbox label="selectBooleanCheckbox" id="selectBooleanCheckboxPanel" fieldId="selectBooleanCheckboxField"/>
-    <tc:in id="panel9"/>
-    <tc:in id="label9"/>
-    <tc:in id="field9"/>
-
-    <tc:selectManyCheckbox label="selectManyCheckbox" id="selectManyCheckboxPanel" fieldId="selectManyCheckboxField">
-      <tc:selectItem itemLabel="A"/>
-      <tc:selectItem itemLabel="B"/>
-    </tc:selectManyCheckbox>
-    <tc:in id="panel10"/>
-    <tc:in id="label10"/>
-    <tc:in id="field10"/>
-
-    <tc:selectManyListbox label="selectManyListbox" id="selectManyListboxPanel" fieldId="selectManyListboxField">
-      <tc:selectItem itemLabel="A"/>
-      <tc:selectItem itemLabel="B"/>
-    </tc:selectManyListbox>
-    <tc:in id="panel11"/>
-    <tc:in id="label11"/>
-    <tc:in id="field11"/>
-
-    <tc:selectOneChoice label="selectOneChoice" id="selectOneChoicePanel" fieldId="selectOneChoiceField">
-      <tc:selectItem itemLabel="A"/>
-      <tc:selectItem itemLabel="B"/>
-    </tc:selectOneChoice>
-    <tc:in id="panel12"/>
-    <tc:in id="label12"/>
-    <tc:in id="field12"/>
-
-    <tc:selectOneListbox label="selectOneListbox" id="selectOneListboxPanel" fieldId="selectOneListboxField">
-      <tc:selectItem itemLabel="A"/>
-      <tc:selectItem itemLabel="B"/>
-    </tc:selectOneListbox>
-    <tc:in id="panel13"/>
-    <tc:in id="label13"/>
-    <tc:in id="field13"/>
-
-    <tc:selectOneRadio label="selectOneRadio" id="selectOneRadioPanel" fieldId="selectOneRadioField">
-      <tc:selectItem itemLabel="A"/>
-      <tc:selectItem itemLabel="B"/>
-    </tc:selectOneRadio>
-    <tc:in id="panel14"/>
-    <tc:in id="label14"/>
-    <tc:in id="field14"/>
-
-    <tc:panel/>
-    <tc:panel/>
-    <tc:panel/>
-    <tc:button label="Reload"/>
-
-    <tc:script file="test/in/id-and-fieldId.js"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in-layout.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in-layout.xhtml
deleted file mode 100644
index de4b4c2..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in-layout.xhtml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <!-- <tc:gridLayoutConstraint width="700px" height="600px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout columns="auto auto" rows="auto auto"/>
-    </f:facet>
-
-    <tc:label value="tc"/>
-    <tc:label value="tx"/>
-
-    <tc:in value="a" id="s1"/>
-    <tc:in value="b" label="normal" id="s2"/>
-    <tc:out/>
-    <tc:in value="c" label="normal breiter als breit als breit" id="s3"/>
-
-    <tc:in value="a new" id="sn1"/>
-    <tc:in value="b new" label="normal&lt;b>b&lt;/b>" id="sn2"/>
-    <tc:out/>
-    <tc:in value="c new" label="normal breiter als breit als breit" id="sn3"/>
-
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in-tx.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in-tx.xhtml
deleted file mode 100644
index b67d588..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in-tx.xhtml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <f:facet name="layout">
-      <tc:gridLayout rows="auto auto auto auto auto"/>
-    </f:facet>
-    <!-- <tc:gridLayoutConstraint width="600px" height="600px"/> -->
-
-    <tc:messages/>
-
-    <tc:in label="Label 1" value="Some Value 1" fieldId="in1" id="panel1"/>
-    <tc:in label="Label 2 (required)" value="Some Value 2" fieldId="in2" id="panel2" required="true"/>
-    <tc:in label="Label 3 (readonly)" value="Some Value 3" fieldId="in3" id="panel3" readonly="true"/>
-    <tc:in label="Label 4 (disabled)" value="Some Value 4" fieldId="in4" id="panel4" disabled="true"/>
-
-    <tc:button label="Submit" defaultCommand="true"/>
-
-    <tc:script file="script/tobago-assert.js"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in.xhtml
deleted file mode 100644
index 5f2084c..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/in/in.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page>
-
-    <tc:messages/>
-
-    <tc:segmentLayout large="8seg 4seg">
-
-      <tc:in label="First Value" value="#{in.first}"/>
-      <tc:in label="Second Value (Required)" value="#{in.second}" required="true"/>
-      <tc:date label="Second Value (Required)" value="#{in.second}" required="true"/>
-
-      <tc:button label="submit"/>
-
-    </tc:segmentLayout>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/link/link-layout.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/link/link-layout.xhtml
deleted file mode 100644
index a62a85f..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/link/link-layout.xhtml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-        xmlns:tc="http://myfaces.apache.org/tobago/component"
-        xmlns:f="http://java.sun.com/jsf/core">
-
-    <tc:page id="page">
-        <f:facet name="layout">
-            <tc:gridLayout rows="auto" columns="auto"/>
-        </f:facet>
-        <tc:box label="Tests the layout of links">
-
-            <f:facet name="layout">
-                <tc:gridLayout columns="auto auto auto auto auto auto auto"/>
-            </f:facet>
-
-            <tc:link id="l1" label="l" tip="3px"/>
-            <tc:link id="l2" label="g" tip="7px"/>
-            <tc:link id="l3" label="W" tip="11px"/>
-
-            <tc:link id="l4" label="l" image="image/feather-leaf.png" tip="16px + 4px + 3px"/>
-            <tc:link id="l5" label="g" image="image/feather-leaf.png" tip="16px + 4px + 7px"/>
-            <tc:link id="l6" label="W" image="image/feather-leaf.png" tip="16px + 4px + 11px"/>
-
-            <tc:link id="l7" image="image/feather-leaf.png" tip="16px"/>
-
-            <tc:out value="[2nd row]">
-                <!-- <tc:gridLayoutConstraint columnSpan="10"/> -->
-            </tc:out>
-
-        </tc:box>
-
-        <tc:script file="script/tobago-assert.js"/>
-        <tc:script onload="TobagoAssert.assertLayout('page:l1', 6, 26, 4, 14);"/>
-        <tc:script onload="TobagoAssert.assertLayout('page:l2', 15, 26, 8, 14);"/>
-        <tc:script onload="TobagoAssert.assertLayout('page:l3', 28, 26, 12, 14);"/>
-        <tc:script onload="TobagoAssert.assertLayout('page:l4', 45, 26, 24, 14);"/>
-        <tc:script onload="TobagoAssert.assertLayout('page:l5', 74, 26, 28, 14);"/>
-        <tc:script onload="TobagoAssert.assertLayout('page:l6', 107, 26, 32, 14);"/>
-        <tc:script onload="TobagoAssert.assertLayout('page:l7', 144, 26, 16, 14);"/>
-
-    </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/section/section.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/section/section.xhtml
deleted file mode 100644
index 6d7a643..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/section/section.xhtml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <tc:flowLayout>
-
-      <tc:section label="Main Section" image="fa-heart">
-        <tc:section label="1st Sub-Section">
-          1st content
-        </tc:section>
-        <tc:section>
-          2nd content (title has no label nor image)
-        </tc:section>
-        <tc:section label="3rd Sub-Section with image" image="fa-star">
-          3rd content
-        </tc:section>
-        <tc:section image="fa-star-o">
-          4th content (title has only an image)
-          <tc:section label="Sub-Sub-Section" image="fa-star-o">
-            <tc:section label="Sub-Sub-Sub-Section" image="fa-star-o">
-              <tc:section label="Sub-Sub-Sub-Sub-Section" image="fa-star-o">
-                <tc:section label="Sub-Sub-Sub-Sub-Sub-Section" image="fa-star-o">
-                  Level 6
-                </tc:section>
-              </tc:section>
-            </tc:section>
-          </tc:section>
-        </tc:section>
-
-      </tc:section>
-    </tc:flowLayout>
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-with-label-facet.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-with-label-facet.xhtml
deleted file mode 100644
index a77818a..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-with-label-facet.xhtml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <!-- <tc:gridLayoutConstraint width="600px" height="300px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout rows="auto 1fr"/>
-    </f:facet>
-
-    <tc:separator id="sep-0">
-      <f:facet name="label">
-        <tc:label value="Label (Ög) is deprecated"/>
-      </f:facet>
-    </tc:separator>
-    <tc:panel/>
-
-    <tc:script file="script/tobago-assert.js"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:sep-0', 0, 0, 600, 14);"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-with-label.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-with-label.xhtml
deleted file mode 100644
index 6461932..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-with-label.xhtml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <!-- <tc:gridLayoutConstraint width="600px" height="300px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout rows="auto 1fr"/>
-    </f:facet>
-
-    <tc:separator label="Label (Ög)" id="sep-0"/>
-    <tc:panel/>
-
-    <tc:script file="script/tobago-assert.js"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:sep-0', 0, 0, 600, 14);"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-without-label.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-without-label.xhtml
deleted file mode 100644
index 6ab2bc9..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/separator/separator-without-label.xhtml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <!-- <tc:gridLayoutConstraint width="600px" height="300px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout rows="auto 1fr"/>
-    </f:facet>
-
-    <tc:separator id="sep-0"/>
-    <tc:panel/>
-
-    <tc:script file="script/tobago-assert.js"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:sep-0', 0, 0, 600, 1);"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/suggest/tc-in-suggest.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/suggest/tc-in-suggest.xhtml
deleted file mode 100644
index 05aba8d..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/suggest/tc-in-suggest.xhtml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-        xmlns:tc="http://myfaces.apache.org/tobago/component"
-        xmlns:ui="http://java.sun.com/jsf/facelets"
-        xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page>
-    <f:facet name="layout">
-      <tc:gridLayout/>
-    </f:facet>
-    <!-- <tc:gridLayoutConstraint width="600px" height="300px"/> -->
-
-    <tc:in value="some value" required="true" tabIndex="1"
-           tip="test" suggestMethod="#{inputSuggest.inputSuggestItems}"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/suggest/tx-in-suggest.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/suggest/tx-in-suggest.xhtml
deleted file mode 100644
index 7669c22..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/suggest/tx-in-suggest.xhtml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-   
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page>
-    <f:facet name="layout">
-      <tc:gridLayout/>
-    </f:facet>
-    <!-- <tc:gridLayoutConstraint width="600px" height="300px"/> -->
-
-    <tc:in value="some value" required="true" label="Suggest"
-           tip="test" suggestMethod="#{inputSuggest.inputSuggestItems}"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/text/textarea-layout.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/text/textarea-layout.xhtml
deleted file mode 100644
index 1a2b292..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/text/textarea-layout.xhtml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page id="page">
-    <!-- <tc:gridLayoutConstraint width="700px" height="600px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout columns="auto auto" rows="auto auto"/>
-    </f:facet>
-
-    <tc:label value="tc"/>
-    <tc:label value="tx"/>
-
-    <tc:textarea value="a" id="s1"/>
-    <tc:textarea value="b" label="normal" fieldId="s2"/>
-
-    <tc:script file="script/tobago-assert.js"/>
-
-    <tc:script onload="TobagoAssert.assertLayout('page:s1', 0, 25, 200, 33);"/>
-    <tc:script onload="TobagoAssert.assertLayout('page:s2', 330, 25, 200, 33);"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/time/time.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/time/time.xhtml
deleted file mode 100644
index f781c3e..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/time/time.xhtml
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-
-<!-- XXX This is an old page. Content might not be up to date. Needs to be refactored, or just deleted. -->
-<f:view
-    xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:f="http://java.sun.com/jsf/core">
-
-  <tc:page>
-    <tc:box>
-      <f:facet name="layout">
-        <tc:gridLayout columns="1fr 1fr 1fr" rows="auto auto auto auto auto auto auto auto 1fr auto"/>
-      </f:facet>
-      <!-- <tc:gridLayoutConstraint width="900px" height="300px" marginLeft="10px" marginTop="10px" marginRight="10px"/> -->
-
-      <tc:date>
-        <f:convertDateTime type="time"/>
-      </tc:date>
-      <tc:date>
-        <f:convertDateTime type="time" pattern="HH:mm:ss"/>
-      </tc:date>
-      <tc:in value="for comparison only"/>
-
-      <tc:date readonly="true">
-        <f:convertDateTime type="time"/>
-      </tc:date>
-      <tc:date readonly="true">
-        <f:convertDateTime type="time" pattern="HH:mm:ss"/>
-      </tc:date>
-      <tc:in value="for comparison only" readonly="true"/>
-
-      <tc:date disabled="true">
-        <f:convertDateTime type="time"/>
-      </tc:date>
-      <tc:date disabled="true">
-        <f:convertDateTime type="time" pattern="HH:mm:ss"/>
-      </tc:date>
-      <tc:in value="for comparison only" disabled="true"/>
-
-      <tc:date markup="error">
-        <f:convertDateTime type="time"/>
-      </tc:date>
-      <tc:date markup="error">
-        <f:convertDateTime type="time" pattern="HH:mm:ss"/>
-      </tc:date>
-      <tc:in value="for comparison only" markup="error"/>
-
-      <tc:date label="Label">
-        <f:convertDateTime type="time"/>
-      </tc:date>
-      <tc:date label="Label">
-        <f:convertDateTime type="time" pattern="HH:mm:ss"/>
-      </tc:date>
-      <tc:in label="Label" value="for comparison only"/>
-
-      <tc:date label="Label" readonly="true">
-        <f:convertDateTime type="time"/>
-      </tc:date>
-      <tc:date label="Label" readonly="true">
-        <f:convertDateTime type="time" pattern="HH:mm:ss"/>
-      </tc:date>
-      <tc:in label="Label" value="for comparison only" readonly="true"/>
-
-      <tc:date label="Label" disabled="true">
-        <f:convertDateTime type="time"/>
-      </tc:date>
-      <tc:date label="Label" disabled="true">
-        <f:convertDateTime type="time" pattern="HH:mm:ss"/>
-      </tc:date>
-      <tc:in label="Label" value="for comparison only" disabled="true"/>
-
-      <tc:date label="Label" markup="error">
-        <f:convertDateTime type="time"/>
-      </tc:date>
-      <tc:date label="Label" markup="error">
-        <f:convertDateTime type="time" pattern="HH:mm:ss"/>
-      </tc:date>
-      <tc:in label="Label" value="for comparison only" markup="error"/>
-
-      <tc:panel/>
-      <tc:panel/>
-      <tc:panel/>
-
-      <tc:panel/>
-      <tc:panel/>
-      <tc:button label="Submit"/>
-
-    </tc:box>
-  </tc:page>
-</f:view>

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.