You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2009/10/08 18:34:58 UTC

svn commit: r823223 - in /incubator/pivot/trunk: demos/src/org/apache/pivot/demos/dom/ demos/www/ tutorials/www/

Author: gbrown
Date: Thu Oct  8 16:34:56 2009
New Revision: 823223

URL: http://svn.apache.org/viewvc?rev=823223&view=rev
Log:
Update tutorial HTML to use version.js.

Modified:
    incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java
    incubator/pivot/trunk/demos/www/file_drag_drop.html
    incubator/pivot/trunk/demos/www/itunes_search.html
    incubator/pivot/trunk/demos/www/json_viewer.html
    incubator/pivot/trunk/demos/www/rss_feed.html
    incubator/pivot/trunk/demos/www/stock_tracker.html
    incubator/pivot/trunk/tutorials/www/accordions.html
    incubator/pivot/trunk/tutorials/www/activity_indicators.html
    incubator/pivot/trunk/tutorials/www/borders.html
    incubator/pivot/trunk/tutorials/www/box_panes.html
    incubator/pivot/trunk/tutorials/www/calendars.html
    incubator/pivot/trunk/tutorials/www/card_panes.html
    incubator/pivot/trunk/tutorials/www/checkboxes.html
    incubator/pivot/trunk/tutorials/www/clipboard.html
    incubator/pivot/trunk/tutorials/www/context_menus.html
    incubator/pivot/trunk/tutorials/www/drag_and_drop.html
    incubator/pivot/trunk/tutorials/www/expanders.html
    incubator/pivot/trunk/tutorials/www/flow_panes.html
    incubator/pivot/trunk/tutorials/www/forms.html
    incubator/pivot/trunk/tutorials/www/hello_world.html
    incubator/pivot/trunk/tutorials/www/hello_wtkx.html
    incubator/pivot/trunk/tutorials/www/labels_and_image_views.html
    incubator/pivot/trunk/tutorials/www/link_buttons.html
    incubator/pivot/trunk/tutorials/www/list_buttons.html
    incubator/pivot/trunk/tutorials/www/lists.html
    incubator/pivot/trunk/tutorials/www/menu_bars.html
    incubator/pivot/trunk/tutorials/www/menu_buttons.html
    incubator/pivot/trunk/tutorials/www/meters.html
    incubator/pivot/trunk/tutorials/www/panels.html
    incubator/pivot/trunk/tutorials/www/panoramas.html
    incubator/pivot/trunk/tutorials/www/push_buttons.html
    incubator/pivot/trunk/tutorials/www/radio_buttons.html
    incubator/pivot/trunk/tutorials/www/rollups.html
    incubator/pivot/trunk/tutorials/www/sample_application.html
    incubator/pivot/trunk/tutorials/www/scroll_panes.html
    incubator/pivot/trunk/tutorials/www/separators.html
    incubator/pivot/trunk/tutorials/www/sliders.html
    incubator/pivot/trunk/tutorials/www/spinners.html
    incubator/pivot/trunk/tutorials/www/stack_panes.html
    incubator/pivot/trunk/tutorials/www/stock_tracker.html
    incubator/pivot/trunk/tutorials/www/stock_tracker.localization.html
    incubator/pivot/trunk/tutorials/www/tab_panes.html
    incubator/pivot/trunk/tutorials/www/table_panes.html
    incubator/pivot/trunk/tutorials/www/table_views.custom.html
    incubator/pivot/trunk/tutorials/www/table_views.html
    incubator/pivot/trunk/tutorials/www/table_views.json.html
    incubator/pivot/trunk/tutorials/www/text.html
    incubator/pivot/trunk/tutorials/www/toggle_buttons.html
    incubator/pivot/trunk/tutorials/www/windows.html

Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dom/DOMInteractionDemo.java Thu Oct  8 16:34:56 2009
@@ -17,7 +17,6 @@
 package org.apache.pivot.demos.dom;
 
 import org.apache.pivot.collections.Map;
