You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/07/31 10:25:34 UTC

svn commit: r561262 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java

Author: bommel
Date: Tue Jul 31 01:25:33 2007
New Revision: 561262

URL: http://svn.apache.org/viewvc?view=rev&rev=561262
Log:
improved documentation

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java?view=diff&rev=561262&r1=561261&r2=561262
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java Tue Jul 31 01:25:33 2007
@@ -37,7 +37,7 @@
  */
 
 /**
- *
+ * Renders a GridLayout.
  * <pre>
  * columns/rows ::= LAYOUT
  * LAYOUT       ::= TOKEN [";" TOKEN]+
@@ -55,45 +55,45 @@
      <th>Remarks</th>
    </tr>
    <tr>
-     <td rowspan="2">FIXED</td>
+     <td>FIXED</td>
      <td>any combination of FIXED or PIXEL but no PROPORTIONAL</td>
      <td>okay</td>
-     <td></td>
+     <td>-</td>
    </tr>
    <tr>
-     <!--<td>FIXED</td>-->
-     <td>any combination with at least one PROPORTIONAL 
+     <td>FIXED</td>
+     <td>any combination with at least one PROPORTIONAL</td>
      <td>wrong</td>
      <td>LayoutManager cannot compute the fixed value.</td>
    </tr>
    <tr>
-     <td rowspan="2">PIXEL</td>
+     <td>PIXEL</td>
      <td>any combination of FIXED or PIXEL but no PROPORTIONAL</td>
      <td>potentially wrong</td>
      <td>The values depend on each other, the programmer has to keep consistency manually.</td>
    </tr>
    <tr>
-     <!--<td>PIXEL</td>-->
-     <td>any combination with at least one PROPORTIONAL 
+     <td>PIXEL</td>
+     <td>any combination with at least one PROPORTIONAL</td>
      <td>okay</td>
-     <td></td>
+     <td>-</td>
    </tr>
    <tr>
-     <td rowspan="2">PROPORTIONAL</td>
+     <td>PROPORTIONAL</td>
      <td>any combination of FIXED or PIXEL but no PROPORTIONAL</td>
      <td>potentially wrong</td>
-     <td>No automatical matching:<br />  
-       a) too little space: scrollbar<br />  
-       b) too much space: elements will be spreaded.</td>
+     <td>No automatical matching:<ol><li>too little space: scrollbar</li>
+       <li>too much space: elements will be spreaded.</li></ol></td>
    </tr>
    <tr>
-     <!--<td>PROPORTIONAL</td>-->
-     <td>any combination with at least one PROPORTIONAL 
+     <td>PROPORTIONAL</td>
+     <td>any combination with at least one PROPORTIONAL</td>
      <td>okay</td>
-     <td></td>
+     <td>-</td>
    </tr>
  </table>
 
+ 
  */
 @Tag(name = "gridLayout", bodyContent = BodyContent.EMPTY)
 @UIComponentTag(