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/11/12 22:21:44 UTC

svn commit: r835556 - in /incubator/pivot/trunk/demos/www: index.html xml_viewer.html xml_viewer.png

Author: gbrown
Date: Thu Nov 12 21:21:44 2009
New Revision: 835556

URL: http://svn.apache.org/viewvc?rev=835556&view=rev
Log:
Add XML Viewer demo page.

Added:
    incubator/pivot/trunk/demos/www/xml_viewer.html
    incubator/pivot/trunk/demos/www/xml_viewer.png   (with props)
Modified:
    incubator/pivot/trunk/demos/www/index.html

Modified: incubator/pivot/trunk/demos/www/index.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/index.html?rev=835556&r1=835555&r2=835556&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/www/index.html (original)
+++ incubator/pivot/trunk/demos/www/index.html Thu Nov 12 21:21:44 2009
@@ -107,6 +107,11 @@
 <p><img src="json_viewer.png"></p>
 <hr>
 
+<h3><a href="xml_viewer.html">XML Viewer</a></h3>
+<p>Allows users to visually browse an XML document using a TreeView component.</p>
+<p><img src="xml_viewer.png"></p>
+<hr>
+
 <h3><a href="scripting.html">Scripting</a></h3>
 <p>Simple example of a Pivot application written using JavaScript.</p>
 <hr>

Added: incubator/pivot/trunk/demos/www/xml_viewer.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/xml_viewer.html?rev=835556&view=auto
==============================================================================
--- incubator/pivot/trunk/demos/www/xml_viewer.html (added)
+++ incubator/pivot/trunk/demos/www/xml_viewer.html Thu Nov 12 21:21:44 2009
@@ -0,0 +1,43 @@
+<!--
+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.
+-->
+
+<html>
+<head>
+<title>Pivot XML Viewer</title>
+</head>
+<link rel="stylesheet" href="demo.css">
+<body>
+<p>Allows users to visually browse an XML document using a TreeView component.</p>
+
+<script src="version.js"></script>
+<script src="http://java.com/js/deployJava.js"></script>
+<script>
+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 + ".terra.signed.jar"
+        + ",lib/pivot-tools-" + version + ".signed.jar",
+    width:640,
+    height:480
+};
+var parameters = {application_class_name:"org.apache.pivot.tools.xml.XMLViewer",
+    codebase_lookup:false
+};
+deployJava.runApplet(attributes, parameters, "1.6");
+</script>
+</body>
+</html>

Added: incubator/pivot/trunk/demos/www/xml_viewer.png
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/xml_viewer.png?rev=835556&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/pivot/trunk/demos/www/xml_viewer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Re: svn commit: r835556 - in /incubator/pivot/trunk/demos/www: index.html xml_viewer.html xml_viewer.png

Posted by Sandro Martini <sa...@gmail.com>.
Just committed.

Ah, this time I remember to run the trim-whitespace ant task, so the
commit also for other (unrelated) files ...

Bye

Re: svn commit: r835556 - in /incubator/pivot/trunk/demos/www: index.html xml_viewer.html xml_viewer.png

Posted by Greg Brown <gk...@mac.com>.
Sure.

On Nov 12, 2009, at 6:15 PM, Sandro Martini wrote:

> Hi Greg,
> should I do the JNLP version (signed) also for this (and the text with
> link in the web_start.jsp page) ?
>
> Bye


Re: svn commit: r835556 - in /incubator/pivot/trunk/demos/www: index.html xml_viewer.html xml_viewer.png

Posted by Sandro Martini <sa...@gmail.com>.
Hi Greg,
should I do the JNLP version (signed) also for this (and the text with
link in the web_start.jsp page) ?

Bye