-import org.apache.pivot.wtk.Alert;
 import org.apache.pivot.wtk.Application;
 import org.apache.pivot.wtk.BrowserApplicationContext;
 import org.apache.pivot.wtk.Button;
@@ -25,6 +24,7 @@
 import org.apache.pivot.wtk.Display;
 import org.apache.pivot.wtk.BoxPane;
 import org.apache.pivot.wtk.HorizontalAlignment;
+import org.apache.pivot.wtk.Prompt;
 import org.apache.pivot.wtk.PushButton;
 import org.apache.pivot.wtk.Window;
 
@@ -74,7 +74,7 @@
         if (window.isBlocked()) {
             System.out.println("I'm already saying hello!");
         } else {
-            Alert.alert(helloText, window);
+            Prompt.prompt(helloText, window);
         }
     }
 }

Modified: incubator/pivot/trunk/demos/www/file_drag_drop.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/file_drag_drop.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/www/file_drag_drop.html (original)
+++ incubator/pivot/trunk/demos/www/file_drag_drop.html Thu Oct  8 16:34:56 2009
@@ -31,7 +31,7 @@
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
     archive:"lib/pivot-core-" + version + ".signed.jar"
         + ",lib/pivot-wtk-" + version + ".signed.jar"
-        + ",lib/pivot-wtk-" + version + ".signed.terra.jar"
+        + ",lib/pivot-wtk-" + version + ".terra.signed.jar"
         + ",lib/pivot-demos-" + version + ".signed.jar",
     width:380,
     height:260

Modified: incubator/pivot/trunk/demos/www/itunes_search.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/itunes_search.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/www/itunes_search.html (original)
+++ incubator/pivot/trunk/demos/www/itunes_search.html Thu Oct  8 16:34:56 2009
@@ -30,7 +30,8 @@
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
     archive:"lib/pivot-core-" + version + ".signed.jar"
         + ",lib/pivot-wtk-" + version + ".signed.jar"
-        + ",lib/pivot-wtk-" + version + ".signed.terra.jar"
+        + ",lib/pivot-web-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".terra.signed.jar"
         + ",lib/pivot-demos-" + version + ".signed.jar",
     width:640,
     height:480

Modified: incubator/pivot/trunk/demos/www/json_viewer.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/json_viewer.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/www/json_viewer.html (original)
+++ incubator/pivot/trunk/demos/www/json_viewer.html Thu Oct  8 16:34:56 2009
@@ -29,7 +29,7 @@
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
     archive:"lib/pivot-core-" + version + ".signed.jar"
         + ",lib/pivot-wtk-" + version + ".signed.jar"
-        + ",lib/pivot-wtk-" + version + ".signed.terra.jar"
+        + ",lib/pivot-wtk-" + version + ".terra.signed.jar"
         + ",lib/pivot-tools-" + version + ".signed.jar",
     width:360,
     height:480,

Modified: incubator/pivot/trunk/demos/www/rss_feed.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/rss_feed.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/www/rss_feed.html (original)
+++ incubator/pivot/trunk/demos/www/rss_feed.html Thu Oct  8 16:34:56 2009
@@ -25,10 +25,6 @@
 uses a custom list view item renderer to present the news data. Double-clicking
 an item in the list will open the article in a new window.</p>
 
-<p>Note that this applet requires Java 6 Update 10 or later, since it relies on
-the existence of a crossdomain.xml file on the server in order for an unsigned
-applet to request the news feed.</p>
-
 <script src="version.js"></script>
 <script src="http://java.com/js/deployJava.js"></script>
 <script>

Modified: incubator/pivot/trunk/demos/www/stock_tracker.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/stock_tracker.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/www/stock_tracker.html (original)
+++ incubator/pivot/trunk/demos/www/stock_tracker.html Thu Oct  8 16:34:56 2009
@@ -31,7 +31,8 @@
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
     archive:"lib/pivot-core-" + version + ".signed.jar"
         + ",lib/pivot-wtk-" + version + ".signed.jar"
