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 2017/11/23 08:58:52 UTC

[myfaces-tobago] branch master updated (059438e -> 7d62989)

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 059438e  TOBAGO-1826: Possibility to access the "markup"s via JavaScript
     new 9a872fe  TOBAGO-1782: Clean up * remove sandbox
     new c1a8c6b  TOBAGO-1782: Clean up * remove tc:calendar
     new 7d62989  TOBAGO-1782: Clean up * remove tc:calendar

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:
 pom.xml                                            |   1 -
 tobago-assembly/pom.xml                            |  25 --
 tobago-assembly/src/main/assembly/dep.xml          |  18 --
 tobago-assembly/src/main/resources/README.txt      |   5 +-
 .../renderkit/renderer/CalendarRenderer.java       |  45 ----
 .../taglib/component/CalendarTagDeclaration.java   |  58 -----
 .../apache/myfaces/tobago/model/CalendarModel.java |  97 -------
 .../tobago/example/demo/EventController.java       |   2 -
 .../22-exception-handler/exception-handler.xhtml   |   9 +-
 tobago-extension/pom.xml                           |  40 ---
 tobago-extension/tobago-sandbox/pom.xml            | 289 ---------------------
 tobago-extension/tobago-sandbox/readme.txt         |   6 -
 .../src/main/appended-resources/META-INF/NOTICE    |   3 -
 .../src/main/faces-config/faces-config.xml         |  28 --
 .../internal/component/AbstractUINumberSlider.java |  54 ----
 .../taglib/sandbox/NumberSliderTagDeclaration.java |  70 -----
 .../internal/taglib/sandbox/package-info.java      |  33 ---
 .../sandbox/standard/tag/NumberSliderRenderer.java | 187 -------------
 .../sandbox/tobago-bootstrap/3.1.0/css/tobago.css  |  49 ----
 .../tobago-bootstrap/3.1.0/image/sliderEnd.png     | Bin 71 -> 0 bytes
 .../3.1.0/image/sliderTriangle.png                 | Bin 92 -> 0 bytes
 .../sandbox/tobago-bootstrap/3.1.0/js/tobago.js    |  81 ------
 .../src/main/resources/META-INF/tobago-config.xml  |  47 ----
 23 files changed, 6 insertions(+), 1141 deletions(-)
 delete mode 100644 tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/CalendarRenderer.java
 delete mode 100644 tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/CalendarTagDeclaration.java
 delete mode 100644 tobago-core/src/main/java/org/apache/myfaces/tobago/model/CalendarModel.java
 delete mode 100644 tobago-extension/pom.xml
 delete mode 100644 tobago-extension/tobago-sandbox/pom.xml
 delete mode 100644 tobago-extension/tobago-sandbox/readme.txt
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/appended-resources/META-INF/NOTICE
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/faces-config/faces-config.xml
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUINumberSlider.java
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/taglib/sandbox/NumberSliderTagDeclaration.java
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/taglib/sandbox/package-info.java
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/NumberSliderRenderer.java
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/css/tobago.css
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/image/sliderEnd.png
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/image/sliderTriangle.png
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/js/tobago.js
 delete mode 100644 tobago-extension/tobago-sandbox/src/main/resources/META-INF/tobago-config.xml

-- 
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <co...@myfaces.apache.org>'].

[myfaces-tobago] 03/03: TOBAGO-1782: Clean up * remove tc:calendar

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 7d62989c17b6fd8591baecc051e39d3d665ba563
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Nov 23 09:58:41 2017 +0100

    TOBAGO-1782: Clean up
    * remove tc:calendar
---
 .../30-concept/22-exception-handler/exception-handler.xhtml      | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/22-exception-handler/exception-handler.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/22-exception-handler/exception-handler.xhtml
index 4182941..d718340 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/22-exception-handler/exception-handler.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/22-exception-handler/exception-handler.xhtml
@@ -26,13 +26,14 @@
   <ui:param name="title" value="#{demoBundle.exception_handler}"/>
   <p>Since Tobago 4.0.0 an AjaxExceptionHandler takes care of exceptions in ajax case.</p>
   <p><span class="#{demo:bootstrapClass('BADGE')} #{demo:bootstrapClass('BADGE_DANGER')}">Important!</span>
-    The exception has to be throwns before the renderer phase.<br/>
-    To achieve that,
-    you can use <code class="language-markup">&lt;f:event type="preRenderView" listener="..."/></code>.</p>
+    The exception has to be throwns before the renderer phase.
+    This is the case, in normal actions, but if you need e. g. some initialization of data in a page, you
+    can achieve that with an
+    <code class="language-markup">&lt;f:event type="preRenderView" listener="\#{bean.doSomeCriticalWork}"/></code>.</p>
 
   <tc:section label="Example One">
     <p>The output field is updated after an change event of the input field.</p>
-    <p>Set the input value to '<b>x</b>' to throw an exeption.</p>
+    <p>Set the input value to <b>'x'</b> to throw an exeption.</p>
 
     <tc:in id="inputAjax" label="Input" value="#{exceptionHandlerController.value}">
       <f:ajax render="outputAjax" listener="#{exceptionHandlerController.update}"/>

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.

[myfaces-tobago] 01/03: TOBAGO-1782: Clean up * remove sandbox

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 9a872fe33598855798c209582cce2912c893a662
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Nov 22 16:55:49 2017 +0100

    TOBAGO-1782: Clean up
    * remove sandbox
