myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1758978 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button+link/button+link.xhtml
Date Fri, 02 Sep 2016 15:28:13 GMT
Author: lofwyr
Date: Fri Sep  2 15:28:12 2016
New Revision: 1758978

URL: http://svn.apache.org/viewvc?rev=1758978&view=rev
Log:
fix the example

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button+link/button+link.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button+link/button+link.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button%2Blink/button%2Blink.xhtml?rev=1758978&r1=1758977&r2=1758978&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button+link/button+link.xhtml
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/00-button+link/button+link.xhtml
Fri Sep  2 15:28:12 2016
@@ -135,11 +135,17 @@
     <p>A confirmation dialog can be added to a link or a button via
       <code class="language-markup">&lt;f:facet name="confirmation"></code>.
       The messagetext is added with <code class="language-markup">&lt;tc:out/></code>.</p>
-    <tc:link id="l6" label="apache.org" confirmation="Are you sure?"/>
+    <tc:link id="l6" label="apache.org" link="https://www.apache.org/" confirmation="Are
you sure?"/>
     <tc:button id="b6" label="apache.org" link="https://www.apache.org/">
       <f:facet name="confirmation">
         <tc:out value="Are you sure?"/>
       </f:facet>
+    </tc:button>
+    <tc:link id="l7" label="Action" confirmation="Are you sure?"/>
+    <tc:button id="b7" label="Action">
+      <f:facet name="confirmation">
+        <tc:out value="Are you sure?"/>
+      </f:facet>
     </tc:button>
   </tc:section>
 



Mime
View raw message