myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1751762 - in /myfaces/tobago/trunk: tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css
Date Thu, 07 Jul 2016 08:51:47 GMT
Author: lofwyr
Date: Thu Jul  7 08:51:47 2016
New Revision: 1751762

URL: http://svn.apache.org/viewvc?rev=1751762&view=rev
Log:
TOBAGO-1506:Menu with <tc:selectOneRadio> has to migrated to Bootstrap
* CSS: radio was in one single row

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml?rev=1751762&r1=1751761&r2=1751762&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml Thu
Jul  7 08:51:47 2016
@@ -37,25 +37,19 @@
 
       <tc:form id="header">
 
-        <tc:commands id="XXX">
+        <tc:commands id="commands">
 
-          <tc:command id="CCC" label="#{overviewBundle.menu_config}" omit="true">
+          <tc:command id="config" label="#{overviewBundle.menu_config}" omit="true">
             <tc:command label="#{overviewBundle.menu_themes}" omit="true">
-              <!-- XXX this is a workaround until TOBAGO-1506 is resolved
-              the next sourrounding tag <tc:command> should not be needed.
-              -->
-              <!--<tc:command omit="true">-->
-                <tc:selectOneRadio value="#{clientConfigController.theme}">
-                  <f:facet name="change">
-                    <tc:command action="#{clientConfigController.submit}"/>
-                  </f:facet>
-                  <tc:selectItems value="#{clientConfigController.themeItems}"/>
-                </tc:selectOneRadio>
-              <!--</tc:command>-->
+              <tc:selectOneRadio value="#{clientConfigController.theme}">
+                <f:facet name="change">
+                  <tc:command action="#{clientConfigController.submit}"/>
+                </f:facet>
+                <tc:selectItems value="#{clientConfigController.themeItems}"/>
+              </tc:selectOneRadio>
             </tc:command>
             <tc:command label="#{overviewBundle.menu_locale}">
               <tc:selectOneRadio value="#{clientConfigController.locale}">
-                <!-- XXX this is a workaround until TOBAGO-1506 is resolved -->
                 <f:facet name="change">
                   <tc:command action="#{clientConfigController.submit}"/>
                 </f:facet>

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css?rev=1751762&r1=1751761&r2=1751762&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css
Thu Jul  7 08:51:47 2016
@@ -294,7 +294,12 @@ table.tobago-gridLayout > tbody > tr:fir
   border-radius: 6px 0 6px 6px;
 }
 
-/* out -------------------------------------------------------------------- */
+.dropdown-menu .radio, .dropdown-menu .checkbox {
+  display: block;
+  margin-left: -40px; /* XXX comes the value from "list-style: outside none none" of .tobago-selectOneRadio
? */
+}
+
+  /* out -------------------------------------------------------------------- */
 
 .tobago-out-markup-strong {
   font-weight: bold;



Mime
View raw message