myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r783769 - in /myfaces/tobago/branches/tobago-1.0.x: example/demo/src/main/webapp/reference/ theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/ theme/speyside/src/main/resources/org/apac...
Date Thu, 11 Jun 2009 13:52:27 GMT
Author: bommel
Date: Thu Jun 11 13:52:26 2009
New Revision: 783769

URL: http://svn.apache.org/viewvc?rev=783769&view=rev
Log:
(TOBAGO-763) selectOnyChoice don't appears readonly (grey)

Modified:
    myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/reference/select.jsp
    myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css
    myfaces/tobago/branches/tobago-1.0.x/theme/speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css

Modified: myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/reference/select.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/reference/select.jsp?rev=783769&r1=783768&r2=783769&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/reference/select.jsp
(original)
+++ myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/reference/select.jsp
Thu Jun 11 13:52:26 2009
@@ -24,7 +24,7 @@
     <tc:box>
       <f:facet name="layout">
         <tc:gridLayout
-            rows="fixed;fixed;fixed;fixed;fixed;fixed;fixed;45px;45px;fixed;fixed;fixed;200px;200px;fixed;fixed;fixed;fixed;fixed;*;fixed"/>
+            rows="fixed;fixed;fixed;fixed;fixed;fixed;fixed;45px;45px;fixed;fixed;fixed;fixed;200px;200px;fixed;fixed;fixed;fixed;fixed;*;fixed"/>
       </f:facet>
 
       <tc:messages/>
@@ -54,7 +54,7 @@
         <f:selectItem itemValue="Mobile" itemLabel="Mobile"/>
         <f:selectItem itemValue="Fax" itemLabel="Faxscimile"/>
       </tx:selectManyListbox>
-      <tx:selectManyListbox inline="true"
+      <tx:selectManyListbox readonly="true"
                             label="Contact via: ">
         <f:selectItem itemValue="Phone" itemLabel="Phone"/>
         <f:selectItem itemValue="eMail" itemLabel="eMail"/>
@@ -67,7 +67,7 @@
       <%-- code-sniplet-end id="selectManyListbox" --%>
 
       <%-- code-sniplet-start id="selectOneChoice" --%>
-      <tx:selectOneChoice inline="true" value="selectOneChoice0"
+      <tx:selectOneChoice value="selectOneChoice0"
                           label="Contact me1: ">
         <tc:selectItem itemLabel="Letter" itemValue="letter"/>
         <tc:selectItem itemLabel="Phone" itemValue="phone"/>
@@ -77,6 +77,14 @@
 
       <%-- code-sniplet-end id="selectOneChoice" --%>
 
+      <tx:selectOneChoice readonly="true" value="selectOneChoice0"
+                          label="Contact me1: ">
+        <tc:selectItem itemLabel="Letter" itemValue="letter"/>
+        <tc:selectItem itemLabel="Phone" itemValue="phone"/>
+        <tc:selectItem itemLabel="eMail" itemValue="eMail"/>
+        <tc:selectItem itemLabel="Fax" itemValue="fax"/>
+      </tx: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.
          <tc:form>

Modified: myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css?rev=783769&r1=783768&r2=783769&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css
(original)
+++ myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/style/style.css
Thu Jun 11 13:52:26 2009
@@ -655,6 +655,10 @@
   border-color: #ff0000;
 }
 
+.tobago-selectOneChoice-readonly {
+  background-color: #bbccdd;
+}
+
 /* text -------------------------------------------------------------------- */
 
 .tobago-out-default {

Modified: myfaces/tobago/branches/tobago-1.0.x/theme/speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/theme/speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css?rev=783769&r1=783768&r2=783769&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/theme/speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css
(original)
+++ myfaces/tobago/branches/tobago-1.0.x/theme/speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/style/style.css
Thu Jun 11 13:52:26 2009
@@ -579,6 +579,12 @@
   border: 1px solid #FF0000;
 }
 
+.tobago-selectOneChoice-readonly {
+ background-color: #E8E8E8;
+}
+
+
+
 /* selectOneRadio --------------------------------------------------------- */
 
 .tobago-selectOneRadio-default {



Mime
View raw message