-        + ",lib/pivot-wtk-" + version + ".signed.terra.jar"
+        + ",lib/pivot-web-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".terra.signed.jar"
         + ",lib/pivot-tutorials-" + version + ".signed.jar",
     width:480,
     height:360

Modified: incubator/pivot/trunk/tutorials/www/accordions.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/accordions.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/accordions.html (original)
+++ incubator/pivot/trunk/tutorials/www/accordions.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>The following application demonstrates the use of the <tt>Accordion</tt> component. It is a simplified online checkout process consisting of three pages - shipping info, payment info, and order summary:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:260,
     height:380
 };

Modified: incubator/pivot/trunk/tutorials/www/activity_indicators.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/activity_indicators.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/activity_indicators.html (original)
+++ incubator/pivot/trunk/tutorials/www/activity_indicators.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>In Pivot, activity indicators are represented by instances of the <tt>ActivityIndicator</tt> component, shown below:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:320,
     height:240
 };

Modified: incubator/pivot/trunk/tutorials/www/borders.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/borders.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/borders.html (original)
+++ incubator/pivot/trunk/tutorials/www/borders.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>The example below shows two <tt>Border</tt> components, each of which contains a label. The border on the left has a title and showcases the default border style. The border on the left has no title and applies some custom style values:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:320,
     height:240
 };

Modified: incubator/pivot/trunk/tutorials/www/box_panes.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/box_panes.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/box_panes.html (original)
+++ incubator/pivot/trunk/tutorials/www/box_panes.html Thu Oct  8 16:34:56 2009
@@ -48,9 +48,13 @@
 
 <p>How the alignment values are handled varies depending on the box pane's orientation. Below is a sample application that demonstrates the effect each alignment value has on the box pane's components:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:460,
     height:310,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/calendars.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/calendars.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/calendars.html (original)
+++ incubator/pivot/trunk/tutorials/www/calendars.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>The following sample application demonstrates both types of components:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:360,
     height:480
 };

Modified: incubator/pivot/trunk/tutorials/www/card_panes.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/card_panes.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/card_panes.html (original)
+++ incubator/pivot/trunk/tutorials/www/card_panes.html Thu Oct  8 16:34:56 2009
@@ -53,9 +53,13 @@
 
 <p>The following application demonstrates the behavior of <tt>CardPane</tt>:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:640,
     height:480
 };

Modified: incubator/pivot/trunk/tutorials/www/checkboxes.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/checkboxes.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/checkboxes.html (original)
+++ incubator/pivot/trunk/tutorials/www/checkboxes.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>The following example demonstrates how to use the <tt>Checkbox</tt> class in a Pivot application. Selecting a checkbox shows or hides an associated icon:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:140,
     height:100,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/clipboard.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/clipboard.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/clipboard.html (original)
+++ incubator/pivot/trunk/tutorials/www/clipboard.html Thu Oct  8 16:34:56 2009
@@ -38,16 +38,20 @@
 
 <p>The following application demonstrates the use of the clipboard. It is signed to allow it to access the system clipboard; untrusted Pivot applications can only perform copy and paste with a local clipboard whose content is not shared with other applications.</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.signed.jar,lib/@project_name@-wtk-@version@.signed.jar,lib/@project_name@-wtk-@version@.terra.signed.jar,lib/@project_name@-tutorials-@version@.signed.jar",
+    archive:"lib/pivot-core-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".terra.signed.jar"
+        + ",lib/pivot-tutorials-" + version + ".signed.jar",
     width:720,
     height:480
 };
 var parameters = {application_class_name:"org.apache.pivot.wtk.ScriptApplication",
     codebase_lookup:false,
     java_arguments:"-Dsun.awt.noerasebackground=true -Dsun.awt.erasebackgroundonresize=true",
-    startup_properties:"org/apache/pivot/tutorials/clipboard/clipboard.wtkx"
+    startup_properties:"src=org/apache/pivot/tutorials/clipboard/clipboard.wtkx"
 };
 deployJava.writeAppletTag(attributes, parameters);
 </script>

