forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r329436 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/ajax-example.ft
Date Sat, 29 Oct 2005 16:29:38 GMT
Author: thorsten
Date: Sat Oct 29 09:29:33 2005
New Revision: 329436

URL: http://svn.apache.org/viewcvs?rev=329436&view=rev
Log:
Added warning note that the contracts works only if you are request 'http://localhost:8888/*'

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/ajax-example.ft

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/ajax-example.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/ajax-example.ft?rev=329436&r1=329435&r2=329436&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/ajax-example.ft
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/ajax-example.ft
Sat Oct 29 09:29:33 2005
@@ -29,6 +29,10 @@
       <div class="content">You need to include <![CDATA[<forrest:contract name="helper-prototype-ajax"/>]]>
         in your view!!! If you are not, it will not work.</div>
     </div>
+    <div class="warning">
+      <div class="label">Warning</div>
+      <div class="content">This example <strong>only</strong> works in
<strong>http://localhost:8888/</strong>.</div>
+    </div>
   </description>
   <usage><![CDATA[<forrest:contract name="ajax-example"/>]]></usage>
   <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
@@ -48,6 +52,10 @@
         </script>
         </xsl:template>
         <xsl:template name="ajax-example-body">
+          <div class="warning">
+            <div class="label">Warning</div>
+            <div class="content">This example <strong>only</strong> works
in <strong>http://localhost:8888/</strong>.</div>
+          </div>
            <p>
             This is an example how to use AJAX in forrest. The <a href="javascript:preview('testDiv')">test</a>
            will update the testDiv with the output of url = 'http://localhost:8888/less.contract-ajax-example.xml';



Mime
View raw message