You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2009/10/19 15:14:56 UTC
svn commit: r826663 - in /incubator/pivot/trunk/demos/www: index.jsp
json_viewer.jnlp
Author: smartini
Date: Mon Oct 19 13:14:55 2009
New Revision: 826663
URL: http://svn.apache.org/viewvc?rev=826663&view=rev
Log:
add Web Start file for the JSON Viewer demo, and update (temp) index.jsp page for simpler testing
Added:
incubator/pivot/trunk/demos/www/json_viewer.jnlp
Modified:
incubator/pivot/trunk/demos/www/index.jsp
Modified: incubator/pivot/trunk/demos/www/index.jsp
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/index.jsp?rev=826663&r1=826662&r2=826663&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/www/index.jsp (original)
+++ incubator/pivot/trunk/demos/www/index.jsp Mon Oct 19 13:14:55 2009
@@ -54,7 +54,7 @@
font-size:11px;
}
-img {
+img {
vertical-align: middle;
}
</style>
@@ -97,12 +97,36 @@
Pivot. Monitors stock quotes provided by <a href="http://finance.yahoo.com/">Yahoo!
Finance</a>.</p>
<p><img src="stock_tracker.png"></p>
+<br/>
+<div>
+Signed:
+<script>
+var url = "<%= codebase %>stock_tracker.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+ ,
+Signed with French Locale (fr):
+<script>
+var url = "<%= codebase %>stock_tracker_fr.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="itunes_search.html">iTunes Search</a></h3>
<p>Simple application that allows a user to run search queries against the
iTunes Music Store and presents the results in a table view.</p>
<p><img src="itunes_search.png"></p>
+<br/>
+<div>
+Signed:
+<script>
+var url = "<%= codebase %>itunes_search.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="http://ixnay.biz/charts.html">Charting</a> <img src="page_go.png"></h3>
@@ -119,39 +143,104 @@
<h3><a href="json_viewer.html">JSON Viewer</a></h3>
<p>Allows users to visually browse a JSON structure using a TreeView component.</p>
<p><img src="json_viewer.png"></p>
+<br/>
+<div>
+Signed:
+<script>
+var url = "<%= codebase %>json_viewer.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="scripting.html">Scripting</a></h3>
<p>Simple example of a Pivot application written using JavaScript.</p>
+<br/>
+<div>
+Unsigned:
+<script>
+var url = "<%= codebase %>scripting.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="file_drag_drop.html">File Drag & Drop</a></h3>
<p>Demonstrates Pivot's support for drag and drop.</p>
+<br/>
+<div>
+Signed:
+<script>
+var url = "<%= codebase %>file_drag_drop.signed.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="table_row_editor.html">Table Row Editor</a></h3>
<p>Example of a table row editor that uses a "Family Feud"-like flip effect to
edit rows.</p>
+<br/>
+<div>
+Unsigned:
+<script>
+var url = "<%= codebase %>table_row_editor.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="animated_clock.html">Animated Clock</a></h3>
<p>Demonstrates Pivot's MovieView component, which is used to present a clock
constructed using Pivot's drawing API.</p>
<p><img src="clock.png"></p>
+<br/>
+<div>
+Unsigned:
+<script>
+var url = "<%= codebase %>animated_clock.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="large_data.html">Large Data Sets</a></h3>
<p>Demonstrates Pivot's ability to handle large data sets of up to 1,000,000
rows.</p>
+<br/>
+<div>
+Unsigned:
+<script>
+var url = "<%= codebase %>large_data.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="rss_feed.html">RSS Feed</a></h3>
<p>Demonstrates how to build a simple RSS client in Pivot.</p>
+<br/>
+<div>
+Unsigned:
+<script>
+var url = "<%= codebase %>rss_feed.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="dom_interaction.html">DOM Interaction</a></h3>
<p>Demonstrates Pivot's support for bi-directional communication between a Pivot
application and the browser DOM.</p>
+<br/>
+TODO: verify is execute the applet here via JNLP
<hr/>
<h3><a href="decorators.html">Decorators</a></h3>
@@ -160,17 +249,44 @@
image effects, etc. This example shows a window with a reflection decorator and
a frame with a fade decorator.</p>
<p><img src="decorators.png"></p>
+<br/>
+<div>
+Unsigned:
+<script>
+var url = "<%= codebase %>decorators.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="fixed_column_table.html">Fixed Column Table</a></h3>
<p>Explains how to create a table with fixed columns in Pivot. Fixed columns are
handy when displaying tables with many columns.</p>
+<br/>
+<div>
+Unsigned:
+<script>
+var url = "<%= codebase %>fixed_column_table.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<h3><a href="multiselect.html">Multiple Selection</a></h3>
<p>Demonstrates Pivot's use of ranges to maintain selection state in a ListView
component. This is more efficient than maintaining a list of individual
selected indexes.</p>
+<br/>
+<div>
+Unsigned:
+<script>
+var url = "<%= codebase %>multiselect.jnlp";
+deployJava.createWebStartLaunchButton(url, '1.6');
+</script>
+
+</div>
<hr/>
<br/>
Added: incubator/pivot/trunk/demos/www/json_viewer.jnlp
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/json_viewer.jnlp?rev=826663&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/json_viewer.jnlp (added)
+++ incubator/pivot/trunk/demos/www/json_viewer.jnlp Mon Oct 19 13:14:55 2009
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<%
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+%>
+
+<%@ page language="java" contentType="application/x-java-jnlp-file" pageEncoding="UTF-8" %>
+
+<%@ include file="version.jsp" %>
+<%@ include file="jnlp_common.jsp" %>
+
+<jnlp spec="1.6+" codebase="<%= codebase %>" href="<%= href %>">
+ <information>
+ <title>Pivot "JSON Viewer" Demo - Signed</title>
+ <vendor>Apache Pivot</vendor>
+ <homepage href="http://incubator.apache.org/pivot/"/>
+ <description>
+ Allows users to visually browse a JSON structure using a TreeView component.
+ </description>
+ <offline-allowed/>
+ <shortcut online="false">
+ <desktop/>
+ </shortcut>
+ </information>
+
+ <security>
+ <all-permissions/>
+ </security>
+
+ <resources>
+<%@ include file="jnlp_properties.jsp" %>
+
+ <java version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
+
+ <extension name="pivot-runtime" href="<%= codebase %>pivot-runtime.signed.jnlp" />
+
+ <jar href="lib/pivot-tools-<%= version %>.signed.jar" main="true" />
+ </resources>
+
+ <application-desc main-class="org.apache.pivot.wtk.DesktopApplicationContext">
+ <argument>org.apache.pivot.tools.json.JSONViewer</argument>
+ </application-desc>
+
+ <update check="background" />
+</jnlp>