Modified: incubator/pivot/trunk/tutorials/www/context_menus.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/context_menus.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/context_menus.html (original)
+++ incubator/pivot/trunk/tutorials/www/context_menus.html Thu Oct  8 16:34:56 2009
@@ -44,9 +44,13 @@
 
 <p>The first two methods are related to menu bars and are discussed in the next section. The third method can be used to automatically present a context menu when the user right-clicks on a component to which the handler is attached. For example, the following application uses a menu handler to present a simple context-sensitive help menu that describes what the user clicked on:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:420,
     height:240
 };

Modified: incubator/pivot/trunk/tutorials/www/drag_and_drop.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/drag_and_drop.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/drag_and_drop.html (original)
+++ incubator/pivot/trunk/tutorials/www/drag_and_drop.html Thu Oct  8 16:34:56 2009
@@ -25,6 +25,7 @@
 <script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js"></script>
 <script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js"></script>
 <script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js"></script>
+<script type="text/javascript" src="http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js"></script>
 <link type="text/css" rel="stylesheet" href="http://alexgorbatchev.com/pub/sh/current/styles/shCore.css"/>
 <link type="text/css" rel="stylesheet" href="http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css"/>
 <script type="text/javascript">
@@ -47,16 +48,20 @@
 <table>
 <tr>
 <td rowspan="2">
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.signed.jar,lib/@project_name@-wtk-@version@.signed.jar,lib/@project_name@-wtk-@version@.terra.signed.jar,lib/@project_name@-tutorials-@version@.signed.jar",
-    width:480,
-    height:480
+    archive:"lib/pivot-core-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".terra.signed.jar"
+        + ",lib/pivot-tutorials-" + version + ".signed.jar",
+    width:420,
+    height:420
 };
 var parameters = {application_class_name:"org.apache.pivot.wtk.ScriptApplication",
     codebase_lookup:false,
     java_arguments:"-Dsun.awt.noerasebackground=true -Dsun.awt.erasebackgroundonresize=true",
-    startup_properties:"org/apache/pivot/tutorials/dragdrop/drag_drop.wtkx"
+    startup_properties:"src=org/apache/pivot/tutorials/dragdrop/drag_drop.wtkx"
 };
 deployJava.writeAppletTag(attributes, parameters);
 </script>

Modified: incubator/pivot/trunk/tutorials/www/expanders.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/expanders.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/expanders.html (original)
+++ incubator/pivot/trunk/tutorials/www/expanders.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>Expanders are often used to present small amounts of information to the user. Since the information may not be relevant to the user all the time, expanders allow the user to "collapse" the panel to make more room for other content, similar to rolling up a window shade. The following example demonstrates the use of the <tt>Expander</tt> component:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:220,
     height:360
 };

Modified: incubator/pivot/trunk/tutorials/www/flow_panes.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/flow_panes.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/flow_panes.html (original)
+++ incubator/pivot/trunk/tutorials/www/flow_panes.html Thu Oct  8 16:34:56 2009
@@ -35,9 +35,13 @@
 <h1>Flow Panes</h1>
 <p>Flow panes arrange components in a horizontal line, wrapping when the contents don't fit on a single line. Components may be aligned to left, right, or center when there is space left over within a given line. The following example demonstrates the use of the <tt>FlowPane</tt> container:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:360,
     height:240
 };

Modified: incubator/pivot/trunk/tutorials/www/forms.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/forms.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/forms.html (original)
+++ incubator/pivot/trunk/tutorials/www/forms.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>Form contents are commonly organized into sections, to make it easier for the user to read. A contact management application might use a form such as the one shown below to collect information about the user's contacts. The form is divided into four sections, one for each aspect of the contact record: name, addresses, phone numbers, and email addresses. Note the use of the <tt>&lt;Form.Section&gt;</tt> elements to define the sections; the <tt>Form</tt>'s skin automatically inserts <a href="separators.html">separators</a> to visually partition the section content and uses the <tt>Form.Section</tt> heading as the <tt>Separator</tt> heading:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:512,
     height:384
 };