---
 pom.xml                                            |   1 -
 tobago-assembly/pom.xml                            |  25 --
 tobago-assembly/src/main/assembly/dep.xml          |  18 --
 tobago-assembly/src/main/resources/README.txt      |   5 +-
 tobago-extension/pom.xml                           |  40 ---
 tobago-extension/tobago-sandbox/pom.xml            | 289 ---------------------
 tobago-extension/tobago-sandbox/readme.txt         |   6 -
 .../src/main/appended-resources/META-INF/NOTICE    |   3 -
 .../src/main/faces-config/faces-config.xml         |  28 --
 .../internal/component/AbstractUINumberSlider.java |  54 ----
 .../taglib/sandbox/NumberSliderTagDeclaration.java |  70 -----
 .../internal/taglib/sandbox/package-info.java      |  33 ---
 .../sandbox/standard/tag/NumberSliderRenderer.java | 187 -------------
 .../sandbox/tobago-bootstrap/3.1.0/css/tobago.css  |  49 ----
 .../tobago-bootstrap/3.1.0/image/sliderEnd.png     | Bin 71 -> 0 bytes
 .../3.1.0/image/sliderTriangle.png                 | Bin 92 -> 0 bytes
 .../sandbox/tobago-bootstrap/3.1.0/js/tobago.js    |  81 ------
 .../src/main/resources/META-INF/tobago-config.xml  |  47 ----
 18 files changed, 1 insertion(+), 935 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2084414..cfd66b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1013,7 +1013,6 @@
     <module>tobago-tool</module>
     <module>tobago-core</module>
     <module>tobago-theme</module>
-    <module>tobago-extension</module>
     <module>tobago-example</module>
     <module>tobago-assembly</module>
   </modules>
diff --git a/tobago-assembly/pom.xml b/tobago-assembly/pom.xml
index 6419371..f14b933 100644
--- a/tobago-assembly/pom.xml
+++ b/tobago-assembly/pom.xml
@@ -52,12 +52,6 @@
       <version>${project.version}</version>
     </dependency>
     <dependency>
-      <groupId>org.apache.myfaces.tobago</groupId>
-      <artifactId>tobago-sandbox</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
       <groupId>org.apache.geronimo.specs</groupId>
       <artifactId>geronimo-servlet_3.0_spec</artifactId>
       <scope>provided</scope>
@@ -121,25 +115,6 @@
                 </configuration>
               </execution-->
 
-              <execution>
-                <id>copy-sandbox</id>
-                <phase>generate-resources</phase>
-                <goals>
-                  <goal>copy</goal>
-                </goals>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>${project.groupId}</groupId>
-                      <artifactId>tobago-sandbox</artifactId>
-                      <version>${project.version}</version>
-                    </artifactItem>
-                  </artifactItems>
-                  <outputDirectory>${project.build.directory}/sandbox
-                  </outputDirectory>
-                </configuration>
-              </execution>
-
 <!--
 XXX TOBAGO-1654
               <execution>
diff --git a/tobago-assembly/src/main/assembly/dep.xml b/tobago-assembly/src/main/assembly/dep.xml
index 5d577f0..985bd8c 100644
--- a/tobago-assembly/src/main/assembly/dep.xml
+++ b/tobago-assembly/src/main/assembly/dep.xml
@@ -55,17 +55,6 @@
       <directory>target/tld/META-INF/org/apache/myfaces/tobago/internal/taglib/component/</directory>
       <outputDirectory>tld</outputDirectory>
     </fileSet>
-     <fileSet>
-      <directory>target/tld/META-INF/org/apache/myfaces/tobago/internal/taglib/extension/</directory>
-      <outputDirectory>tld</outputDirectory>
-    </fileSet>
-    <fileSet>
-      <directory>target/extension</directory>
-      <outputDirectory>extension</outputDirectory>
-      <includes>
-        <include>*.jar</include>
-      </includes>
-    </fileSet>
     <fileSet>
       <directory>target/src</directory>
       <outputDirectory>src</outputDirectory>
@@ -73,12 +62,5 @@
         <include>*.jar</include>
       </includes>
     </fileSet>
-    <fileSet>
-      <directory>target/sandbox</directory>
-      <outputDirectory>sandbox</outputDirectory>
-      <includes>
-        <include>*.jar</include>
-      </includes>
-    </fileSet>
   </fileSets>
 </assembly>
diff --git a/tobago-assembly/src/main/resources/README.txt b/tobago-assembly/src/main/resources/README.txt
index 15e36be..205a522 100644
--- a/tobago-assembly/src/main/resources/README.txt
+++ b/tobago-assembly/src/main/resources/README.txt
@@ -1,6 +1,3 @@
 Thank you for using Apache Tobago.
 
