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 2012/07/31 13:14:52 UTC

svn commit: r1367494 - in /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command: command.xhtml sample.html sample_de.html

Author: lofwyr
Date: Tue Jul 31 11:14:52 2012
New Revision: 1367494

URL: http://svn.apache.org/viewvc?rev=1367494&view=rev
Log:
fix resource demo

Added:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample.html
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample_de.html
Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml?rev=1367494&r1=1367493&r2=1367494&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/command.xhtml Tue Jul 31 11:14:52 2012
@@ -44,7 +44,7 @@
       <!-- code-sniplet-end id="button" -->
       <tc:button label="On Click" onclick="alert('Hallo Tobago!');"/>
       <tc:button label="Link" link="http://www.apache.org/"/>
-      <tc:button label="Resource" resource="help.html"/>
+      <tc:button label="Resource" resource="content/60-command/sample.html"/>
       <tc:panel/>
 
       <!-- code-sniplet-start id="link" -->
@@ -52,7 +52,7 @@
       <!-- code-sniplet-end id="link" -->
       <tc:link label="On Click" onclick="alert('Hallo Tobago!');"/>
       <tc:link label="Link" link="http://www.apache.org/"/>
-      <tc:link label="Resource" resource="help.html"/>
+      <tc:link label="Resource" resource="content/60-command/sample.html"/>
       <tc:panel/>
 
       <!-- confirmation -->
@@ -76,7 +76,7 @@
           <tc:out value="Are you sure?"/>
         </f:facet>
       </tc:button>
-      <tc:button label="Resource" resource="help.html">
+      <tc:button label="Resource" resource="content/60-command/sample.html">
         <f:facet name="confirmation">
           <tc:out value="Are you sure?"/>
         </f:facet>
@@ -98,7 +98,7 @@
           <tc:out value="Are you sure?"/>
         </f:facet>
       </tc:link>
-      <tc:link label="Resource" resource="help.html">
+      <tc:link label="Resource" resource="content/60-command/sample.html">
         <f:facet name="confirmation">
           <tc:out value="Are you sure?"/>
         </f:facet>
@@ -120,7 +120,7 @@
       <tc:link label="Action" action="#{command.action}" target="Command Target"/>
       <tc:link label="N/A" disabled="true"/>
       <tc:link label="Link" link="http://www.apache.org/" target="Command Target"/>
-      <tc:link label="Resource" resource="help.html" target="Command Target"/>
+      <tc:link label="Resource" resource="content/60-command/sample.html" target="Command Target"/>
       <tc:panel/>
 
       <!-- default command -->

Added: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample.html
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample.html?rev=1367494&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample.html (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample.html Tue Jul 31 11:14:52 2012
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+<body>
+Sample HTML page (default locale).
+</body>
+</html>

Added: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample_de.html
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample_de.html?rev=1367494&view=auto
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample_de.html (added)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/60-command/sample_de.html Tue Jul 31 11:14:52 2012
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+<body>
+Beispiel HTML Seite (deutsch).
+</body>
+</html>