Modified: incubator/pivot/trunk/tutorials/www/hello_world.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/hello_world.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/hello_world.html (original)
+++ incubator/pivot/trunk/tutorials/www/hello_world.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>Below is the output of the traditional "hello world" application written in Pivot:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:240,
     height:80
 };

Modified: incubator/pivot/trunk/tutorials/www/hello_wtkx.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/hello_wtkx.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/hello_wtkx.html (original)
+++ incubator/pivot/trunk/tutorials/www/hello_wtkx.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>Below is the output of the "hello world" application written using WTKX. Note that, with the exception of the actual text, it is identical to the output of the Java version:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:240,
     height:80
 };
@@ -136,7 +140,10 @@
 
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:240,
     height:80
 };

Modified: incubator/pivot/trunk/tutorials/www/labels_and_image_views.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/labels_and_image_views.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/labels_and_image_views.html (original)
+++ incubator/pivot/trunk/tutorials/www/labels_and_image_views.html Thu Oct  8 16:34:56 2009
@@ -35,9 +35,13 @@
 <h1>Labels &amp; Image Views</h1>
 <p>This section introduces two of the least complex but most common Pivot components: <tt>Label</tt> and <tt>ImageView</tt>. Labels are used to present a block of static, optionally wrapped, text, and image views are used to display a static graphic. The applet below shows an <tt>ImageView</tt> followed by a <tt>Label</tt>:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:120,
     height:40,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/link_buttons.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/link_buttons.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/link_buttons.html (original)
+++ incubator/pivot/trunk/tutorials/www/link_buttons.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>The following example demonstrates use of the <tt>LinkButton</tt> class in a Pivot application. Clicking the links allows the user to navigate between two "pages", each containing a single image:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:360,
     height:360,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/list_buttons.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/list_buttons.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/list_buttons.html (original)
+++ incubator/pivot/trunk/tutorials/www/list_buttons.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>The following example demonstrates use of the <tt>ListButton</tt> component. Selecting an image name from the drop-down shows the corresponding image file in the image view on the right.</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:480,
     height:340,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/lists.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/lists.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/lists.html (original)
+++ incubator/pivot/trunk/tutorials/www/lists.html Thu Oct  8 16:34:56 2009
@@ -37,9 +37,13 @@
 
 <p><tt>ListButton</tt> is discussed in the next section. The following example demonstrates the <tt>ListView</tt> component. Multiple items may be selected at a time, and list selections are reflected in the label to the right.</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:216,
     height:122,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/menu_bars.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/menu_bars.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/menu_bars.html (original)
+++ incubator/pivot/trunk/tutorials/www/menu_bars.html Thu Oct  8 16:34:56 2009
@@ -40,9 +40,13 @@
 
 <p>The example application below shows a menu bar containing two common top-level menu items: "File" and "Edit" (note that the applet is signed since it makes use of the <tt>FileBrowserSheet</tt> component, which requires access to the local file system):</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.signed.jar,lib/@project_name@-wtk-@version@.signed.jar,lib/@project_name@-wtk-@version@.terra.signed.jar,lib/@project_name@-tutorials-@version@.signed.jar",
+    archive:"lib/pivot-core-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".terra.signed.jar"
+        + ",lib/pivot-tutorials-" + version + ".signed.jar",
     width:640,
     height:480
 };

Modified: incubator/pivot/trunk/tutorials/www/menu_buttons.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/menu_buttons.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/menu_buttons.html (original)
+++ incubator/pivot/trunk/tutorials/www/menu_buttons.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>The following sample application demonstrates the use of a menu button. The application's toolbar contains a menu button containing a list of shapes, and a list button containing a list of colors. Selecting an item from the shape menu button adds the selected shape to the drawing shown in the application's content area:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:640,
     height:480
 };