-The distribution of Apache Tobago requires Java 6 or higher.
-
-Warning: The tobago-sandbox.jar contains unstable components.
-Everything is subject to change without prior notice.
\ No newline at end of file
+The distribution of Apache Tobago requires Java 8 or higher.
diff --git a/tobago-extension/pom.xml b/tobago-extension/pom.xml
deleted file mode 100644
index e2cbf0b..0000000
--- a/tobago-extension/pom.xml
+++ /dev/null
@@ -1,40 +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 withA
- *
- *      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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.myfaces.tobago</groupId>
-    <artifactId>tobago</artifactId>
-    <version>4.0.0-SNAPSHOT</version>
-  </parent>
-  <packaging>pom</packaging>
-  <name>Tobago Extensions</name>
-  <artifactId>tobago-extension</artifactId>
-
-  <modules>
-    <module>tobago-sandbox</module>
-  </modules>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.myfaces.core</groupId>
-      <artifactId>myfaces-api</artifactId>
-      <optional>true</optional>
-    </dependency>
-  </dependencies>
-
-</project>
diff --git a/tobago-extension/tobago-sandbox/pom.xml b/tobago-extension/tobago-sandbox/pom.xml
deleted file mode 100644
index c98a09d..0000000
--- a/tobago-extension/tobago-sandbox/pom.xml
+++ /dev/null
@@ -1,289 +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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.myfaces.tobago</groupId>
-    <artifactId>tobago-extension</artifactId>
-    <version>4.0.0-SNAPSHOT</version>
-  </parent>
-  <artifactId>tobago-sandbox</artifactId>
-  <packaging>jar</packaging>
-  <name>Tobago Sandbox</name>
-
-  <build>
-
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>add-source</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>add-source</goal>
-            </goals>
-            <configuration>
-              <sources>
-                <source>${project.build.directory}/generated</source>
-              </sources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <executions>
-          <execution>
-          <id>unpack-sources</id>
-          <phase>generate-sources</phase>
-          <goals><goal>unpack</goal></goals>
-          <configuration>
-            <artifactItems>
-              <artifactItem>
-                <groupId>org.apache.myfaces.tobago</groupId>
-                <artifactId>tobago-core</artifactId>
-                <version>${project.version}</version>
-                <type>jar</type>
-                <classifier>sources</classifier>
-                <includes>org/apache/myfaces/tobago/internal/taglib/declaration/**/*</includes>                  
-              </artifactItem>
-            </artifactItems>
-            <outputDirectory>${project.build.directory}/tobago-core-sources</outputDirectory>
-          </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.bsc.maven</groupId>
-        <artifactId>maven-processor-plugin</artifactId>
-        <version>2.2.4</version>
-        <executions>
-          <execution>
-            <id>process</id>
-            <goals>
-              <goal>process</goal>
-            </goals>
-            <phase>generate-sources</phase>
-            <configuration>
-              <!-- source output directory -->
-              <additionalSourceDirectories>
-                <additionalSourceDirectory>${project.build.directory}/tobago-core-sources</additionalSourceDirectory>
-              </additionalSourceDirectories>
-              <outputDirectory>${project.build.directory}/generated</outputDirectory>
-              <processors>
-                <processor>org.apache.myfaces.tobago.apt.processor.ClassesGenerator</processor>
-                <processor>org.apache.myfaces.tobago.apt.processor.TaglibGenerator</processor>
-                <processor>org.apache.myfaces.tobago.apt.processor.FacesConfigGenerator</processor>
-              </processors>
-              <optionMap>
-                <sourceFacesConfig>${basedir}/src/main/faces-config/faces-config.xml</sourceFacesConfig>
-                <targetFacesConfig>META-INF/faces-config.xml</targetFacesConfig>
-                <targetTaglib>META-INF</targetTaglib>
-              </optionMap>
-            </configuration>
-          </execution>
-        </executions>
-        <dependencies>
-          <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-jdk14</artifactId>
-            <version>${slf4j.version}</version>
-          </dependency>
-        </dependencies>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>${maven.compile.source}</source>
-          <target>${maven.compile.target}</target>
-          <encoding>${maven.compile.encoding}</encoding>
-          <showWarnings>true</showWarnings>
-          <excludes>
-            <exclude>workaround-because-otherwise-this-will-be-excluded-in-the-next-step</exclude>
-            <exclude>org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/SelectManyShuttleRenderer.java</exclude>
-          </excludes>
-        </configuration>
-        <executions>
-          <execution>
-            <id>compile</id>
-            <goals><goal>compile</goal></goals>
-            <configuration>
-              <source>${maven.compile.source}</source>
-              <target>${maven.compile.target}</target>
-              <encoding>${maven.compile.encoding}</encoding>
-              <showWarnings>true</showWarnings>
-              <includes>
-                <include>org/apache/myfaces/tobago/internal/taglib/*</include>
-                <include>org/apache/myfaces/tobago/component/*</include>
-                <include>org/apache/myfaces/tobago/renderkit/*</include>
-                <include>org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/SelectManyShuttleRenderer.java</include>
-              </includes>
-              <excludes>
-                <exclude>test</exclude>
-              </excludes>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <artifactId>maven-resources-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>copy-resources</id>
-            <goals><goal>copy-resources</goal></goals>
-            <phase>process-classes</phase>
-            <configuration>
-              <outputDirectory>${project.build.outputDirectory}</outputDirectory>
-              <resources>
-                <resource>
-                  <directory>${project.build.directory}/generated</directory>
-                  <includes>
-                    <include>META-INF/**/*</include>
-                  </includes>
-                </resource>
-              </resources>
-            </configuration>
-          </execution>
-          <execution>
-            <id>copy-tld</id>
-            <goals><goal>copy-resources</goal></goals>
-            <phase>process-classes</phase>
-            <configuration>
-              <outputDirectory>${project.build.outputDirectory}</outputDirectory>
-              <resources>
-                <resource>
-                  <targetPath>META-INF</targetPath>
-                  <directory>${project.build.directory}/generated</directory>
-                </resource>
-              </resources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <reporting>
-    <plugins>
-
-      <plugin>
-        <groupId>com.github.matinh.vdldoc</groupId>
-        <artifactId>vdldoc-maven-plugin</artifactId>
-        <configuration>
-          <destDir>tlddoc</destDir>
-          <documentTitle>Tag Library Documentation</documentTitle>
-          <excludes>
-            <exclude>target/classes/**</exclude>
-          </excludes>
-          <includes>
-            <include>target/generated/META-INF/tobago-sandbox.taglib.xml</include>
-          </includes>
-          <reportOutputDirectory>target</reportOutputDirectory>
-        </configuration>
-      </plugin>
-
-    </plugins>
-  </reporting>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.myfaces.tobago</groupId>
-      <artifactId>tobago-tool-apt</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.myfaces.tobago</groupId>
-      <artifactId>tobago-tool-annotation</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.myfaces.tobago</groupId>
-      <artifactId>tobago-core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.myfaces.tobago</groupId>
-      <artifactId>tobago-core</artifactId>
-      <version>${project.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.myfaces.test</groupId>
-      <artifactId>myfaces-test20</artifactId>
-    </dependency>
-  </dependencies>
-
-  <profiles>
-    <profile>
-      <id>generate-assembly</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>com.github.matinh.vdldoc</groupId>
-            <artifactId>vdldoc-maven-plugin</artifactId>
-            <configuration>
-              <destDir>tlddoc</destDir>
-              <documentTitle>Tag Library Documentation</documentTitle>
-              <excludes>
-                <exclude>target/classes/**</exclude>
-              </excludes>
-              <includes>
-                <include>target/generated/META-INF/tobago-sandbox.taglib.xml</include>
-              </includes>
-              <reportOutputDirectory>target</reportOutputDirectory>
-            </configuration>
-            <executions>
-              <execution>
-                <id>attach-tlddoc</id>
-                <phase>generate-sources</phase>
-                <goals>
-                  <goal>vdldoc</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <id>attach-source</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-source</id>
-                <goals><goal>jar</goal></goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
-  </profiles>
-</project>
diff --git a/tobago-extension/tobago-sandbox/readme.txt b/tobago-extension/tobago-sandbox/readme.txt
deleted file mode 100644
index 1ee8535..0000000
--- a/tobago-extension/tobago-sandbox/readme.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Building
---------
-
-This arifact requires the tobago-core-sources.jar artifact.
-The tobago-core-sources.jar is generated with the profile
-attach-source in core (mvn -P attach-source).
diff --git a/tobago-extension/tobago-sandbox/src/main/appended-resources/META-INF/NOTICE b/tobago-extension/tobago-sandbox/src/main/appended-resources/META-INF/NOTICE
deleted file mode 100644
index 31df991..0000000
--- a/tobago-extension/tobago-sandbox/src/main/appended-resources/META-INF/NOTICE
+++ /dev/null
@@ -1,3 +0,0 @@
-Based on source code originally developed by
-Atanion GmbH (http://www.atanion.com/)
-Copyright 2002-2005 Atanion GmbH,
diff --git a/tobago-extension/tobago-sandbox/src/main/faces-config/faces-config.xml b/tobago-extension/tobago-sandbox/src/main/faces-config/faces-config.xml
deleted file mode 100644
index 8cd7a9a..0000000
--- a/tobago-extension/tobago-sandbox/src/main/faces-config/faces-config.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.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.
--->
-
-<faces-config
-    xmlns="http://java.sun.com/xml/ns/javaee"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
-    version="2.0">
-
-  <name>tobago_sandbox</name>
-
-</faces-config>
diff --git a/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUINumberSlider.java b/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUINumberSlider.java
deleted file mode 100644
index a10cb79..0000000
--- a/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUINumberSlider.java
+++ /dev/null
@@ -1,54 +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.
- */
-
-package org.apache.myfaces.tobago.internal.component;
-
-import org.apache.myfaces.tobago.apt.annotation.Preliminary;
-import org.apache.myfaces.tobago.component.Visual;
-
-import javax.faces.context.FacesContext;
-import javax.faces.validator.LongRangeValidator;
-import javax.faces.validator.ValidatorException;
-
-/**
- * <p>
- * WARNING: This component is preliminary and may be changed without a major release.
- * </p>
- */
-@Preliminary
-public abstract class AbstractUINumberSlider extends javax.faces.component.UIInput implements Visual {
-
-  public abstract Integer getMin();
-
-  public abstract Integer getMax();
-
-  public abstract boolean isReadonly();
-  
-  public abstract boolean isDisabled();
-
-  @Override
-  public void validate(final FacesContext context) {
-    super.validate(context);
-    try {
-      new LongRangeValidator(getMax(), getMin()).validate(context, this, getValue());
-    } catch (final ValidatorException e) {
-      context.addMessage(getClientId(context), e.getFacesMessage());
-    }
-  }
-}
diff --git a/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/taglib/sandbox/NumberSliderTagDeclaration.java b/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/taglib/sandbox/NumberSliderTagDeclaration.java
deleted file mode 100644
index eebfae4..0000000
--- a/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/taglib/sandbox/NumberSliderTagDeclaration.java
+++ /dev/null
@@ -1,70 +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.
- */
-
-package org.apache.myfaces.tobago.internal.taglib.sandbox;
-
-import org.apache.myfaces.tobago.apt.annotation.Preliminary;
-import org.apache.myfaces.tobago.apt.annotation.Tag;
-import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
-import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
-import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
-import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
-import org.apache.myfaces.tobago.internal.taglib.declaration.HasValue;
-import org.apache.myfaces.tobago.internal.taglib.declaration.HasValueChangeListener;
-import org.apache.myfaces.tobago.internal.taglib.declaration.IsDisabled;
-import org.apache.myfaces.tobago.internal.taglib.declaration.IsReadonly;
-import org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual;
-
-import javax.faces.component.UIInput;
-
-/**
- * <p>
- * WARNING: This component is preliminary and may be changed without a major release.
- * </p>
- *
- * Renders a slider to select a number in a range.
- */
-@Preliminary
-@Tag(name = "numberSlider")
-@UIComponentTag(
-    uiComponent = "org.apache.myfaces.tobago.component.UINumberSlider",
-    uiComponentBaseClass = "org.apache.myfaces.tobago.internal.component.AbstractUINumberSlider",
-    uiComponentFacesClass = "javax.faces.component.UIInput",
-    componentFamily = UIInput.COMPONENT_FAMILY,
-    rendererType = "NumberSlider")
-public interface NumberSliderTagDeclaration
-    extends HasIdBindingAndRendered, IsReadonly, IsDisabled,
-    HasValue, HasValueChangeListener, IsVisual {
-
-  /**
-   * The minimum integer that can be entered and which represents the left
-   * border of the slider.
-   */
-  @TagAttribute()
-  @UIComponentTagAttribute(type = "java.lang.Integer", defaultValue = "0")
-  void setMin(String min);
-
-  /**
-   * The maximum integer that can be entered and which represents the right
-   * border of the slider.
-   */
-  @TagAttribute()
-  @UIComponentTagAttribute(type = "java.lang.Integer", defaultValue = "100")
-  void setMax(String max);
-}
diff --git a/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/taglib/sandbox/package-info.java b/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/taglib/sandbox/package-info.java
deleted file mode 100644
index 8b62b42..0000000
--- a/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/internal/taglib/sandbox/package-info.java
+++ /dev/null
@@ -1,33 +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.
- */
-
-/**
- * <b>Tobago Framework Sandbox Tag Library 3.0.x -
- * (C) Copyright 2002-2017 The Apache Software Foundation</b>
- *
- * <b>Warning: The sandbox tag library contains unstable components.
- * Everything is subject to change without prior notice.</b>
- */
-@org.apache.myfaces.tobago.apt.annotation.Taglib(
-    shortName = "tcs",
-    uri = "http://myfaces.apache.org/tobago/sandbox",
-    name = "tobago-sandbox",
-    displayName = "Tobago Sandbox 3.0.x")
-
-package org.apache.myfaces.tobago.internal.taglib.sandbox;
diff --git a/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/NumberSliderRenderer.java b/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/NumberSliderRenderer.java
deleted file mode 100644
index aac9208..0000000
--- a/tobago-extension/tobago-sandbox/src/main/java/org/apache/myfaces/tobago/renderkit/html/sandbox/standard/tag/NumberSliderRenderer.java
+++ /dev/null
@@ -1,187 +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.
- */
-
-package org.apache.myfaces.tobago.renderkit.html.sandbox.standard.tag;
-
-import org.apache.myfaces.tobago.apt.annotation.Preliminary;
-import org.apache.myfaces.tobago.internal.component.AbstractUINumberSlider;
-import org.apache.myfaces.tobago.internal.util.HtmlRendererUtils;
-import org.apache.myfaces.tobago.renderkit.RendererBase;
-import org.apache.myfaces.tobago.renderkit.html.HtmlAttributes;
-import org.apache.myfaces.tobago.renderkit.html.HtmlElements;
-import org.apache.myfaces.tobago.renderkit.html.HtmlRoleValues;
-import org.apache.myfaces.tobago.util.ComponentUtils;
-import org.apache.myfaces.tobago.webapp.TobagoResponseWriter;
-
-import javax.faces.component.UIComponent;
-import javax.faces.component.UIInput;
-import javax.faces.context.FacesContext;
-import java.io.IOException;
-import java.util.Map;
-
-/**
- * <p>
- * WARNING: This component is preliminary and may be changed without a major release.
- * </p>
- */
-@Preliminary
-public class NumberSliderRenderer extends RendererBase {
-
-  @Override
-  public void encodeEnd(final FacesContext facesContext, final UIComponent component) throws IOException {
-
-    final AbstractUINumberSlider slider = (AbstractUINumberSlider) component;
-    
-    final String id = slider.getClientId(facesContext);
-    final String currentValue = getCurrentValue(facesContext, slider);
-    final boolean readonly = slider.isReadonly();
-    final boolean disabled = slider.isDisabled();
-    final Integer min = slider.getMin();
-    final Integer max = slider.getMax();
-    final TobagoResponseWriter writer = getResponseWriter(facesContext);
-
-//    final Style style = slider.getStyle();
-//    final int width = -1;
-//    int sliderWidthPerc
-//        = getResourceManager().getThemeMeasure(facesContext, slider, SLIDER_WIDTH_PERCENT).getPixel();
-//      if (sliderWidthPerc <= 25) {
-//        sliderWidthPerc = 25;
-//      }
-//      if (sliderWidthPerc >= 75) {
-//        sliderWidthPerc = 75;
-//      }
-//    int sliderWidth = 100; // fixme
-//    int inputWidth = 50; // fixme;
-//    if (style.getWidth() != null && style.getWidth().getPixel() >= 0) {
-//      sliderWidth = (width * sliderWidthPerc) / 100;
-//      inputWidth = (width * (100 - sliderWidthPerc)) / 100;
-//    }
-
-    writer.startElement(HtmlElements.TABLE);
-    writer.writeAttribute(HtmlAttributes.ROLE, HtmlRoleValues.PRESENTATION.toString(), false);
-    writer.writeIdAttribute(id);
-    writer.writeClassAttribute(/*Classes.create(slider), */slider.getCustomClass());
-    HtmlRendererUtils.writeDataAttributes(facesContext, writer, slider);
-    //writer.writeAttribute(HtmlAttributes.border,"1",false);
-
-    writer.startElement(HtmlElements.TR);
-    writer.startElement(HtmlElements.TD);
-//    writer.writeClassAttribute(Classes.create(slider, "min"));
-
-//    final Style widthStyle = new Style();
-//    widthStyle.setWidth(Measure.valueOf(sliderWidth / 2));
-//    writer.writeStyleAttribute(widthStyle);
-    writer.startElement(HtmlElements.SPAN);
-//    writer.writeClassAttribute(Classes.create(slider, "min"));
-    writer.write(Integer.toString(min));
-    writer.endElement(HtmlElements.SPAN);
-
-    writer.endElement(HtmlElements.TD);
-    writer.startElement(HtmlElements.TD);
-//    writer.writeClassAttribute(Classes.create(slider, "max"));
-//    writer.writeStyleAttribute(widthStyle);
-    writer.startElement(HtmlElements.SPAN);
-//    writer.writeClassAttribute(Classes.create(slider, "max"));
-    writer.write(Integer.toString(max));
-    writer.endElement(HtmlElements.SPAN);
-    writer.endElement(HtmlElements.TD);
-
-    // the input field starts here
-    writer.startElement(HtmlElements.TD);
-    writer.writeAttribute(HtmlAttributes.ROWSPAN, "2", false);
-//    writer.writeClassAttribute(Classes.create(slider, "td"));
-
-    writer.startElement(HtmlElements.INPUT);
-//    writer.writeClassAttribute(Classes.create(slider, "input"));
-//    widthStyle.setWidth(Measure.valueOf(inputWidth));
-//    writer.writeStyleAttribute(widthStyle);
-    final String inputIdAndName = getIdForInputField(facesContext, slider);
-    writer.writeNameAttribute(inputIdAndName);
-    writer.writeIdAttribute(inputIdAndName);
-    if (currentValue != null) {
-      writer.writeAttribute(HtmlAttributes.VALUE, currentValue, false);
-    }
-    writer.writeAttribute(HtmlAttributes.READONLY, readonly);
-    writer.writeAttribute(HtmlAttributes.DISABLED, disabled);
-    writer.endElement(HtmlElements.INPUT);
-    writer.endElement(HtmlElements.TD);
-
-    writer.endElement(HtmlElements.TR);
-    writer.startElement(HtmlElements.TR);
-    writer.startElement(HtmlElements.TD);
-    writer.writeAttribute(HtmlAttributes.COLSPAN, 2);
-
-    //track
-    writer.startElement(HtmlElements.DIV);
-//    writer.writeClassAttribute(Classes.create(slider, "slider"));
-    writer.writeIdAttribute(getIdForSliderTrack(facesContext, slider));
-
-    // handle
-    writer.startElement(HtmlElements.DIV);
-    writer.writeIdAttribute(getIdForSliderHandle(facesContext, slider));
-//    final Style handleStyle = new Style();
-//    handleStyle.setPosition(Position.relative);
-//    handleStyle.setTop(Measure.valueOf(-6));
-//    handleStyle.setWidth(Measure.valueOf(12));
-//    handleStyle.setHeight(Measure.valueOf(6));
-//    writer.writeStyleAttribute(handleStyle); // todo: why not do that via the class?
-    writer.startElement(HtmlElements.IMG);
-    writer.writeAttribute(HtmlAttributes.SRC, facesContext.getExternalContext().getRequestContextPath(), true);
-    writer.endElement(HtmlElements.IMG);
-    writer.endElement(HtmlElements.DIV);
-    writer.endElement(HtmlElements.DIV);
-    writer.endElement(HtmlElements.TD);
-    writer.endElement(HtmlElements.TR);
-    writer.endElement(HtmlElements.TABLE);
-
-//    writeSliderJavaScript(facesContext, slider, writer);
-    //HtmlRendererUtils.renderFocusId(facesContext, slider);
-  }
-
-  @Override
-  public void decode(final FacesContext context, final UIComponent component) {
-    final UIInput uiInput;
-    if (component instanceof UIInput && !ComponentUtils.isOutputOnly(component)) {
-      uiInput = (UIInput) component;
-    } else {
-      return;
-    }
-    final String inputId = getIdForInputField(context, component);
-    final Map requestParameterMap = context.getExternalContext().getRequestParameterMap();
-    if (requestParameterMap.containsKey(inputId)) {
-      final String newValue = (String) requestParameterMap.get(inputId);
-      uiInput.setSubmittedValue(newValue);
-    }
-  }
-
-  private String getIdForInputField(final FacesContext context, final UIComponent component) {
-    final String id = component.getClientId(context);
-    return id + ComponentUtils.SUB_SEPARATOR + "input";
-  }
-
-  private String getIdForSliderTrack(final FacesContext context, final UIComponent component) {
-    final String id = component.getClientId(context);
-    return id + ComponentUtils.SUB_SEPARATOR + "track";
-  }
-
-  private String getIdForSliderHandle(final FacesContext context, final UIComponent component) {
-    final String id = component.getClientId(context);
-    return id + ComponentUtils.SUB_SEPARATOR + "handle";
-  }
-}
diff --git a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/css/tobago.css b/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/css/tobago.css
deleted file mode 100644
index 3069d29..0000000
--- a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/css/tobago.css
+++ /dev/null
@@ -1,49 +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.
- */
-
-/* number Slider --------------------------------------------------------------- */
-
-.tobago-numberSlider {
-}
-
-.tobago-numberSlider-min {
-  text-align: left;
-}
-
-.tobago-numberSlider-min {
-  font: bold 11px arial, helvetica, sans-serif;
-}
-
-.tobago-numberSlider-max {
-  text-align: right;
-}
-
-.tobago-numberSlider-max {
-  font: bold 11px arial, helvetica, sans-serif;
-}
-
-.tobago-numberSlider-td {
-}
-
-.tobago-numberSlider-input {
-}
-
-.tobago-numberSlider-slider {
-  width: 100%;
-  height: 3px;
-  background-color: #660000;
-}
diff --git a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/image/sliderEnd.png b/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/image/sliderEnd.png
deleted file mode 100644
index af303c9..0000000
Binary files a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/image/sliderEnd.png and /dev/null differ
diff --git a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/image/sliderTriangle.png b/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/image/sliderTriangle.png
deleted file mode 100644
index ba56214..0000000
Binary files a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/image/sliderTriangle.png and /dev/null differ
diff --git a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/js/tobago.js b/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/js/tobago.js
deleted file mode 100644
index cfccbf7..0000000
--- a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/resources/tobago/sandbox/tobago-bootstrap/3.1.0/js/tobago.js
+++ /dev/null
@@ -1,81 +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.
- */
-
-Tobago.SplitLayout = {
-  init: function(elements) {
-    Tobago.Utils.selectWithJQuery(elements, "[data-tobago-split-layout]").each(Tobago.SplitLayout.initLayout);
-  },
-
-  initLayout: function() {
-    var handle = jQuery(this);
-    var offset = handle.parent().offset();
-    var containment = handle.data("tobago-split-layout-containment");
-    var options = {
-      distance: 10,
-      containment: [offset.left + containment[0], offset.top + containment[1],
-          offset.left + containment[2], offset.top + containment[3]],
-      axis: handle.data("tobago-split-layout") == "horizontal" ? "x" : "y",
-      start: Tobago.SplitLayout.startDragging,
-      stop: Tobago.SplitLayout.stopDragging
-    };
-    handle.draggable(options)
-  },
-
-  startDragging: function(event, ui) {
-    ui.helper.parent().find("iframe").each(function() {
-      var iframe = jQuery(this);
-      iframe.data("tobago-split-layout-iframe-zindex", iframe.css("z-index"));
-      iframe.css("z-index", "-1");
-    });
-  },
-
-
-  stopDragging: function(event, ui) {
-    ui.helper.parent().find("iframe").each(function() {
-      var iframe = jQuery(this);
-      iframe.css("z-index", iframe.data("tobago-split-layout-iframe-zindex"));
-    });
-    var hidden = ui.helper.children("input");
-    if (ui.helper.data("tobago-split-layout") == "horizontal") {
-      hidden.val(ui.position.left)
-    } else {
-      hidden.val(ui.position.top)
-    }
-    var panel = Tobago.SplitLayout.findParentElementWithId(ui.helper);
-    var clientId = panel.id;
-    //Tobago.reloadComponent(panel, clientId, ui.helper.get(0).id);
-    jsf.ajax.request(
-        ui.helper.get(0).id,
-        event,
-        {
-          //"javax.faces.behavior.event": "click",
-          execute: clientId,
-          render: clientId
-        });
-  },
-
-  findParentElementWithId: function(element) {
-    var parent = element.parent();
-    while (parent.get(0).id === undefined || parent.get(0).id.length == 0) {
-      parent = parent.parent();
-    }
-    return parent.get(0);
-  }
-};
-
-Tobago.registerListener(Tobago.SplitLayout.init, Tobago.Phase.AFTER_UPDATE);
-Tobago.registerListener(Tobago.SplitLayout.init, Tobago.Phase.DOCUMENT_READY);
\ No newline at end of file
diff --git a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/tobago-config.xml b/tobago-extension/tobago-sandbox/src/main/resources/META-INF/tobago-config.xml
deleted file mode 100644
index 0fb66f6..0000000
--- a/tobago-extension/tobago-sandbox/src/main/resources/META-INF/tobago-config.xml
+++ /dev/null
@@ -1,47 +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.
--->
-
-<tobago-config
-    xmlns="http://myfaces.apache.org/tobago/tobago-config"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://myfaces.apache.org/tobago/tobago-config http://myfaces.apache.org/tobago/tobago-config-4.0.xsd"
-    version="4.0">
-  <name>tobago-sandbox</name>
-  <ordering>
-    <after>
-      <name>tobago-theme-speyside</name>
-    </after>
-  </ordering>
-  <theme-definitions>
-    <theme-definition>
-      <name>sandbox</name>
-      <display-name>Sandbox Theme</display-name>
-      <fallback>speyside</fallback>
-      <versioned>false</versioned>
-      <resources production="true">
-        <script name="tobago-bootstrap/${project.version}/js/tobago.js"/>
-        <style name="tobago-bootstrap/${project.version}/css/tobago.css"/>
-      </resources>
-      <resources production="false">
-        <script name="tobago-bootstrap/${project.version}/js/tobago.js"/>
-        <style name="tobago-bootstrap/${project.version}/css/tobago.css"/>
-      </resources>
-    </theme-definition>
-  </theme-definitions>
-</tobago-config>

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.

