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 2016/02/18 10:55:35 UTC
svn commit: r1731034 - in /myfaces/tobago/branches/tobago-3.0.x:
tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/04/
tobago-example/tobago-example-demo/src/main/webapp/content/05-toolBar/
tobago-example/tobago-example-demo/src/main/...
Author: lofwyr
Date: Thu Feb 18 09:55:35 2016
New Revision: 1731034
URL: http://svn.apache.org/viewvc?rev=1731034&view=rev
Log:
cleanup: remove code-sniplets, is no longer used
Removed:
myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/ant/
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/04/date.xhtml
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/05-toolBar/toolBar.xhtml
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/16-layout/layout.xhtml
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/21-progress/progress.xhtml
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/25-select/select.xhtml
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/04/date.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/04/date.xhtml?rev=1731034&r1=1731033&r2=1731034&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/04/date.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/04/date.xhtml Thu Feb 18 09:55:35 2016
@@ -29,35 +29,25 @@
rows="auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;250px;*"/>
</f:facet>
- <!-- code-sniplet-start id="date" -->
<tc:in label="Date as Text" value="#{dateController.once}">
<f:convertDateTime pattern="dd.MM.yyyy"/>
</tc:in>
- <!-- code-sniplet-end id="date" -->
<tc:panel/>
- <!-- code-sniplet-start id="date" -->
<tc:date label="Date" value="#{dateController.once}">
<f:convertDateTime pattern="dd.MM.yyyy"/>
</tc:date>
- <!-- code-sniplet-end id="date" -->
<tc:panel/>
- <!-- code-sniplet-start id="date" -->
<tc:date value="#{dateController.once}">
<f:convertDateTime pattern="dd.MM.yyyy"/>
</tc:date>
- <!-- code-sniplet-end id="date" -->
<tc:panel/>
- <!-- code-sniplet-start id="dateTime" -->
<!--
<tc:date label="Date/Time" value="#{dateController.once}">
<f:convertDateTime pattern="dd.MM.yyyy HH:mm"/>
</tc:date>
--->
- <!-- code-sniplet-end id="dateTime" -->
-<!--
<tc:panel/>
-->
@@ -129,9 +119,7 @@
</tc:time>
<tc:panel/>
- <!-- code-sniplet-start id="calendar" -->
<tc:calendar/>
- <!-- code-sniplet-end id="calendar" -->
<tc:panel/>
<tc:panel>
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/05-toolBar/toolBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/05-toolBar/toolBar.xhtml?rev=1731034&r1=1731033&r2=1731034&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/05-toolBar/toolBar.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/05-toolBar/toolBar.xhtml Thu Feb 18 09:55:35 2016
@@ -225,7 +225,6 @@
<f:facet name="layout">
<tc:gridLayout rows="auto;*"/>
</f:facet>
- <!-- code-sniplet-start id="menuBar" -->
<f:facet name="menuBar">
<tc:menuBar>
<tc:menu label="_File">
@@ -242,14 +241,11 @@
<!--<tx:menuCheckbox action="none" label="Administration Mode"/>-->
</tc:menu>
- <!-- code-sniplet-start id="menu" -->
<tc:menu label="_Edit">
<tc:menuCommand label="Copy"/>
<tc:menuCommand label="Cut"/>
<tc:menuCommand label="Paste"/>
- <!-- code-sniplet-start id="menuCommand" -->
<tc:menuCommand label="Delete"/>
- <!-- code-sniplet-end id="menuCommand" -->
<tc:menuSeparator/>
<tc:menu label="_Delete">
<tc:menuCommand label="As Spam"/>
@@ -257,7 +253,6 @@
<tc:menuCommand label="As Uninteresting"/>
</tc:menu>
</tc:menu>
- <!-- code-sniplet-end id="menu" -->
<tc:menu label="_View">
<tc:menuCommand label="Snap to Grid"/>
@@ -265,7 +260,6 @@
</tc:menu>
</tc:menuBar>
</f:facet>
- <!-- code-sniplet-end id="menuBar" -->
</tc:box>
</tc:panel>
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/16-layout/layout.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/16-layout/layout.xhtml?rev=1731034&r1=1731033&r2=1731034&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/16-layout/layout.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/16-layout/layout.xhtml Thu Feb 18 09:55:35 2016
@@ -28,7 +28,6 @@
</f:facet>
<tc:out escape="false" value="#{overviewBundle.layout_text}"/>
- <!-- code-sniplet-start id="layoutManagementExample" -->
<tc:box label="#{overviewBundle.layout_exampleTitle}">
<f:facet name="layout">
<tc:gridLayout columns="*;*" rows="auto;auto;auto;auto;auto;*"/>
@@ -64,6 +63,5 @@
<tc:gridLayoutConstraint columnSpan="2"/>
</tc:textarea>
</tc:box>
- <!-- code-sniplet-end id="layoutManagementExample" -->
</tc:panel>
</ui:composition>
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/21-progress/progress.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/21-progress/progress.xhtml?rev=1731034&r1=1731033&r2=1731034&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/21-progress/progress.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/21-progress/progress.xhtml Thu Feb 18 09:55:35 2016
@@ -32,13 +32,11 @@
<tc:gridLayout rows="auto;1*" columns="100px;1* "/>
</f:facet>
<tc:label value="Progress:"/>
- <!-- code-sniplet-start id="progress" -->
<tc:progress value="#{progress.progress}">
<f:facet name="complete">
<tc:command action="#{progress.reset}"/>
</f:facet>
</tc:progress>
- <!-- code-sniplet-end id="progress" -->
<tc:panel/>
</tc:panel>
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/25-select/select.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/25-select/select.xhtml?rev=1731034&r1=1731033&r2=1731034&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/25-select/select.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/25-select/select.xhtml Thu Feb 18 09:55:35 2016
@@ -28,9 +28,7 @@
rows="auto;auto;auto;auto;auto;auto;45px;45px;auto;auto;auto;200px;200px;auto;auto;auto;auto;auto;*;auto"/>
</f:facet>
- <!-- code-sniplet-start id="selectBooleanCheckbox" -->
<tc:selectBooleanCheckbox label="_Letter"/>
- <!-- code-sniplet-end id="selectBooleanCheckbox" -->
<tc:selectBooleanCheckbox label="_Phone"/>
<tc:selectBooleanCheckbox label="_eMail"/>
<tc:selectBooleanCheckbox label="_Fax">
@@ -45,7 +43,6 @@
<f:converter converterId="org.apache.myfaces.tobago.example.demo.OnOffConverter"/>
</tc:selectBooleanCheckbox>
- <!-- code-sniplet-start id="selectManyListbox" -->
<tc:selectManyListbox label="Contact via: ">
<f:selectItem itemValue="Phone" itemLabel="Phone"/>
<f:selectItem itemValue="eMail" itemLabel="eMail"/>
@@ -61,9 +58,7 @@
<tc:command/>
</f:facet>
</tc:selectManyListbox>
- <!-- code-sniplet-end id="selectManyListbox" -->
- <!-- code-sniplet-start id="selectOneChoice" -->
<tc:selectOneChoice value="selectOneChoice0"
label="Contact me1: ">
<tc:selectItem itemLabel="Letter" itemValue="letter"/>
@@ -72,7 +67,6 @@
<tc:selectItem itemLabel="Fax" itemValue="fax"/>
</tc:selectOneChoice>
- <!-- code-sniplet-end id="selectOneChoice" -->
<!-- surround this with a tc:form if you get validatation or required messages from other fields.
With tc:form you enable partial validation and update model.
@@ -90,7 +84,6 @@
<f:selectItems value="#{reference.manufacturerSelectItems}"/>
</tc:selectOneChoice>
- <!-- code-sniplet-start id="selectOneListbox" -->
<tc:selectOneListbox label="Contact via: ">
<f:selectItem itemValue="Phone" itemLabel="Phone"/>
<f:selectItem itemValue="eMail" itemLabel="eMail"/>
@@ -106,7 +99,6 @@
<tc:command/>
</f:facet>
</tc:selectOneListbox>
- <!-- code-sniplet-end id="selectOneListbox" -->
<tc:separator label="Layout"/>
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml?rev=1731034&r1=1731033&r2=1731034&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml Thu Feb 18 09:55:35 2016
@@ -40,9 +40,7 @@
<tc:gridLayoutConstraint rowSpan="2"/>
</tc:label>
- <!-- code-sniplet-start id="button" -->
<tc:button label="Action" action="#{command.action}"/>
- <!-- code-sniplet-end id="button" -->
<tc:button label="On Click" omit="true">
<tc:dataAttribute name="alert" value="Hello Tobago! (button)"/>
</tc:button>
@@ -50,9 +48,7 @@
<tc:button label="Resource" resource="content/60-command/sample.html"/>
<tc:panel/>
- <!-- code-sniplet-start id="link" -->
<tc:link label="Action" action="#{command.action}"/>
- <!-- code-sniplet-end id="link" -->
<tc:link label="On Click" omit="true">
<tc:dataAttribute name="alert" value="Hello Tobago! (link)"/>
</tc:link>