Modified: incubator/pivot/trunk/tutorials/www/meters.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/meters.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/meters.html (original)
+++ incubator/pivot/trunk/tutorials/www/meters.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>Meters are used to report progress to the user, generally the completion percentage of a background task such as a file load operation. An example is shown below. Clicking the Start button initiates a background task that simulates a long-running operation. Periodically, the task updates the meter to reflect its progress:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:300,
     height:100
 };

Modified: incubator/pivot/trunk/tutorials/www/panels.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/panels.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/panels.html (original)
+++ incubator/pivot/trunk/tutorials/www/panels.html Thu Oct  8 16:34:56 2009
@@ -37,9 +37,13 @@
 
 <p>The following example demonstrates use of the <tt>Panel</tt> container. It defines a stack pane that contains an <tt>ImageView</tt> and a <tt>Panel</tt>. The image view contains a drawing that defines an absolutely positioned rectangle. The buttons in the <tt>Panel</tt>, which sits on top of the <tt>ImageView</tt>, are absolutely positioned such that they appear within the bounds of the rectangle:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:400,
     height:320
 };

Modified: incubator/pivot/trunk/tutorials/www/panoramas.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/panoramas.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/panoramas.html (original)
+++ incubator/pivot/trunk/tutorials/www/panoramas.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>The following example demonstrates the <tt>Panorama</tt> component. It is identical to the previous example except that it uses a panorama instead of a scroll pane:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:480,
     height:360
 };

Modified: incubator/pivot/trunk/tutorials/www/push_buttons.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/push_buttons.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/push_buttons.html (original)
+++ incubator/pivot/trunk/tutorials/www/push_buttons.html Thu Oct  8 16:34:56 2009
@@ -35,9 +35,13 @@
 <h1>Push Buttons</h1>
 <p>Below is an example of a Pivot <tt>PushButton</tt>. Clicking the button opens a simple modal dialog informing the user that the button was clicked:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:480,
     height:360,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/radio_buttons.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/radio_buttons.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/radio_buttons.html (original)
+++ incubator/pivot/trunk/tutorials/www/radio_buttons.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>The following example demonstrates how to use the <tt>RadioButton</tt> class in a Pivot application:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:480,
     height:360,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/rollups.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/rollups.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/rollups.html (original)
+++ incubator/pivot/trunk/tutorials/www/rollups.html Thu Oct  8 16:34:56 2009
@@ -39,9 +39,13 @@
 
 <p>The first three rollups in the example below present the same content as in the Expanders example. The fourth includes an example of nested rollups:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:220,
     height:360
 };

Modified: incubator/pivot/trunk/tutorials/www/sample_application.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/sample_application.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/sample_application.html (original)
+++ incubator/pivot/trunk/tutorials/www/sample_application.html Thu Oct  8 16:34:56 2009
@@ -26,9 +26,13 @@
 
 <p>The following is a sample application written to demonstrate a number of commonly used Pivot components:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:800,
     height:600
 };

Modified: incubator/pivot/trunk/tutorials/www/scroll_panes.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/scroll_panes.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/scroll_panes.html (original)
+++ incubator/pivot/trunk/tutorials/www/scroll_panes.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>The following example demonstrates the use of a scroll pane to display a large image:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:480,
     height:360
 };

Modified: incubator/pivot/trunk/tutorials/www/separators.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/separators.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/separators.html (original)
+++ incubator/pivot/trunk/tutorials/www/separators.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>Separators are simple components that are similar to a horizontal rule in HTML. They have an optional heading and are generally used to partition content, as shown in the sample application below:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:320,
     height:240,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/sliders.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/sliders.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/sliders.html (original)
