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/30 11:25:57 UTC

[myfaces-tobago] 02/03: TOBAGO-1782: Clean up * demo

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 d41fb937e06b580376706c0e5403ea30c3363a5f
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Nov 30 11:30:21 2017 +0100

    TOBAGO-1782: Clean up
    * demo
---
 .../myfaces/tobago/example/test/Progress.java      | 43 ----------------------
 .../src/main/webapp/WEB-INF/faces-config.xml       |  6 ---
 .../progress/progress-tobago-1218.xhtml            | 33 -----------------
 .../40-test/90000-attic/progress/progress.xhtml    | 33 -----------------
 4 files changed, 115 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Progress.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Progress.java
deleted file mode 100644
index d8bea33..0000000
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Progress.java
+++ /dev/null
@@ -1,43 +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.example.test;
-
-import javax.swing.BoundedRangeModel;
-import javax.swing.DefaultBoundedRangeModel;
-import java.io.Serializable;
-
-public class Progress implements Serializable {
-
-  private BoundedRangeModel range;
-  private BoundedRangeModel emptyRange;
-
-  public Progress() {
-    this.range = new DefaultBoundedRangeModel(60, 0, 0, 100);
-    this.emptyRange = new DefaultBoundedRangeModel(0, 0, 0, 0);
-  }
-
-  public BoundedRangeModel getRange() {
-    return range;
-  }
-
-  public BoundedRangeModel getEmptyRange() {
-    return emptyRange;
-  }
-}
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/faces-config.xml b/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/faces-config.xml
index 1abeae8..b3fada8 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/faces-config.xml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/faces-config.xml
@@ -176,12 +176,6 @@
   </managed-bean>
 
   <managed-bean>
-    <managed-bean-name>progress</managed-bean-name>
-    <managed-bean-class>org.apache.myfaces.tobago.example.test.Progress</managed-bean-class>
-    <managed-bean-scope>session</managed-bean-scope>
-  </managed-bean>
-
-  <managed-bean>
     <managed-bean-name>tobago1041</managed-bean-name>
     <managed-bean-class>org.apache.myfaces.tobago.example.test.Tobago1041</managed-bean-class>
     <managed-bean-scope>none</managed-bean-scope>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/progress/progress-tobago-1218.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/progress/progress-tobago-1218.xhtml
deleted file mode 100644
index 17d44a2..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/progress/progress-tobago-1218.xhtml
+++ /dev/null
@@ -1,33 +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:gridLayoutConstraint width="1000px" height="100px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout margin="20px" />
-    </f:facet>
-
-    <tc:progress value="#{progress.emptyRange}"/>
-
-  </tc:page>
-</f:view>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/progress/progress.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/progress/progress.xhtml
deleted file mode 100644
index 5dd17a5..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/90000-attic/progress/progress.xhtml
+++ /dev/null
@@ -1,33 +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:gridLayoutConstraint width="1000px" height="100px"/> -->
-    <f:facet name="layout">
-      <tc:gridLayout margin="20px" />
-    </f:facet>
-
-    <tc:progress value="#{progress.range}"/>
-
-  </tc:page>
-</f:view>

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