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/02/05 22:31:27 UTC

svn commit: r503884 - in /myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF: date.xml file.xml in.xml selectBooleanCheckbox.xml selectManyListbox.xml selectOneChoice.xml selectOneListbox.xml textarea.xml time.xml

Author: bommel
Date: Mon Feb  5 13:31:26 2007
New Revision: 503884

URL: http://svn.apache.org/viewvc?view=rev&rev=503884
Log:
(TOBAGO-266) Attribute labelWidth and facelets

Modified:
    myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/date.xml
    myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/file.xml
    myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/in.xml
    myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectBooleanCheckbox.xml
    myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectManyListbox.xml
    myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneChoice.xml
    myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneListbox.xml
    myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/textarea.xml
    myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/time.xml

Modified: myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/date.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/date.xml?view=diff&rev=503884&r1=503883&r2=503884
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/date.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/date.xml Mon Feb  5 13:31:26 2007
@@ -23,9 +23,12 @@
   <c:if test="${empty rendered}">
     <c:set var="rendered" value="true"/>
   </c:if>
+  <c:if test="${empty labelWidth}">
+    <c:set var="labelWidth" value="fixed"/>
+  </c:if>
   <tc:panel rendered="${rendered}">
     <f:facet name="layout">
-      <tc:gridLayout columns="fixed;*;15px"/>
+      <tc:gridLayout columns="${labelWidth};*;15px"/>
     </f:facet>
     <tc:label value="${label}" for="@auto" tip="${tip}"/>
     <tc:date value="${value}" required="${required}"

Modified: myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/file.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/file.xml?view=diff&rev=503884&r1=503883&r2=503884
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/file.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/file.xml Mon Feb  5 13:31:26 2007
@@ -24,9 +24,12 @@
   <c:if test="${empty rendered}">
     <c:set var="rendered" value="true"/>
   </c:if>
+  <c:if test="${empty labelWidth}">
+    <c:set var="labelWidth" value="fixed"/>
+  </c:if>
   <tc:panel rendered="${rendered}">
     <f:facet name="layout">
-      <tc:gridLayout columns="fixed;*"/>
+      <tc:gridLayout columns="${labelWidth};*"/>
     </f:facet>
     <tc:label value="${label}" for="@auto" tip="${tip}"/>
     <tc:file value="${value}" required="${required}"

Modified: myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/in.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/in.xml?view=diff&rev=503884&r1=503883&r2=503884
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/in.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/in.xml Mon Feb  5 13:31:26 2007
@@ -24,9 +24,12 @@
   <c:if test="${empty rendered}">
     <c:set var="rendered" value="true"/>
   </c:if>
+  <c:if test="${empty labelWidth}">
+    <c:set var="labelWidth" value="fixed"/>
+  </c:if>
   <tc:panel rendered="${rendered}">
     <f:facet name="layout">
-      <tc:gridLayout columns="fixed;*"/>
+      <tc:gridLayout columns="${labelWidth};*"/>
     </f:facet>
     <tc:label value="${label}" for="@auto" tip="${tip}"/>
     <tc:in value="${value}" required="${required}" password="${password}"

Modified: myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectBooleanCheckbox.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectBooleanCheckbox.xml?view=diff&rev=503884&r1=503883&r2=503884
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectBooleanCheckbox.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectBooleanCheckbox.xml Mon Feb  5 13:31:26 2007
@@ -24,9 +24,12 @@
   <c:if test="${empty rendered}">
     <c:set var="rendered" value="true"/>
   </c:if>
+  <c:if test="${empty labelWidth}">
+    <c:set var="labelWidth" value="fixed"/>
+  </c:if>
   <tc:panel rendered="${rendered}">
     <f:facet name="layout">
-      <tc:gridLayout columns="fixed;*"/>
+      <tc:gridLayout columns="${labelWidth};*"/>
     </f:facet>
     <tc:label value="${label}" for="@auto" tip="${tip}"/>
     <tc:selectBooleanCheckbox value="${value}" 

