myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1367932 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml
Date Wed, 01 Aug 2012 11:45:56 GMT
Author: lofwyr
Date: Wed Aug  1 11:45:56 2012
New Revision: 1367932

URL: http://svn.apache.org/viewvc?rev=1367932&view=rev
Log:
undo

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml?rev=1367932&r1=1367931&r2=1367932&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/01-basic/basic.xhtml
Wed Aug  1 11:45:56 2012
@@ -24,20 +24,6 @@
                 xmlns:f="http://java.sun.com/jsf/core">
   <ui:param name="title" value="#{overviewBundle.basic}"/>
 
-  <tc:script>
-
-    jQuery(document).ready(function () {
-      jQuery("[data-colored]")
-          .click(function () {
-            jQuery(this).css("background-color", jQuery(this).data("colored"));
-          })
-          .dblclick(function () {
-            jQuery(this).css("background-color", "");
-          });
-    });
-
-  </tc:script>
-
   <tc:panel>
     <f:facet name="layout">
       <tc:gridLayout rows="auto;2*;3*;auto;2*;2*;auto;2*;2*"/>
@@ -60,15 +46,11 @@
         <f:facet name="layout">
           <tc:gridLayout rows="auto;auto;auto;auto"/>
         </f:facet>
-        <tc:in value="#{overviewController.basicInput}" required="true" tabIndex="1"
-               label="#{overviewBundle.basic_textboxLabel}" tip="#{overviewBundle.basic_textboxTip}">
-          <tc:dataAttribute name="colored" value="red"/>
-        </tc:in>
+        <tx:in value="#{overviewController.basicInput}" required="true" tabIndex="1"
+               label="#{overviewBundle.basic_textboxLabel}" tip="#{overviewBundle.basic_textboxTip}"/>
         <tx:in value="#{overviewController.suggestInput}" tabIndex="3"
                label="#{overviewBundle.basic_suggestLabel}" tip="#{overviewBundle.basic_suggestTip}"
-               suggestMethod="#{overviewController.getInputSuggestItems}">
-          <tc:dataAttribute name="colored" value="#ffff00"/>
-        </tx:in>
+               suggestMethod="#{overviewController.getInputSuggestItems}"/>
         <tx:date value="#{overviewController.basicDate}" tabIndex="4"
                  label="#{overviewBundle.basic_dateLabel}" required="true">
           <f:convertDateTime pattern="dd/MM/yyyy"/>



Mime
View raw message