myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject [myfaces-tobago] branch master updated: improve demo * add menu name for sheet styling example * remove meaningless "sheet content" demo
Date Thu, 01 Feb 2018 09:23:09 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new e66ca70  improve demo * add menu name for sheet styling example * remove meaningless
"sheet content" demo
e66ca70 is described below

commit e66ca70da54c059899490f677964be0dec2dcce1
Author: Henning Noeth <hnoeth@apache.org>
AuthorDate: Thu Feb 1 10:22:46 2018 +0100

    improve demo
    * add menu name for sheet styling example
    * remove meaningless "sheet content" demo
---
 .../apache/myfaces/tobago/example/demo/Demo.xml    |  1 +
 .../00-content/sheet-column-content.xhtml          | 68 ----------------------
 2 files changed, 1 insertion(+), 68 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/resources/org/apache/myfaces/tobago/example/demo/Demo.xml
b/tobago-example/tobago-example-demo/src/main/resources/org/apache/myfaces/tobago/example/demo/Demo.xml
index 29fbee4..04e4204 100644
--- a/tobago-example/tobago-example-demo/src/main/resources/org/apache/myfaces/tobago/example/demo/Demo.xml
+++ b/tobago-example/tobago-example-demo/src/main/resources/org/apache/myfaces/tobago/example/demo/Demo.xml
@@ -96,6 +96,7 @@
   <entry key="sheet_column_selector">Column Selector</entry>
   <entry key="sheet_event">Event</entry>
   <entry key="sheet_markup">Markup</entry>
+  <entry key="sheet_style">Styling</entry>
   <entry key="sheet_dropdown">Dropdown Box</entry>
   <entry key="sheet_filter">Filtering</entry>
   <entry key="sheet_static_header">Static Header</entry>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/00-content/sheet-column-content.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/00-content/sheet-column-content.xhtml
deleted file mode 100644
index 90dba1a..0000000
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/00-content/sheet-column-content.xhtml
+++ /dev/null
@@ -1,68 +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.
--->
-
-<ui:composition template="/main.xhtml"
-                xmlns="http://www.w3.org/1999/xhtml"
-                xmlns:tc="http://myfaces.apache.org/tobago/component"
-                xmlns:ui="http://java.sun.com/jsf/facelets">
-  <ui:param name="title" value="#{demoBundle.sheet_column_content} &lt;tc:column>"/>
-  <p>This example, demonstrate the flexiblity of the <code class="language-markup">&lt;tc:column/></code>
tag.</p>
-  <p>Tag Library Documentation:
-    <tc:link label="&lt;tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
-             link="#{demoBundle.tagDocUrl}/#{info.stableVersion}/tld/tc/sheet.html"/>
-    |
-    <tc:link label="&lt;tc:column/>" image="#{request.contextPath}/image/feather-leaf.png"
-             link="#{demoBundle.tagDocUrl}/#{info.stableVersion}/tld/tc/column.html"/></p>
-
-  <tc:section label="Example">
-    <p>The second column contain a tab group. Also a
-      <code class="language-markup"><tc:style/></code> tag is used to set
the maximal height of the table.
-      As a result, a vertical scrollbar is shown.
-      The header is hidden by set <code>showHeader</code> to 'false'.</p>
-    <pre><code class="language-markup">&lt;tc:sheet value="\#{sheetController.solarList}"
-    var="solarobject" rows="4" showHeader="false">
-  &lt;tc:style maxHeight="500px"/>
-  ...
-  &lt;tc:column label="Orbit &amp; Period">
-    &lt;tc:tabGroup>
-      ...
-    &lt;/tc:tabGroup>
-  &lt;/tc:column>
-  ...</code></pre>
-    <tc:sheet id="s2" value="#{sheetController.solarList}" var="object" rows="4" showHeader="false">
-      <tc:style maxHeight="500px"/>
-      <tc:column label="Name">
-        <tc:out value="#{object.name}"/>
-      </tc:column>
-      <tc:column label="Orbit &amp; Period">
-        <tc:tabGroup>
-          <tc:tab label="Orbiting">
-            <tc:out value="#{object.orbit}"/>
-          </tc:tab>
-          <tc:tab label="Period (Days)">
-            <tc:out value="#{object.period}"/>
-          </tc:tab>
-        </tc:tabGroup>
-      </tc:column>
-      <tc:column label="Discovery">
-        <tc:out value="Discovered by #{object.discoverer} in the year #{object.discoverYear}."/>
-      </tc:column>
-    </tc:sheet>
-  </tc:section>
-</ui:composition>

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

Mime
View raw message