+++ incubator/pivot/trunk/tutorials/www/sliders.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>Sliders allow a user to interactively select one of a range of values by dragging the mouse. The following example demonstrates the use of the <tt>Slider</tt> component. It allows the user to select a value from 0 - 255 and displays the value in a <tt>Label</tt> component:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:160,
     height:30
 };

Modified: incubator/pivot/trunk/tutorials/www/spinners.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/spinners.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/spinners.html (original)
+++ incubator/pivot/trunk/tutorials/www/spinners.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>Note that spinners may be "circular". When a spinner's "circular" property is set to <tt>true</tt>, the spinner's selection will wrap when it reaches the first or last item in the list. In the following example, the first spinner is circular, and the second is not:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:160,
     height:30
 };

Modified: incubator/pivot/trunk/tutorials/www/stack_panes.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/stack_panes.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/stack_panes.html (original)
+++ incubator/pivot/trunk/tutorials/www/stack_panes.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>The following example shows a stack pane containing an image view and a label. The label is layered on top of the image:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:480,
     height:360
 };

Modified: incubator/pivot/trunk/tutorials/www/stock_tracker.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/stock_tracker.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/stock_tracker.html (original)
+++ incubator/pivot/trunk/tutorials/www/stock_tracker.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,14 @@
 
 <p>The sample application is shown below. The application retrieves live (delayed by 15 minutes) stock quote data from <a href="http://finance.yahoo.com/">Yahoo! Finance</a> as a CSV file and presents it in a table view component (the applet is signed to allow it to communicate with the Yahoo web service):</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.signed.jar,lib/@project_name@-web-@version@.signed.jar,lib/@project_name@-wtk-@version@.signed.jar,lib/@project_name@-wtk-@version@.terra.signed.jar,lib/@project_name@-tutorials-@version@.signed.jar",
+    archive:"lib/pivot-core-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".signed.jar"
+        + ",lib/pivot-web-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".terra.signed.jar"
+        + ",lib/pivot-tutorials-" + version + ".signed.jar",
     width:480,
     height:360
 };

Modified: incubator/pivot/trunk/tutorials/www/stock_tracker.localization.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/stock_tracker.localization.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/stock_tracker.localization.html (original)
+++ incubator/pivot/trunk/tutorials/www/stock_tracker.localization.html Thu Oct  8 16:34:56 2009
@@ -103,9 +103,14 @@
 
 <p>The application loads the resources for the appropriate locale at startup, and the WTKX serializer handles the details of resource substitution so the developer doesn't have to worry about it. The following applet demonstrates the Stock Tracker application run using the "fr" locale. No code changes are required; the same JAR files are used to execute both the English and French versions:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.signed.jar,lib/@project_name@-web-@version@.signed.jar,lib/@project_name@-wtk-@version@.signed.jar,lib/@project_name@-wtk-@version@.terra.signed.jar,lib/@project_name@-tutorials-@version@.signed.jar",
+    archive:"lib/pivot-core-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".signed.jar"
+        + ",lib/pivot-web-" + version + ".signed.jar"
+        + ",lib/pivot-wtk-" + version + ".terra.signed.jar"
+        + ",lib/pivot-tutorials-" + version + ".signed.jar",
     width:480,
     height:360
 };

Modified: incubator/pivot/trunk/tutorials/www/tab_panes.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/tab_panes.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/tab_panes.html (original)
+++ incubator/pivot/trunk/tutorials/www/tab_panes.html Thu Oct  8 16:34:56 2009
@@ -36,9 +36,13 @@
 
 <p>Functionally, tab panes are similar to card panes in that they show only one of a collection of components at a time. Unlike card panes, tab panes include built-in support for navigating between the components, which are called "tabs". The following example demonstrates the use of the <tt>TabPane</tt> component:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:680,
     height:480
 };

Modified: incubator/pivot/trunk/tutorials/www/table_panes.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/table_panes.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/table_panes.html (original)
+++ incubator/pivot/trunk/tutorials/www/table_panes.html Thu Oct  8 16:34:56 2009
@@ -51,9 +51,13 @@
 
 <p>Below is a sample application that demonstrates a basic table pane structure and responds to mouse clicks with information about where the user clicked:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:500,
     height:350,
     style:"border:solid 1px #999999"
