You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2016/11/09 12:58:04 UTC

svn commit: r1768931 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml

Author: lofwyr
Date: Wed Nov  9 12:58:04 2016
New Revision: 1768931

URL: http://svn.apache.org/viewvc?rev=1768931&view=rev
Log:
TOBAGO-1617: New tag <tc:event> to be similar to <f:ajax> and to replace <tc:command> in facets
* migrate demo

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/menu.xhtml

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=1768931&r1=1768930&r2=1768931&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 Wed Nov  9 12:58:04 2016
@@ -42,17 +42,13 @@
           <tc:link id="config" label="#{overviewBundle.menu_config}" omit="true">
             <tc:link label="#{overviewBundle.menu_themes}" omit="true">
               <tc:selectOneRadio value="#{clientConfigController.theme}">
-                <f:facet name="change">
-                  <tc:link action="#{clientConfigController.submit}"/>
-                </f:facet>
+                <tc:event action="#{clientConfigController.submit}"/>
                 <tc:selectItems value="#{clientConfigController.themeItems}"/>
               </tc:selectOneRadio>
             </tc:link>
             <tc:link label="#{overviewBundle.menu_locale}">
               <tc:selectOneRadio value="#{clientConfigController.locale}">
-                <f:facet name="change">
-                  <tc:link action="#{clientConfigController.submit}"/>
-                </f:facet>
+                <tc:event action="#{clientConfigController.submit}"/>
                 <tc:selectItems value="#{clientConfigController.localeItems}"/>
               </tc:selectOneRadio>
             </tc:link>