[myfaces-tobago] 02/03: TOBAGO-1782: Clean up * remove tc:calendar

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 c1a8c6bc8cce9707481c2979b9450f4dbb09c0d5
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Nov 22 17:07:47 2017 +0100

    TOBAGO-1782: Clean up
    * remove tc:calendar
---
 .../renderkit/renderer/CalendarRenderer.java       | 45 ----------
 .../taglib/component/CalendarTagDeclaration.java   | 58 -------------
 .../apache/myfaces/tobago/model/CalendarModel.java | 97 ----------------------
 .../tobago/example/demo/EventController.java       |  2 -
 4 files changed, 202 deletions(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/CalendarRenderer.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/CalendarRenderer.java
deleted file mode 100644
index 7466b9e..0000000
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/CalendarRenderer.java
+++ /dev/null
@@ -1,45 +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.
- */
-
-package org.apache.myfaces.tobago.internal.renderkit.renderer;
-
-import org.apache.myfaces.tobago.component.UICalendar;
-import org.apache.myfaces.tobago.renderkit.RendererBase;
-import org.apache.myfaces.tobago.renderkit.html.HtmlElements;
-import org.apache.myfaces.tobago.webapp.TobagoResponseWriter;
-
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import java.io.IOException;
-
-public class CalendarRenderer extends RendererBase {
-
-  @Override
-  public void encodeEnd(final FacesContext facesContext, final UIComponent component) throws IOException {
-
-    final UICalendar output = (UICalendar) component;
-    final String id = output.getClientId(facesContext);
-
-    final TobagoResponseWriter writer = getResponseWriter(facesContext);
-    writer.startElement(HtmlElements.SPAN);
-    writer.writeIdAttribute(id);
-    writer.writeText("[tc:calender is currently not implemented]");
-    writer.endElement(HtmlElements.SPAN);
-  }
-}
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/CalendarTagDeclaration.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/CalendarTagDeclaration.java
deleted file mode 100644
index d74d9af..0000000
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/CalendarTagDeclaration.java
+++ /dev/null
@@ -1,58 +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.
- */
-
-package org.apache.myfaces.tobago.internal.taglib.component;
-
-import org.apache.myfaces.tobago.apt.annotation.DynamicExpression;
-import org.apache.myfaces.tobago.apt.annotation.Tag;
-import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
-import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
-import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
-import org.apache.myfaces.tobago.component.RendererTypes;
-import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
-import org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual;
-
-import javax.faces.component.UIOutput;
-
-/**
- * Renders a calendar.
- */
-@Tag(name = "calendar")
-@UIComponentTag(
-    uiComponent = "org.apache.myfaces.tobago.component.UICalendar",
-    uiComponentBaseClass = "javax.faces.component.UIOutput",
-    uiComponentFacesClass = "javax.faces.component.UIOutput",
-    componentFamily = UIOutput.COMPONENT_FAMILY,
-    rendererType = RendererTypes.CALENDAR,
-    interfaces = {
-        // As long as no behavior event names are defined, ClientBehaviorHolder must be implemented for Majorra.
-        "javax.faces.component.behavior.ClientBehaviorHolder"
-    })
-public interface CalendarTagDeclaration
-    extends HasIdBindingAndRendered, IsVisual {
-
-  /**
-   * The current value of this component.
-   */
-  @TagAttribute
-  @UIComponentTagAttribute(
-      type = {"java.util.Calendar", "java.util.Date"},
-      expression = DynamicExpression.VALUE_EXPRESSION_REQUIRED)
-  void setValue(String value);
-}
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/model/CalendarModel.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/model/CalendarModel.java
deleted file mode 100644
index f931ae5..0000000
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/model/CalendarModel.java
+++ /dev/null
@@ -1,97 +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.
- */
-
-package org.apache.myfaces.tobago.model;
-
-import java.text.DecimalFormat;
-import java.text.SimpleDateFormat;
-import java.util.Calendar;
-
-public class CalendarModel {
-
-  private DateModel[][] calendarArray;
-  private int firstDayOffset;
-
-  public CalendarModel(final Calendar calendar) {
-//    int weekCount = CalendarUtils.weekCount(calendar);
-    final int weekCount = 6; // switching off dynamic weekCount!
-    calendarArray = new DateModel[weekCount][7];
-    final Calendar c = (Calendar) calendar.clone();
-    c.clear(Calendar.DAY_OF_MONTH);
-    c.set(Calendar.DAY_OF_MONTH, 1);
-    // assert c.isLenient() : "'add -x days' may not work in a non-lenient calendar";
-    firstDayOffset = firstDayOffset(c);
-    c.add(Calendar.DAY_OF_WEEK, -firstDayOffset);
-    for (int week = 0; week < weekCount; ++week) {
-      for (int day = 0; day < 7; ++day) {
-        calendarArray[week][day] = new DateModel(c);
-        c.add(Calendar.DAY_OF_MONTH, 1);
-      }
-    }
-  }
-
-  public int getWeekCount() {
-    return calendarArray.length;
-  }
-
-  public int getMonth() {
-    return calendarArray[0][firstDayOffset].getMonth();
-  }
-
-  public int getYear() {
-    return calendarArray[0][firstDayOffset].getYear();
-  }
-
-  public DateModel getDate(final int week, final int day) {
-    return calendarArray[week][day];
-  }
-
-  private int firstDayOffset(final Calendar calendar) {
-    final Calendar c = (Calendar) calendar.clone();
-    c.clear(Calendar.DAY_OF_MONTH);
-    c.set(Calendar.DAY_OF_MONTH, 1);
-    final int day = c.get(Calendar.DAY_OF_WEEK);
-    final int firstDayOfWeek = c.getFirstDayOfWeek();
-    // Fails: assertEquals((1+7-3)%7, (1-3)%7);
-    return (day + 7 - firstDayOfWeek) % 7;
-  }
-
-  public String toString() {
-    final StringBuilder buffer = new StringBuilder();
-    buffer.append("Month: ").append(getMonth()).append("\n");
-    final int weekCount = getWeekCount();
-    final DecimalFormat format = new DecimalFormat("00");
-    final SimpleDateFormat dateFormat = new SimpleDateFormat("E");
-    for (int day = 0; day < 7; ++day) {
-      final DateModel date = getDate(0, day);
-      final String dayName = dateFormat.format(date.getCalendar().getTime());
-      buffer.append(dayName.substring(0, 2)).append(" ");
-    }
-    buffer.append("\n");
-    for (int week = 0; week < weekCount; ++week) {
-      for (int day = 0; day < 7; ++day) {
-        final DateModel date = getDate(week, day);
-        buffer.append(format.format(date.getDay())).append(" ");
-      }
-      buffer.append("\n");
-    }
-    return buffer.toString();
-  }
-
-}
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/EventController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/EventController.java
index 59b16ca..7e3a4fd 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/EventController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/EventController.java
@@ -23,7 +23,6 @@ import org.apache.myfaces.tobago.component.UIBar;
 import org.apache.myfaces.tobago.component.UIBox;
 import org.apache.myfaces.tobago.component.UIButton;
 import org.apache.myfaces.tobago.component.UIButtons;
-import org.apache.myfaces.tobago.component.UICalendar;
 import org.apache.myfaces.tobago.component.UIColumn;
 import org.apache.myfaces.tobago.component.UIColumnNode;
 import org.apache.myfaces.tobago.component.UIColumnSelector;
@@ -110,7 +109,6 @@ public class EventController implements Serializable {
     eventsOnComponents.add(new EventsOnComponent(new UIBox()));
     eventsOnComponents.add(new EventsOnComponent(new UIButton()));
     eventsOnComponents.add(new EventsOnComponent(new UIButtons()));
-    eventsOnComponents.add(new EventsOnComponent(new UICalendar()));
     eventsOnComponents.add(new EventsOnComponent(new UIColumn()));
     eventsOnComponents.add(new EventsOnComponent(new UIColumnNode()));
     eventsOnComponents.add(new EventsOnComponent(new UIColumnSelector()));

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.