@@ -209,7 +213,10 @@
 
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:500,
     height:350,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/table_views.custom.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/table_views.custom.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/table_views.custom.html (original)
+++ incubator/pivot/trunk/tutorials/www/table_views.custom.html Thu Oct  8 16:34:56 2009
@@ -37,9 +37,13 @@
 
 <p>This example continues the theme of the previous two examples and presents the final standings of the top ten medal-winning countries in the 2008 Summer Olympics in a <tt>TableView</tt> component. However, rather than representing the data using simple string-based hash maps or deserialized JSON values, this example uses a custom JavaBean component to represent a table row. In addition to the "nation", "gold", "silver", "bronze", and "total" properties used in the previous examples, it also defines a "flag" property of type <tt>org.apache.pivot.wtk.media.Image</tt>, which is shown in the first column:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:480,
     height:240
 };

Modified: incubator/pivot/trunk/tutorials/www/table_views.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/table_views.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/table_views.html (original)
+++ incubator/pivot/trunk/tutorials/www/table_views.html Thu Oct  8 16:34:56 2009
@@ -40,9 +40,13 @@
 
 <p>The following simple example populates a <tt>TableView</tt> using an array list containing hash maps of string values for each row. The table data represents the final standings of the top ten medal-winning countries in the 2008 Summer Olympics:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:480,
     height:240
 };

Modified: incubator/pivot/trunk/tutorials/www/table_views.json.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/table_views.json.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/table_views.json.html (original)
+++ incubator/pivot/trunk/tutorials/www/table_views.json.html Thu Oct  8 16:34:56 2009
@@ -37,9 +37,13 @@
 
 <p>The previous example showed a basic table view that was populated by string-based hash map data and did not support sorting on the Olympic medal count data. This example populates the same table view with JSON values, which represent the medal counts as numbers, rather than strings:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:480,
     height:240
 };

Modified: incubator/pivot/trunk/tutorials/www/text.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/text.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/text.html (original)
+++ incubator/pivot/trunk/tutorials/www/text.html Thu Oct  8 16:34:56 2009
@@ -38,9 +38,13 @@
 
 <p>The following example application demonstrates use of the <tt>TextInput</tt> component:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:240,
     height:40
 };

Modified: incubator/pivot/trunk/tutorials/www/toggle_buttons.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/toggle_buttons.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/toggle_buttons.html (original)
+++ incubator/pivot/trunk/tutorials/www/toggle_buttons.html Thu Oct  8 16:34:56 2009
@@ -35,9 +35,13 @@
 <h1>Toggle Buttons</h1>
 <p>While some button types, such as radio buttons and checkboxes, are always toggle buttons, other types, including push buttons, may optionally be configured to behave as toggle buttons. For example, see the push buttons in the application below. Clicking a button causes it to retain a pressed state; clicking it again releases the button:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:240,
     height:80,
     style:"border:solid 1px #999999"

Modified: incubator/pivot/trunk/tutorials/www/windows.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/tutorials/www/windows.html?rev=823223&r1=823222&r2=823223&view=diff
==============================================================================
--- incubator/pivot/trunk/tutorials/www/windows.html (original)
+++ incubator/pivot/trunk/tutorials/www/windows.html Thu Oct  8 16:34:56 2009
@@ -61,9 +61,13 @@
 
 <p>The following sample application demonstrates each of these window types. It creates three top-level frames, each of which contains buttons for launching several other window types:</p>
 
+<script src="version.js"></script>
 <script>
 var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
-    archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+    archive:"lib/pivot-core-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".jar"
+        + ",lib/pivot-wtk-" + version + ".terra.jar"
+        + ",lib/pivot-tutorials-" + version + ".jar",
     width:800,
     height:600
 };