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 2015/11/15 15:50:12 UTC
svn commit: r1714460 - in /myfaces/tobago/trunk/src/site/apt:
migration-3.0.apt new-3.0.apt
Author: lofwyr
Date: Sun Nov 15 14:50:12 2015
New Revision: 1714460
URL: http://svn.apache.org/viewvc?rev=1714460&view=rev
Log:
docs 3.0.0
Modified:
myfaces/tobago/trunk/src/site/apt/migration-3.0.apt
myfaces/tobago/trunk/src/site/apt/new-3.0.apt
Modified: myfaces/tobago/trunk/src/site/apt/migration-3.0.apt
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/migration-3.0.apt?rev=1714460&r1=1714459&r2=1714460&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/apt/migration-3.0.apt (original)
+++ myfaces/tobago/trunk/src/site/apt/migration-3.0.apt Sun Nov 15 14:50:12 2015
@@ -34,11 +34,11 @@ Migration from Tobago 2.0 to 3.0 (work i
* replacing tx with tc
- <tx:in label="a" fieldId="b" id="c" />
+ <<<\<tx:in label="a" fieldId="b" id="c" /\>>>>
will be transformed to this
- <tc:in label="a" id="b or c" /> (if b is set use b otherwise use c)
+ <<<\<tc:in label="a" id="b or c" /\>>>> (if b is set use b otherwise use c)
There is a little conflict between the "label" attribute used in the JSF spec. and the Tobago tx: label:
Tobago means it should be displayed, and JSF spec. means that this should be used to display messages.
@@ -53,18 +53,18 @@ Migration from Tobago 2.0 to 3.0 (work i
- simplify (flowLayout, flexLayout, segmentLayout):
- <tc:flowLayout>
+ <<<\<tc:flowLayout\>>>>
... content ...
- </tc:flowLayout>
+ <<<\</tc:flowLayout\>>>>
instead of
- <tc:panel>
- <f:facet name="layout">
- <tc:flowLayout/>
- </f:facet>
+ <<<\<tc:panel\>>>>
+ <<<\<f:facet name="layout"\>>>>
+ <<<\<tc:flowLayout/\>>>>
+ <<<\</f:facet\>>>>
... content ...
- </tc:panel>
+ <<<\</tc:panel\>>>>
* No longer supported
@@ -86,6 +86,6 @@ Migration from Tobago 2.0 to 3.0 (work i
* ClientProperties.pageHeight
- * tc:gridLayoutConstraint -> tc:style
+ * <<<\<tc:gridLayoutConstraint\>>>> -> <<<\<tc:style\>>>>
-* if using tc:page with the attributes state, width, height: remove the attributes
+* If using <<<\<tc:page\>>>> with the attributes state, width, height: remove the attributes
Modified: myfaces/tobago/trunk/src/site/apt/new-3.0.apt
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/new-3.0.apt?rev=1714460&r1=1714459&r2=1714460&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/apt/new-3.0.apt (original)
+++ myfaces/tobago/trunk/src/site/apt/new-3.0.apt Sun Nov 15 14:50:12 2015
@@ -33,8 +33,8 @@ Overview and History
Until Tobago 2.0 the layout was computed on the server, to make advanced features available for
comfortable web application.
- With CSS3 and HTML5 it is possible these days, to make good layout managers
- implemented in the browser. Tobago
+ With CSS3 and HTML5 it is possible these days, to make advanced layout managers
+ implemented in the browser.
New Features and Enhancements
@@ -49,7 +49,6 @@ New Features and Enhancements
* Segment Layout (uses the 12 columns layout from Bootstrap)
* Flex Layout (CSS3)
-
You may replace the <<<GridLayout>>> from Tobago 2.0 with <<<FlexLayout>>>.
* Flow Layout
@@ -58,12 +57,14 @@ New Features and Enhancements
* tx library
- * the tx library no longer needed
+ * The tx library no longer needed
- * label is integrated in the tc library.
+ * The label is integrated into the tc library.
- * results in a more intuitive API
+ * This results in a more intuitive API
- * rich variations of positioning the label with new attribute labelLayout
+ * Rich variations of positioning the label with new attribute labelLayout
Internal Refactoring
+
+ [todo]