Modified: myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectManyListbox.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectManyListbox.xml?view=diff&rev=503884&r1=503883&r2=503884
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectManyListbox.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectManyListbox.xml Mon Feb  5 13:31:26 2007
@@ -24,9 +24,12 @@
   <c:if test="${empty rendered}">
     <c:set var="rendered" value="true"/>
   </c:if>
+  <c:if test="${empty labelWidth}">
+    <c:set var="labelWidth" value="fixed"/>
+  </c:if>
   <tc:panel rendered="${rendered}">
     <f:facet name="layout">
-      <tc:gridLayout columns="fixed;*"/>
+      <tc:gridLayout columns="${labelWidth};*"/>
     </f:facet>
     <tc:label value="${label}" for="@auto" tip="${tip}"/>
     <tc:selectManyListbox value="${value}" required="${required}"

Modified: myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneChoice.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneChoice.xml?view=diff&rev=503884&r1=503883&r2=503884
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneChoice.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneChoice.xml Mon Feb  5 13:31:26 2007
@@ -24,9 +24,12 @@
   <c:if test="${empty rendered}">
     <c:set var="rendered" value="true"/>
   </c:if>
+  <c:if test="${empty labelWidth}">
+    <c:set var="labelWidth" value="fixed"/>
+  </c:if>
   <tc:panel rendered="${rendered}">
     <f:facet name="layout">
-      <tc:gridLayout columns="fixed;*"/>
+      <tc:gridLayout columns="${labelWidth};*"/>
     </f:facet>
     <tc:label value="${label}" for="@auto" tip="${tip}"/>
     <tc:selectOneChoice value="${value}" required="${required}"

Modified: myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneListbox.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneListbox.xml?view=diff&rev=503884&r1=503883&r2=503884
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneListbox.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/selectOneListbox.xml Mon Feb  5 13:31:26 2007
@@ -24,9 +24,12 @@
   <c:if test="${empty rendered}">
     <c:set var="rendered" value="true"/>
   </c:if>
+  <c:if test="${empty labelWidth}">
+    <c:set var="labelWidth" value="fixed"/>
+  </c:if>
   <tc:panel rendered="${rendered}">
     <f:facet name="layout">
-      <tc:gridLayout columns="fixed;*"/>
+      <tc:gridLayout columns="${labelWidth};*"/>
     </f:facet>
     <tc:label value="${label}" for="@auto" tip="${tip}"/>
     <tc:selectOneListbox value="${value}" required="${required}"

Modified: myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/textarea.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/textarea.xml?view=diff&rev=503884&r1=503883&r2=503884
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/textarea.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/textarea.xml Mon Feb  5 13:31:26 2007
@@ -24,9 +24,12 @@
   <c:if test="${empty rendered}">
     <c:set var="rendered" value="true"/>
   </c:if>
+  <c:if test="${empty labelWidth}">
+    <c:set var="labelWidth" value="fixed"/>
+  </c:if>
   <tc:panel rendered="${rendered}">
     <f:facet name="layout">
-      <tc:gridLayout columns="fixed;*"/>
+      <tc:gridLayout columns="${labelWidth};*"/>
     </f:facet>
     <tc:label value="${label}" for="@auto" tip="${tip}"/>
     <tc:textarea value="${value}" required="${required}"

Modified: myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/time.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/time.xml?view=diff&rev=503884&r1=503883&r2=503884
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/time.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/src/main/resources/META-INF/time.xml Mon Feb  5 13:31:26 2007
@@ -24,9 +24,12 @@
   <c:if test="${empty rendered}">
     <c:set var="rendered" value="true"/>
   </c:if>
+  <c:if test="${empty labelWidth}">
+    <c:set var="labelWidth" value="fixed"/>
+  </c:if>
   <tc:panel rendered="${rendered}">
     <f:facet name="layout">
-      <tc:gridLayout columns="fixed;*"/>
+      <tc:gridLayout columns="${labelWidth};*"/>
     </f:facet>
     <tc:label value="${label}" for="@auto" tip="${tip}"/>
     <tc:time value="${value}" required="${required}"