You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/08/28 01:55:07 UTC
svn commit: r437502 [2/11] - /incubator/xap/site/
Modified: incubator/xap/site/index.php@cid=1065&lang=html4strict&source_code=..%2Fdemo%2FxapDemos%2Fexamples%2FhelloWorld%2Findex.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/index.php%40cid%3D1065%26lang%3Dhtml4strict%26source_code%3D..%252Fdemo%252FxapDemos%252Fexamples%252FhelloWorld%252Findex.html?rev=437502&r1=437501&r2=437502&view=diff
==============================================================================
--- incubator/xap/site/index.php@cid=1065&lang=html4strict&source_code=..%2Fdemo%2FxapDemos%2Fexamples%2FhelloWorld%2Findex.html (original)
+++ incubator/xap/site/index.php@cid=1065&lang=html4strict&source_code=..%2Fdemo%2FxapDemos%2Fexamples%2FhelloWorld%2Findex.html Sun Aug 27 18:55:05 2006
@@ -16,17 +16,6 @@
<body class=body>
-<!--
-<table width=100% BORDER="0" CELLSPACING="0" CELLPADDING="0">
-<tr>
-<td valign=top align=right width=100% style="border-bottom: 0px; padding-bottom: 0px;
- background-image: url(../shared/images/banner_logo_repeat.gif); background-repeat: repeat; background-position: top;">
-
-<a href="./"><image src="../shared/images/banner_logo.gif" style="position: static; left: 0px;" hspace=0 vspace=0 border=0 align=left></a>
-<a href="http://www.nexaweb.com" style="vertical-align: bottom; font-size: 8pt; text-decoration: none;">Nexaweb.com Home</a>
-<image src="../shared/images/banner_logo_cap.gif" hspace=0 vspace=0 border=0 align=top></td></tr>
-</table>
--->
<div style="width:972px;">
<table width=100% BORDER="0" CELLSPACING="0" CELLPADDING="0">
<tr>
@@ -42,36 +31,38 @@
<tr style="background-image: url(./images/background.gif); background-repeat: repeat; background-position: top;">
<td width=20><!--<img src="../shared/images/left_cap.gif">--> </td>
<td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1054';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1054.html" class="headerTitle" style="color: white; text-decoration: none;">Welcome</a></td><td class="content" style="color: white; cursor: default;"> | </td><td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1064';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1064.html"
class="headerTitle" style="color: white; text-decoration: none;">Getting Started</a></td><td width=100%> </td>
-<!--<td width=20><img src="../shared/images/right_cap.gif"></td>-->
</tr>
</table>
-<!--<image src="../shared/images/spaced.gif" border=0 height=8><br>-->
<script type="text/javascript" src="../shared/helpers.js"></script><table height=420 width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td colspan=2><image src="./images/spaced.gif" border=0 height=10><br></td></tr><tr><td valign=top class=copyText style="padding-left: 8px; padding-right: 8px;"><div style="width: 720px;"><a href="index.php@cid=1065.html">Close source view</a><br/><br/><div style="width: 100%"><div class="html4strict" style="font-family: monospace;width: 900px; color: #000066; border: 1px solid #d0d0d0; background-color: #f8f8f8;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;"><html></span></a></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;"><head></span></a></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><a href="http://december.com/html/4/element/meta.html"><span style="color: #000000; font-weight: bold;"><meta</span></a> <span style="color: #000066;">http-equiv</span>=<span style="color: #ff0000;">"Content-Type"</span> <span style="color: #000066;">content</span>=<span style="color: #ff0000;">"text/html; charset=UTF-8"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;"><title></span></a></span>Example 1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></title></span></span></div></li>
-<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> </div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><a href="http://december.com/html/4/element/style.html"><span style="color: #000000; font-weight: bold;"><style</span></a> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/css"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="color: #808080; font-style: italic;"><!--</span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> @import url(../../css/xapDefault.css);</span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> --></span></span></div></li>
-<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></style></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;"><script</span></a> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">"JavaScript"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"../../src/xap/util/Utils.js"</span><span style="color: #000000; font-weight: bold;">></span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></script></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;"><script</span></a> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">"JavaScript"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"../../src/xap/Xap.js"</span><span style="color: #000000; font-weight: bold;">></span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></script></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;"><script</span></a> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">"JavaScript"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> Xap.bootstrap( "../../" );</div></li>
-<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></script></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></head></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/meta.html"><span style="color: #000000; font-weight: bold;"><meta</span></a> <span style="color: #000066;">http-equiv</span>=<span style="color: #ff0000;">"Content-Type"</span> <span style="color: #000066;">content</span>=<span style="color: #ff0000;">"text/html; charset=UTF-8"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
+<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;"><title></span></a></span>Hello World<span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></title></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/style.html"><span style="color: #000000; font-weight: bold;"><style</span></a> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/css"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="color: #808080; font-style: italic;"><!--</span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> @import url(../../css/xapDefault.css);</span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> --></span></span></div></li>
+<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></style></span></span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> </div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;"><body</span></a> <span style="color: #000066;">onload</span>=<span style="color: #ff0000;">"launch();"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;"><script</span></a> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">"JavaScript"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
-<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> function launch() {</div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> // required for Zimbra</div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;"><script</span></a> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">"JavaScript"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"../../zimbra.js"</span><span style="color: #000000; font-weight: bold;">></span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></script></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;"><script</span></a> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">"JavaScript"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"../../xapcore.js"</span><span style="color: #000000; font-weight: bold;">></span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></script></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;"><script</span></a> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">"JavaScript"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
+<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> Xap.bootstrap( "../../" );</div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></script></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></head></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> </div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;"><body</span></a> <span style="color: #000066;">onload</span>=<span style="color: #ff0000;">"splash();"</span> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">"background-image: url('../loading.gif'); background-position: center; background-repeat: no-repeat;"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
+<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/script.html"><span style="color: #000000; font-weight: bold;"><script</span></a> <span style="color: #000066;">language</span>=<span style="color: #ff0000;">"JavaScript"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/javascript"</span><span style="color: #000000; font-weight: bold;">></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> function splash() {</div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> window.setTimeout('launch()', 10 );</div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> }</div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> function launch() {</div></li>
+<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> // required for Zimbra</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> DBG = new AjxDebug( AjxDebug.NONE, null, false );</div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> Xap.createSession( "../../", "index.xal" );</div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> Xap.createSession( "../../", "index.xal" );</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> }</div></li>
-<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></script></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></body></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></script></span></span></div></li>
+<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></body></span></span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;"></html></span></span> </div></li></ol></div></div><image src="./images/spaced.gif" border=0 height=8><br></div></td></tr></table>
@@ -84,13 +75,365 @@
-->
<tr>
<td colspan="7" align="center" style="border-top: 1px white solid; padding-top: 8px;"><span class="subheader" style="color: #295A8F; font-size: 7pt;">
-Copyright © 2006
+Copyright 2006
<a href="http://www.apache.org/licenses/" style="font-size: 8pt; ; color: #295A8F;">The Apache Software Foundation<a>
</span></td>
</tr>
</table>
-</div><!-- Start Superstats code version 7.0b. Copyright 1997-2003 MyComputer.com, Inc. More info available at http://www.mycomputer.com -->
+</div><!-- no track = --><!-- START OF SDC Advanced Tracking Code -->
+<!-- Copyright (c) 1996-2005 WebTrends Inc. All rights reserved. -->
+<!-- V8.0 -->
+<!-- $DateTime: 2006/05/02 08:33:13 $ -->
+<SCRIPT TYPE="text/javascript"><!--
+var gTimeZone = 0;
+// Code section for Enable First-Party Cookie Tracking
+function dcsGetCookie(name){
+ var pos=document.cookie.indexOf(name+"=");
+ if (pos!=-1){
+ var start=pos+name.length+1;
+ var end=document.cookie.indexOf(";",start);
+ if (end==-1){
+ end=document.cookie.length;
+ }
+ return unescape(document.cookie.substring(start,end));
+ }
+ return null;
+}
+function dcsGetCrumb(name,crumb){
+ var aCookie=dcsGetCookie(name).split(":");
+ for (var i=0;i<aCookie.length;i++){
+ var aCrumb=aCookie[i].split("=");
+ if (crumb==aCrumb[0]){
+ return aCrumb[1];
+ }
+ }
+ return null;
+}
+function dcsGetIdCrumb(name,crumb){
+ var cookie=dcsGetCookie(name);
+ var id=cookie.substring(0,cookie.indexOf(":lv="));
+ var aCrumb=id.split("=");
+ for (var i=0;i<aCrumb.length;i++){
+ if (crumb==aCrumb[0]){
+ return aCrumb[1];
+ }
+ }
+ return null;
+}
+function dcsFPC(offset){
+ if (typeof(offset)=="undefined"){
+ return;
+ }
+ if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
+ return;
+ }
+ var name=gFpc;
+ var dCur=new Date();
+ var adj=(dCur.getTimezoneOffset()*60000)+(offset*3600000);
+ dCur.setTime(dCur.getTime()+adj);
+ var dExp=new Date(dCur.getTime()+315360000000);
+ var dSes=new Date(dCur.getTime());
+ WT.co_f=WT.vt_sid=WT.vt_f=WT.vt_f_a=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv="";
+ if (document.cookie.indexOf(name+"=")==-1){
+ if ((typeof(gWtId)!="undefined")&&(gWtId!="")){
+ WT.co_f=gWtId;
+ }
+ else if ((typeof(gTempWtId)!="undefined")&&(gTempWtId!="")){
+ WT.co_f=gTempWtId;
+ WT.vt_f="1";
+ }
+ else{
+ WT.co_f="2";
+ var cur=dCur.getTime().toString();
+ for (var i=2;i<=(32-cur.length);i++){
+ WT.co_f+=Math.floor(Math.random()*16.0).toString(16);
+ }
+ WT.co_f+=cur;
+ WT.vt_f="1";
+ }
+ if (typeof(gWtAccountRollup)=="undefined"){
+ WT.vt_f_a="1";
+ }
+ WT.vt_f_s=WT.vt_f_d="1";
+ WT.vt_f_tlh=WT.vt_f_tlv="0";
+ }
+ else{
+ var id=dcsGetIdCrumb(name,"id");
+ var lv=parseInt(dcsGetCrumb(name,"lv"));
+ var ss=parseInt(dcsGetCrumb(name,"ss"));
+ if ((id==null)||(id=="null")||isNaN(lv)||isNaN(ss)){
+ return;
+ }
+ WT.co_f=id;
+ var dLst=new Date(lv);
+ WT.vt_f_tlh=Math.floor((dLst.getTime()-adj)/1000);
+ dSes.setTime(ss);
+ if ((dCur.getTime()>(dLst.getTime()+1800000))||(dCur.getTime()>(dSes.getTime()+28800000))){
+ WT.vt_f_tlv=Math.floor((dSes.getTime()-adj)/1000);
+ dSes.setTime(dCur.getTime());
+ WT.vt_f_s="1";
+ }
+ if ((dCur.getDay()!=dLst.getDay())||(dCur.getMonth()!=dLst.getMonth())||(dCur.getYear()!=dLst.getYear())){
+ WT.vt_f_d="1";
+ }
+ }
+ WT.co_f=escape(WT.co_f);
+ WT.vt_sid=WT.co_f+"."+(dSes.getTime()-adj);
+ var expiry="; expires="+dExp.toGMTString();
+ document.cookie=name+"="+"id="+WT.co_f+":lv="+dCur.getTime().toString()+":ss="+dSes.getTime().toString()+expiry+"; path=/"+(((typeof(gFpcDom)!="undefined")&&(gFpcDom!=""))?("; domain="+gFpcDom):(""));
+ if (document.cookie.indexOf(name+"=")==-1){
+ WT.co_f=WT.vt_sid=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv="";
+ WT.vt_f=WT.vt_f_a="2";
+ }
+}
+
+// Code section for Use the new first-party cookie generated with this tag.
+var gFpc="WT_FPC";
+var gConvert=true;
+
+// Code section for Enable SmartView Transition Page tracking
+function dcsTP(){
+ if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
+ return;
+ }
+ var name="WT_DC";
+ var expiry="; expires=Thu, 31-Dec-2020 08:00:00 GMT";
+ var path="; path=/";
+ var domain="";
+ if ((document.cookie.indexOf(name+"=")!=-1)&&(dcsGetCrumb(name,"tsp")=="1")){
+ WT.ttp="1";
+ }
+ if (dcsGetMeta("SmartView_Page")=="1"){
+ WT.tsp="1";
+ document.cookie=name+"=tsp=1"+expiry+path+domain;
+ }
+ else{
+ document.cookie=name+"=; expires=Sun, 1-Jan-1995 00:00:00 GMT;"+path+domain;
+ }
+}
+function dcsGetMeta(name){
+ var elems;
+ if (document.all){
+ elems=document.all.tags("meta");
+ }
+ else if (document.documentElement){
+ elems=document.getElementsByTagName("meta");
+ }
+ if (typeof(elems)!="undefined"){
+ for (var i=1;i<=elems.length;i++){
+ var meta=elems.item(i-1);
+ if (meta.name&&(meta.name.indexOf(name)==0)){
+ return meta.content;
+ break;
+ }
+ }
+ }
+ return null;
+}
+//-->
+</SCRIPT>
+<!-- END OF SDC Advanced Tracking Code -->
+<!-- START OF SmartSource Data Collector TAG -->
+<!-- Copyright (c) 1996-2005 WebTrends Inc. All rights reserved. -->
+<!-- V8.0 -->
+<!-- $DateTime: 2006/05/02 08:33:13 $ -->
+<SCRIPT TYPE="text/javascript"><!--
+var gDomain="statse.webtrendslive.com";
+var gDcsId="dcsoacs950000086qijyrl8il_2d1s";
+
+if ((typeof(gConvert)!="undefined")&&gConvert&&(document.cookie.indexOf(gFpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){
+ document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>");
+}
+//-->
+</SCRIPT>
+<SCRIPT TYPE="text/javascript"><!--
+var gImages=new Array;
+var gIndex=0;
+var DCS=new Object();
+var WT=new Object();
+var DCSext=new Object();
+var gI18n=false;
+if (window.RegExp){
+ var RE={"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g,"%22":/\"/g,"%7F":/\x7F/g,"%A0":/\xA0/g};
+ var I18NRE={"%25":/\%/g};
+}
+
+function dcsVar(){
+ var dCurrent=new Date();
+ WT.tz=dCurrent.getTimezoneOffset()/60*-1;
+ if (WT.tz==0){
+ WT.tz="0";
+ }
+ WT.bh=dCurrent.getHours();
+ WT.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage;
+ if (typeof(screen)=="object"){
+ WT.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth;
+ WT.sr=screen.width+"x"+screen.height;
+ }
+ if (typeof(navigator.javaEnabled())=="boolean"){
+ WT.jo=navigator.javaEnabled()?"Yes":"No";
+ }
+ if (document.title){
+ WT.ti=gI18n?dcsEscape(dcsEncode(document.title),I18NRE):document.title;
+ }
+ WT.js="Yes";
+ WT.jv=dcsJV();
+ if (gI18n){
+ WT.em=(typeof(encodeURIComponent)=="function")?"uri":"esc";
+ if (typeof(document.defaultCharset)=="string"){
+ WT.le=document.defaultCharset;
+ }
+ else if (typeof(document.characterSet)=="string"){
+ WT.le=document.characterSet;
+ }
+ }
+ WT.tv="8.0.0";
+ WT.sp="68703";
+ DCS.dcsdat=dCurrent.getTime();
+ DCS.dcssip=window.location.hostname;
+ DCS.dcsuri=window.location.pathname;
+ if (window.location.search){
+ DCS.dcsqry=window.location.search;
+ }
+ if ((window.document.referrer!="")&&(window.document.referrer!="-")){
+ if (!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4)){
+ DCS.dcsref=gI18n?dcsEscape(window.document.referrer, I18NRE):window.document.referrer;
+ }
+ }
+}
+
+function A(N,V){
+ return "&"+N+"="+dcsEscape(V, RE);
+}
+
+function dcsEscape(S, REL){
+ if (typeof(REL)!="undefined"){
+ var retStr = new String(S);
+ for (R in REL){
+ retStr = retStr.replace(REL[R],R);
+ }
+ return retStr;
+ }
+ else{
+ return escape(S);
+ }
+}
+
+function dcsEncode(S){
+ return (typeof(encodeURIComponent)=="function")?encodeURIComponent(S):escape(S);
+}
+
+function dcsCreateImage(dcsSrc){
+ if (document.images){
+ gImages[gIndex]=new Image;
+ gImages[gIndex].src=dcsSrc;
+ gIndex++;
+ }
+ else{
+ document.write('<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+dcsSrc+'">');
+ }
+}
+
+function dcsMeta(){
+ var elems;
+ if (document.all){
+ elems=document.all.tags("meta");
+ }
+ else if (document.documentElement){
+ elems=document.getElementsByTagName("meta");
+ }
+ if (typeof(elems)!="undefined"){
+ for (var i=1;i<=elems.length;i++){
+ var meta=elems.item(i-1);
+ if (meta.name){
+ if (meta.name.indexOf('WT.')==0){
+ WT[meta.name.substring(3)]=(gI18n&&(meta.name.indexOf('WT.ti')==0))?dcsEscape(dcsEncode(meta.content),I18NRE):meta.content;
+ }
+ else if (meta.name.indexOf('DCSext.')==0){
+ DCSext[meta.name.substring(7)]=meta.content;
+ }
+ else if (meta.name.indexOf('DCS.')==0){
+ DCS[meta.name.substring(4)]=(gI18n&&(meta.name.indexOf('DCS.dcsref')==0))?dcsEscape(meta.content,I18NRE):meta.content;
+ }
+ }
+ }
+ }
+}
+
+function dcsTag(){
+ if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
+ return;
+ }
+ var P="http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+(gDcsId==""?'':'/'+gDcsId)+"/dcs.gif?";
+ for (N in DCS){
+ if (DCS[N]) {
+ P+=A(N,DCS[N]);
+ }
+ }
+ for (N in WT){
+ if (WT[N]) {
+ P+=A("WT."+N,WT[N]);
+ }
+ }
+ for (N in DCSext){
+ if (DCSext[N]) {
+ P+=A(N,DCSext[N]);
+ }
+ }
+ if (P.length>2048&&navigator.userAgent.indexOf('MSIE')>=0){
+ P=P.substring(0,2040)+"&WT.tu=1";
+ }
+ dcsCreateImage(P);
+}
+
+function dcsJV(){
+ var agt=navigator.userAgent.toLowerCase();
+ var major=parseInt(navigator.appVersion);
+ var mac=(agt.indexOf("mac")!=-1);
+ var nn=((agt.indexOf("mozilla")!=-1)&&(agt.indexOf("compatible")==-1));
+ var nn4=(nn&&(major==4));
+ var nn6up=(nn&&(major>=5));
+ var ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1));
+ var ie4=(ie&&(major==4)&&(agt.indexOf("msie 4")!=-1));
+ var ie5up=(ie&&!ie4);
+ var op=(agt.indexOf("opera")!=-1);
+ var op5=(agt.indexOf("opera 5")!=-1||agt.indexOf("opera/5")!=-1);
+ var op6=(agt.indexOf("opera 6")!=-1||agt.indexOf("opera/6")!=-1);
+ var op7up=(op&&!op5&&!op6);
+ var jv="1.1";
+ if (nn6up||op7up){
+ jv="1.5";
+ }
+ else if ((mac&&ie5up)||op6){
+ jv="1.4";
+ }
+ else if (ie5up||nn4||op5){
+ jv="1.3";
+ }
+ else if (ie4){
+ jv="1.2";
+ }
+ return jv;
+}
+
+dcsVar();
+dcsMeta();
+dcsFPC(gTimeZone);
+dcsTP();
+dcsTag();
+//-->
+</SCRIPT>
+
+<NOSCRIPT>
+<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/dcsoacs950000086qijyrl8il_2d1s/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.0.0">
+</NOSCRIPT>
+<!-- END OF SmartSource Data Collector TAG -->
+<!-- Start Lead Lander code -->
+<script type="text/javascript" language="javascript">i=10329;</script>
+<script type="text/javascript" language="javascript" src="http://t2.trackalyzer.com/trackalyze.js"></script>
+<!-- End Lead Lander code -->
+<!-- Start Superstats code version 7.0b. Copyright 1997-2003 MyComputer.com, Inc. More info available at http://www.mycomputer.com -->
<script language="JavaScript">
var pageName = "Apache XAP - Hello World";
/**** DO NOT ALTER ANYTHING BELOW THIS LINE! ****/
@@ -109,24 +452,5 @@
document.write(' --'); document.write('>');
</script>
<!-- End Superstats tracking code. -->
-
-<!-- Start Lead Lander code -->
-<script type="text/javascript" language="javascript">i=10329;</script>
-<script type="text/javascript" language="javascript" src="http://t2.trackalyzer.com/trackalyze.js"></script>
-<!-- End Lead Lander code -->
-
-<!-- phpmyvisites -->
-<script type="text/javascript">
-<!--
-var a_vars = Array();
-var pagename='Hello World';
-
-var phpmyvisitesSite = 1;
-var phpmyvisitesURL = "http://forum.nexaweb.com/visits/phpmyvisites.php";
-//-->
-</script>
-<script language=javascript src="http://forum.nexaweb.com/visits/phpmyvisites.js" type="text/javascript"></script>
-<!-- /phpmyvisites -->
-
</body>
</html>
Modified: incubator/xap/site/index.php@cid=1065&lang=xml&source_code=..%2Fdemo%2FxapDemos%2Fexamples%2FhelloWorld%2Findex.xal.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/index.php%40cid%3D1065%26lang%3Dxml%26source_code%3D..%252Fdemo%252FxapDemos%252Fexamples%252FhelloWorld%252Findex.xal.html?rev=437502&r1=437501&r2=437502&view=diff
==============================================================================
--- incubator/xap/site/index.php@cid=1065&lang=xml&source_code=..%2Fdemo%2FxapDemos%2Fexamples%2FhelloWorld%2Findex.xal.html (original)
+++ incubator/xap/site/index.php@cid=1065&lang=xml&source_code=..%2Fdemo%2FxapDemos%2Fexamples%2FhelloWorld%2Findex.xal.html Sun Aug 27 18:55:05 2006
@@ -16,7 +16,6 @@
<body class=body>
-
<div style="width:972px;">
<table width=100% BORDER="0" CELLSPACING="0" CELLPADDING="0">
<tr>
@@ -27,21 +26,18 @@
</table>
+
<table width="100%" style="background-color: white; border: 0px; height: 30px; " BORDER="0" CELLSPACING="0" CELLPADDING="0">
<tr style="background-image: url(./images/background.gif); background-repeat: repeat; background-position: top;">
<td width=20><!--<img src="../shared/images/left_cap.gif">--> </td>
<td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1054';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1054.html" class="headerTitle" style="color: white; text-decoration: none;">Welcome</a></td><td class="content" style="color: white; cursor: default;"> | </td><td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1064';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1064.html"
class="headerTitle" style="color: white; text-decoration: none;">Getting Started</a></td><td width=100%> </td>
-<!--<td width=20><img src="../shared/images/right_cap.gif"></td>-->
</tr>
</table>
-<!--<image src="../shared/images/spaced.gif" border=0 height=8><br>-->
<script type="text/javascript" src="../shared/helpers.js"></script><table height=420 width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td colspan=2><image src="./images/spaced.gif" border=0 height=10><br></td></tr><tr><td valign=top class=copyText style="padding-left: 8px; padding-right: 8px;"><div style="width: 720px;"><a href="index.php@cid=1065.html">Close source view</a><br/><br/><div style="width: 100%"><div class="xml" style="font-family: monospace;width: 900px; color: #000066; border: 1px solid #d0d0d0; background-color: #f8f8f8;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;"><xal</span> <span style="color: #000066;">xmlns</span>=<span style="color: #ff0000;">"http://www.openxal.org/xal"</span><span style="font-weigh
t: bold; color: black;">></span></span> </div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="font-weight: bold; color: black;"><xm</span>:modifications xmlns:<span style="color: #000066;">xm</span>=<span style="color: #ff0000;">"http://www.openxal.org/xmodify"</span><span style="font-weight: bold; color: black;">></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="font-weight: bold; color: black;"><xm</span>:append <span style="color: #000066;">select</span>=<span style="color: #ff0000;">"/xal"</span><span style="font-weight: bold; color: black;">></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="font-weight: bold; color: black;"><label</span> <span style="color: #000066;">text</span>=<span style="color: #ff0000;">"Hello world!"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"100%"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"100%"</span><span style="font-weight: bold; color: black;">/></span></span></div></li>
-<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="font-weight: bold; color: black;"></xm</span>:append<span style="font-weight: bold; color: black;">></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> <span style="color: #009900;"><span style="font-weight: bold; color: black;"></xm</span>:modifications<span style="font-weight: bold; color: black;">></span></span></div></li>
-<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;"></xal<span style="font-weight: bold; color: black;">></span></span></span> </div></li></ol></div></div><image src="./images/spaced.gif" border=0 height=8><br></div></td></tr></table>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> </div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;"><label</span> <span style="color: #000066;">text</span>=<span style="color: #ff0000;">"Hello world!"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"100%"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"100%"</span><span style="font-weight: bold; color: black;">/></span></span></div></li>
+<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> </div></li>
+<li style="font-weight: bold;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;"></xal<span style="font-weight: bold; color: black;">></span></span></span> </div></li></ol></div></div><image src="./images/spaced.gif" border=0 height=8><br></div></td></tr></table>
@@ -53,13 +49,365 @@
-->
<tr>
<td colspan="7" align="center" style="border-top: 1px white solid; padding-top: 8px;"><span class="subheader" style="color: #295A8F; font-size: 7pt;">
-Copyright © 2006
+Copyright 2006
<a href="http://www.apache.org/licenses/" style="font-size: 8pt; ; color: #295A8F;">The Apache Software Foundation<a>
</span></td>
</tr>
</table>
-</div><!-- Start Superstats code version 7.0b. Copyright 1997-2003 MyComputer.com, Inc. More info available at http://www.mycomputer.com -->
+</div><!-- no track = --><!-- START OF SDC Advanced Tracking Code -->
+<!-- Copyright (c) 1996-2005 WebTrends Inc. All rights reserved. -->
+<!-- V8.0 -->
+<!-- $DateTime: 2006/05/02 08:33:13 $ -->
+<SCRIPT TYPE="text/javascript"><!--
+var gTimeZone = 0;
+// Code section for Enable First-Party Cookie Tracking
+function dcsGetCookie(name){
+ var pos=document.cookie.indexOf(name+"=");
+ if (pos!=-1){
+ var start=pos+name.length+1;
+ var end=document.cookie.indexOf(";",start);
+ if (end==-1){
+ end=document.cookie.length;
+ }
+ return unescape(document.cookie.substring(start,end));
+ }
+ return null;
+}
+function dcsGetCrumb(name,crumb){
+ var aCookie=dcsGetCookie(name).split(":");
+ for (var i=0;i<aCookie.length;i++){
+ var aCrumb=aCookie[i].split("=");
+ if (crumb==aCrumb[0]){
+ return aCrumb[1];
+ }
+ }
+ return null;
+}
+function dcsGetIdCrumb(name,crumb){
+ var cookie=dcsGetCookie(name);
+ var id=cookie.substring(0,cookie.indexOf(":lv="));
+ var aCrumb=id.split("=");
+ for (var i=0;i<aCrumb.length;i++){
+ if (crumb==aCrumb[0]){
+ return aCrumb[1];
+ }
+ }
+ return null;
+}
+function dcsFPC(offset){
+ if (typeof(offset)=="undefined"){
+ return;
+ }
+ if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
+ return;
+ }
+ var name=gFpc;
+ var dCur=new Date();
+ var adj=(dCur.getTimezoneOffset()*60000)+(offset*3600000);
+ dCur.setTime(dCur.getTime()+adj);
+ var dExp=new Date(dCur.getTime()+315360000000);
+ var dSes=new Date(dCur.getTime());
+ WT.co_f=WT.vt_sid=WT.vt_f=WT.vt_f_a=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv="";
+ if (document.cookie.indexOf(name+"=")==-1){
+ if ((typeof(gWtId)!="undefined")&&(gWtId!="")){
+ WT.co_f=gWtId;
+ }
+ else if ((typeof(gTempWtId)!="undefined")&&(gTempWtId!="")){
+ WT.co_f=gTempWtId;
+ WT.vt_f="1";
+ }
+ else{
+ WT.co_f="2";
+ var cur=dCur.getTime().toString();
+ for (var i=2;i<=(32-cur.length);i++){
+ WT.co_f+=Math.floor(Math.random()*16.0).toString(16);
+ }
+ WT.co_f+=cur;
+ WT.vt_f="1";
+ }
+ if (typeof(gWtAccountRollup)=="undefined"){
+ WT.vt_f_a="1";
+ }
+ WT.vt_f_s=WT.vt_f_d="1";
+ WT.vt_f_tlh=WT.vt_f_tlv="0";
+ }
+ else{
+ var id=dcsGetIdCrumb(name,"id");
+ var lv=parseInt(dcsGetCrumb(name,"lv"));
+ var ss=parseInt(dcsGetCrumb(name,"ss"));
+ if ((id==null)||(id=="null")||isNaN(lv)||isNaN(ss)){
+ return;
+ }
+ WT.co_f=id;
+ var dLst=new Date(lv);
+ WT.vt_f_tlh=Math.floor((dLst.getTime()-adj)/1000);
+ dSes.setTime(ss);
+ if ((dCur.getTime()>(dLst.getTime()+1800000))||(dCur.getTime()>(dSes.getTime()+28800000))){
+ WT.vt_f_tlv=Math.floor((dSes.getTime()-adj)/1000);
+ dSes.setTime(dCur.getTime());
+ WT.vt_f_s="1";
+ }
+ if ((dCur.getDay()!=dLst.getDay())||(dCur.getMonth()!=dLst.getMonth())||(dCur.getYear()!=dLst.getYear())){
+ WT.vt_f_d="1";
+ }
+ }
+ WT.co_f=escape(WT.co_f);
+ WT.vt_sid=WT.co_f+"."+(dSes.getTime()-adj);
+ var expiry="; expires="+dExp.toGMTString();
+ document.cookie=name+"="+"id="+WT.co_f+":lv="+dCur.getTime().toString()+":ss="+dSes.getTime().toString()+expiry+"; path=/"+(((typeof(gFpcDom)!="undefined")&&(gFpcDom!=""))?("; domain="+gFpcDom):(""));
+ if (document.cookie.indexOf(name+"=")==-1){
+ WT.co_f=WT.vt_sid=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv="";
+ WT.vt_f=WT.vt_f_a="2";
+ }
+}
+
+// Code section for Use the new first-party cookie generated with this tag.
+var gFpc="WT_FPC";
+var gConvert=true;
+
+// Code section for Enable SmartView Transition Page tracking
+function dcsTP(){
+ if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
+ return;
+ }
+ var name="WT_DC";
+ var expiry="; expires=Thu, 31-Dec-2020 08:00:00 GMT";
+ var path="; path=/";
+ var domain="";
+ if ((document.cookie.indexOf(name+"=")!=-1)&&(dcsGetCrumb(name,"tsp")=="1")){
+ WT.ttp="1";
+ }
+ if (dcsGetMeta("SmartView_Page")=="1"){
+ WT.tsp="1";
+ document.cookie=name+"=tsp=1"+expiry+path+domain;
+ }
+ else{
+ document.cookie=name+"=; expires=Sun, 1-Jan-1995 00:00:00 GMT;"+path+domain;
+ }
+}
+function dcsGetMeta(name){
+ var elems;
+ if (document.all){
+ elems=document.all.tags("meta");
+ }
+ else if (document.documentElement){
+ elems=document.getElementsByTagName("meta");
+ }
+ if (typeof(elems)!="undefined"){
+ for (var i=1;i<=elems.length;i++){
+ var meta=elems.item(i-1);
+ if (meta.name&&(meta.name.indexOf(name)==0)){
+ return meta.content;
+ break;
+ }
+ }
+ }
+ return null;
+}
+//-->
+</SCRIPT>
+<!-- END OF SDC Advanced Tracking Code -->
+<!-- START OF SmartSource Data Collector TAG -->
+<!-- Copyright (c) 1996-2005 WebTrends Inc. All rights reserved. -->
+<!-- V8.0 -->
+<!-- $DateTime: 2006/05/02 08:33:13 $ -->
+<SCRIPT TYPE="text/javascript"><!--
+var gDomain="statse.webtrendslive.com";
+var gDcsId="dcsoacs950000086qijyrl8il_2d1s";
+
+if ((typeof(gConvert)!="undefined")&&gConvert&&(document.cookie.indexOf(gFpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){
+ document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>");
+}
+//-->
+</SCRIPT>
+<SCRIPT TYPE="text/javascript"><!--
+var gImages=new Array;
+var gIndex=0;
+var DCS=new Object();
+var WT=new Object();
+var DCSext=new Object();
+var gI18n=false;
+if (window.RegExp){
+ var RE={"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g,"%22":/\"/g,"%7F":/\x7F/g,"%A0":/\xA0/g};
+ var I18NRE={"%25":/\%/g};
+}
+
+function dcsVar(){
+ var dCurrent=new Date();
+ WT.tz=dCurrent.getTimezoneOffset()/60*-1;
+ if (WT.tz==0){
+ WT.tz="0";
+ }
+ WT.bh=dCurrent.getHours();
+ WT.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage;
+ if (typeof(screen)=="object"){
+ WT.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth;
+ WT.sr=screen.width+"x"+screen.height;
+ }
+ if (typeof(navigator.javaEnabled())=="boolean"){
+ WT.jo=navigator.javaEnabled()?"Yes":"No";
+ }
+ if (document.title){
+ WT.ti=gI18n?dcsEscape(dcsEncode(document.title),I18NRE):document.title;
+ }
+ WT.js="Yes";
+ WT.jv=dcsJV();
+ if (gI18n){
+ WT.em=(typeof(encodeURIComponent)=="function")?"uri":"esc";
+ if (typeof(document.defaultCharset)=="string"){
+ WT.le=document.defaultCharset;
+ }
+ else if (typeof(document.characterSet)=="string"){
+ WT.le=document.characterSet;
+ }
+ }
+ WT.tv="8.0.0";
+ WT.sp="68703";
+ DCS.dcsdat=dCurrent.getTime();
+ DCS.dcssip=window.location.hostname;
+ DCS.dcsuri=window.location.pathname;
+ if (window.location.search){
+ DCS.dcsqry=window.location.search;
+ }
+ if ((window.document.referrer!="")&&(window.document.referrer!="-")){
+ if (!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4)){
+ DCS.dcsref=gI18n?dcsEscape(window.document.referrer, I18NRE):window.document.referrer;
+ }
+ }
+}
+
+function A(N,V){
+ return "&"+N+"="+dcsEscape(V, RE);
+}
+
+function dcsEscape(S, REL){
+ if (typeof(REL)!="undefined"){
+ var retStr = new String(S);
+ for (R in REL){
+ retStr = retStr.replace(REL[R],R);
+ }
+ return retStr;
+ }
+ else{
+ return escape(S);
+ }
+}
+
+function dcsEncode(S){
+ return (typeof(encodeURIComponent)=="function")?encodeURIComponent(S):escape(S);
+}
+
+function dcsCreateImage(dcsSrc){
+ if (document.images){
+ gImages[gIndex]=new Image;
+ gImages[gIndex].src=dcsSrc;
+ gIndex++;
+ }
+ else{
+ document.write('<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+dcsSrc+'">');
+ }
+}
+
+function dcsMeta(){
+ var elems;
+ if (document.all){
+ elems=document.all.tags("meta");
+ }
+ else if (document.documentElement){
+ elems=document.getElementsByTagName("meta");
+ }
+ if (typeof(elems)!="undefined"){
+ for (var i=1;i<=elems.length;i++){
+ var meta=elems.item(i-1);
+ if (meta.name){
+ if (meta.name.indexOf('WT.')==0){
+ WT[meta.name.substring(3)]=(gI18n&&(meta.name.indexOf('WT.ti')==0))?dcsEscape(dcsEncode(meta.content),I18NRE):meta.content;
+ }
+ else if (meta.name.indexOf('DCSext.')==0){
+ DCSext[meta.name.substring(7)]=meta.content;
+ }
+ else if (meta.name.indexOf('DCS.')==0){
+ DCS[meta.name.substring(4)]=(gI18n&&(meta.name.indexOf('DCS.dcsref')==0))?dcsEscape(meta.content,I18NRE):meta.content;
+ }
+ }
+ }
+ }
+}
+
+function dcsTag(){
+ if (document.cookie.indexOf("WTLOPTOUT=")!=-1){
+ return;
+ }
+ var P="http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+(gDcsId==""?'':'/'+gDcsId)+"/dcs.gif?";
+ for (N in DCS){
+ if (DCS[N]) {
+ P+=A(N,DCS[N]);
+ }
+ }
+ for (N in WT){
+ if (WT[N]) {
+ P+=A("WT."+N,WT[N]);
+ }
+ }
+ for (N in DCSext){
+ if (DCSext[N]) {
+ P+=A(N,DCSext[N]);
+ }
+ }
+ if (P.length>2048&&navigator.userAgent.indexOf('MSIE')>=0){
+ P=P.substring(0,2040)+"&WT.tu=1";
+ }
+ dcsCreateImage(P);
+}
+
+function dcsJV(){
+ var agt=navigator.userAgent.toLowerCase();
+ var major=parseInt(navigator.appVersion);
+ var mac=(agt.indexOf("mac")!=-1);
+ var nn=((agt.indexOf("mozilla")!=-1)&&(agt.indexOf("compatible")==-1));
+ var nn4=(nn&&(major==4));
+ var nn6up=(nn&&(major>=5));
+ var ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1));
+ var ie4=(ie&&(major==4)&&(agt.indexOf("msie 4")!=-1));
+ var ie5up=(ie&&!ie4);
+ var op=(agt.indexOf("opera")!=-1);
+ var op5=(agt.indexOf("opera 5")!=-1||agt.indexOf("opera/5")!=-1);
+ var op6=(agt.indexOf("opera 6")!=-1||agt.indexOf("opera/6")!=-1);
+ var op7up=(op&&!op5&&!op6);
+ var jv="1.1";
+ if (nn6up||op7up){
+ jv="1.5";
+ }
+ else if ((mac&&ie5up)||op6){
+ jv="1.4";
+ }
+ else if (ie5up||nn4||op5){
+ jv="1.3";
+ }
+ else if (ie4){
+ jv="1.2";
+ }
+ return jv;
+}
+
+dcsVar();
+dcsMeta();
+dcsFPC(gTimeZone);
+dcsTP();
+dcsTag();
+//-->
+</SCRIPT>
+
+<NOSCRIPT>
+<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/dcsoacs950000086qijyrl8il_2d1s/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.0.0">
+</NOSCRIPT>
+<!-- END OF SmartSource Data Collector TAG -->
+<!-- Start Lead Lander code -->
+<script type="text/javascript" language="javascript">i=10329;</script>
+<script type="text/javascript" language="javascript" src="http://t2.trackalyzer.com/trackalyze.js"></script>
+<!-- End Lead Lander code -->
+<!-- Start Superstats code version 7.0b. Copyright 1997-2003 MyComputer.com, Inc. More info available at http://www.mycomputer.com -->
<script language="JavaScript">
var pageName = "Apache XAP - Hello World";
/**** DO NOT ALTER ANYTHING BELOW THIS LINE! ****/
@@ -78,24 +426,5 @@
document.write(' --'); document.write('>');
</script>
<!-- End Superstats tracking code. -->
-
-<!-- Start Lead Lander code -->
-<script type="text/javascript" language="javascript">i=10329;</script>
-<script type="text/javascript" language="javascript" src="http://t2.trackalyzer.com/trackalyze.js"></script>
-<!-- End Lead Lander code -->
-
-<!-- phpmyvisites -->
-<script type="text/javascript">
-<!--
-var a_vars = Array();
-var pagename='Hello World';
-
-var phpmyvisitesSite = 1;
-var phpmyvisitesURL = "http://forum.nexaweb.com/visits/phpmyvisites.php";
-//-->
-</script>
-<script language=javascript src="http://forum.nexaweb.com/visits/phpmyvisites.js" type="text/javascript"></script>
-<!-- /phpmyvisites -->
-
</body>
</html>
Modified: incubator/xap/site/index.php@cid=1065.html
URL: http://svn.apache.org/viewvc/incubator/xap/site/index.php%40cid%3D1065.html?rev=437502&r1=437501&r2=437502&view=diff
==============================================================================
--- incubator/xap/site/index.php@cid=1065.html (original)
+++ incubator/xap/site/index.php@cid=1065.html Sun Aug 27 18:55:05 2006
@@ -33,13 +33,12 @@
<td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1054';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1054.html" class="headerTitle" style="color: white; text-decoration: none;">Welcome</a></td><td class="content" style="color: white; cursor: default;"> | </td><td class="content" nowrap onMouseOver="this.style.backgroundImage='url(./images/highlight.gif)';" onMouseOut="this.style.backgroundImage='url(./images/background.gif)';" onClick="document.location='?cid=1064';" style="text-align: center;background-repeat: repeat; background-position: left top; cursor: pointer; color: black; font-weight: normal; padding: 0px; margin: 0px;"><a href="index.php@cid=1064.html"
class="headerTitle" style="color: white; text-decoration: none;">Getting Started</a></td><td width=100%> </td>
</tr>
</table>
-<script type="text/javascript" src="../shared/helpers.js"></script><table height=420 width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td colspan=2><image src="./images/spaced.gif" border=0 height=10><br></td></tr><tr><td valign=top width=216 style="padding: 0px;"><div style="width: 216; background-image:url(./images/left_bkgnd.gif); background-repeat: repeat;"><image src="./images/topLeftHeader.gif" border=0 width=216 height=10></div><div style="padding-left: 8px; border-right: #d2d2d2 solid 1px; border-left: #d2d2d2 solid 1px; background-image:url(./images/left_bkgnd.gif); background-repeat: repeat;"><table width=200 BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td valign=top style="padding: 0px; margin: 0px;"><script type="text/javascript" src="../shared/dtree.js"></script>
+<script type="text/javascript" src="../shared/helpers.js"></script><table height=420 width="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td colspan=2><image src="./images/spaced.gif" border=0 height=10><br></td></tr><tr><td valign=top width=216 style="padding: 0px;"><div style="width: 216; background-color: #F4F4F4;"><image src="./images/topLeftHeader.gif" border=0 width=216 height=10></div><div style="padding-left: 8px; border-right: #d2d2d2 solid 1px; border-left: #d2d2d2 solid 1px; background-color: #F4F4F4; "><table width=200 BORDER="0" CELLSPACING="0" CELLPADDING="0"><tr><td valign=top style="padding: 0px; margin: 0px;"><script type="text/javascript" src="../shared/dtree.js"></script>
<LINK REL="STYLESHEET" HREF="../shared/dtree.css">
-<div style="font-size: 11px; font-family: tahoma, Helvetica, sans-serif; white-space: nowrap;"> <a href="index.php@cid=1054.html" >Welcome</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b> Project</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1093.html" >News</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1057.html" >Architecture</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1075.html" >Demos</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1069.html" >Getting Help</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align:
middle;"> <a href="index.php@cid=1058.html" >License</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b> Getting Involved</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1060.html" >Contribution</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1061.html" >Subversion Repository</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1078.html" >XAP Adoption</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b> Documentation</b></div><img src=
"images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1064.html" >Getting Started</a><br><img src="images/menu_bullet_highlight.gif" border=0 style="vertical-align: middle;"> <a style="color: orange;" href="index.php@cid=1065.html"><b>Hello World</b></a><br>
-</div></td><td><image src="./images/spaced.gif" border=0 height=400 width=0></td></tr></table></div><div style="background-image:url(./images/left_bkgnd.gif); background-repeat: repeat;"><image src="./images/LeftFooter.gif" width=216 height=10></div></td><td valign=top class=copyText style="padding-left: 8px; padding-right: 8px;"><div style="width: 720px;"><image src="./images/spaced.gif" border=0 height=3><br><div class=blueGreyTitle style="text-align: left; left:0px; margin-left:0px; align:left; padding-left:0px; padding-bottom:8px;">Hello World </div><div style="height: 1px; border-bottom: 1px white solid;"></div><span class="Title">Anatomy of a XAP application</span><br /><br />A XAP application consists of a bootstrap HTML file, the XAL file that defines the initial screen and the XAP JavaScript source files.<br /><br /><span><img style="vertical-align: middle; margin: 1px;" src="images/bt_action.gif" border=0 align=top> <a href="index.php@cid=1065
&lang=html4strict&source_code=..%252Fdemo%252FxapDemos%252Fexamples%252FhelloWorld%252Findex.html">View source file</a></span> - an example index.html file<br /><span><img style="vertical-align: middle; margin: 1px;" src="images/bt_action.gif" border=0 align=top> <a href="index.php@cid=1065&lang=xml&source_code=..%252Fdemo%252FxapDemos%252Fexamples%252FhelloWorld%252Findex.xal.html">View source file</a></span> - the index.xal for Hello World<br /><br />By deploying these two files together with the \src directory containing the XAP system source to your web server you will be able to run a simple XAP application.<br /><br /><span style="font-weight: bold;"></span><span class="Title">Working with the Source Code and Build System</span><br /><br /><span style="font-weight: bold;">The directory structure of XAP<br /><br /></span>Directories that are present after downloading the source:<span style="font-weight: bold;"><br /></span><span style="font-style: i
talic;"><br />
-<table class=cnTable cellspacing="1" cellpadding="1" border="1" align="" class="cnTable" summary="" style="width: 622px; height: 243px;">
+<div style="font-size: 11px; font-family: tahoma, Helvetica, sans-serif; white-space: nowrap;"> <a href="index.php@cid=1054.html" >Welcome</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b> Project</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1093.html" >News</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1057.html" >Architecture</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1075.html" >Demos</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1074.html" >Roadmap</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: midd
le;"> <a href="index.php@cid=1069.html" >Getting Help</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1058.html" >License</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-position: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b> Getting Involved</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1060.html" >Contribution</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1061.html" >Subversion Repository</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1078.html" >XAP Adoption</a><br><div style="vertical-align: middle; background-image: url(./images/menu.gif); background-repeat: no-repeat; background-pos
ition: top; height: 18px; padding: 1px; margin-bottom: 1px; margin-top: 12px;"><b> Documentation</b></div><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1064.html" >Getting Started</a><br><img src="images/menu_bullet_highlight.gif" border=0 style="vertical-align: middle;"> <a style="color: orange;" href="index.php@cid=1065.html"><b>Hello World</b></a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1341.html" >Using XAP with HTML</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="http://dev.nexaweb.com/docs/xap/index.html" target="_blank">API and Syntax Reference</a><br><img src="images/menu_bullet.gif" border=0 style="vertical-align: middle;"> <a href="index.php@cid=1321.html" >Packaging</a><br></div></td><td><image src="./images/spaced.gif" border=0 height=250 width=0></td></tr></ta
ble></div><div style="width: 216; background-color: #F4F4F4;"><image src="./images/LeftFooter.gif" width=216 height=10></div><td valign=top class=copyText style="padding-left: 8px; padding-right: 8px;"><div style="width: 720px;"><image src="./images/spaced.gif" border=0 height=3><br><div class=blueGreyTitle style="text-align: left; left:0px; margin-left:0px; align:left; padding-left:0px; padding-bottom:8px;">Hello World </div><div style="height: 1px; border-bottom: 1px white solid;"></div><span class="Title">Anatomy of a XAP application</span><br /><br />A XAP application consists of a bootstrap HTML file, the XAL file that defines the initial screen and the XAP JavaScript source files.<br /><br /><span><img style="vertical-align: middle; margin: 1px;" src="images/bt_action.gif" border=0 align=top> <a href="index.php@cid=1065&lang=html4strict&source_code=..%252Fdemo%252FxapDemos%252Fexamples%252FhelloWorld%252Findex.html">View source file</a></span> -
an example index.html file<br /><span><img style="vertical-align: middle; margin: 1px;" src="images/bt_action.gif" border=0 align=top> <a href="index.php@cid=1065&lang=xml&source_code=..%252Fdemo%252FxapDemos%252Fexamples%252FhelloWorld%252Findex.xal.html">View source file</a></span> - the index.xal for Hello World<br /><br />By deploying these two files together with the \src directory containing the XAP system source to your web server you will be able to run a simple XAP application.<br /><br /><span style="font-weight: bold;"></span><span class="Title">Working with the Source Code and Build System</span><br /><br /><span style="font-weight: bold;">The directory structure of XAP<br /><br /></span>Directories that are present after downloading the source:<span style="font-weight: bold;"><br /></span><span style="font-style: italic;"><br />
+<table class=cnTable cellspacing="1" cellpadding="1" border="1" class="cnTable" style="width: 622px; height: 243px;" summary="">
<tbody>
<tr>
<td class="cnTableBody">\css</td>
@@ -63,7 +62,7 @@
</tr>
<tr>
<td class="cnTableBody">\schema</td>
- <td class="cnTableBody"> the XML schema for XAL</td>
+ <td class="cnTableBody">the XML schema for XAL</td>
</tr>
<tr>
<td class="cnTableBody">\src</td>
@@ -71,7 +70,7 @@
</tr>
<tr>
<td class="cnTableBody">\testsrc</td>
- <td class="cnTableBody"> unit testing source files</td>
+ <td class="cnTableBody">unit testing source files</td>
</tr>
<tr>
<td class="cnTableBody">\tools</td>
@@ -81,10 +80,22 @@
<td class="cnTableBody">\WebContent</td>
<td class="cnTableBody">sample and demo applications</td>
</tr>
+ <tr>
+ <td class="cnTableBody">\buildscripts</td>
+ <td class="cnTableBody">system used for building with profiles</td>
+ </tr>
+ <tr>
+ <td class="cnTableBody">\dist</td>
+ <td class="cnTableBody">javascript packaged library files</td>
+ </tr>
+ <tr>
+ <td class="cnTableBody">\release</td>
+ <td class="cnTableBody">Temporary directory where the compressed file is generated</td>
+ </tr>
</tbody>
</table>
<br /></span><br />Directories that will get created after running the build tools:<br /><span style="font-style: italic;"><br />
-<table class=cnTable cellspacing="1" cellpadding="1" border="1" align="" class="cnTable" summary="" style="width: 622px; height: 75px;">
+<table class=cnTable cellspacing="1" cellpadding="1" border="1" class="cnTable" style="width: 622px; height: 75px;" summary="">
<tbody>
<tr>
<td class="cnTableBody">\logs</td>
@@ -100,24 +111,28 @@
</tr>
</tbody>
</table>
-</span><span style="font-style: italic;"><br /><br /></span><br /><span style="font-weight: bold;">Using the build system</span><br /><br />Once the prerequisites are installed at the command line type: "build". You should see the following output.<br /><br /><span class="Code">Buildfile: build.xml<br />Overriding previous definition of reference to classpath<br /><br />help:<br /> [echo] Build script help<br /> [echo] This build script requires jdk1.5 for JSUnit<br /> [echo] Available targets:<br /> [echo] tests : runs JSUnit tests. You will need to modify<br /> [echo] jsunit-server-properties.xml to point to a browser on your machine.<br /> [echo] examples : builds example apps.<br /> [echo]&
nbsp; Usage: examples -DwebappsRoot=[dir] -DexamplesAppName=[name]<br /> [echo] demos : builds demo apps.<br /> [echo] Usage: demos -DwebappsRoot=[dir] -DdemosAppName=[name]<br /> [echo] doc : builds JSDoc to doc/xap directory<br /> [echo] all : runs tests, examples, demos and doc<br /> [echo] help : prints this message<br /> [echo]<br /><br />BUILD SUCCESSFUL<br />Total time: 0 seconds</span><br /><br />The build system supports for the following directives:<br /><br /><br />
-<table class=cnTable cellspacing="1" cellpadding="1" border="1" align="" class="cnTable" summary="" style="width: 651px; height: 209px;">
+</span><span style="font-style: italic;"><br /><br /></span><br /><span style="font-weight: bold;">Using the build system</span><br /><br />Once the prerequisites are installed at the command line type: "build". You should see the following output.<br /><br /><span class="Code">help:<br /> [echo]<br /> [echo] Build script help<br /> [echo] This build script requires jdk1.5 for JSUnit<br /> [echo] Available targets:<br /> [echo]<br /> [echo] tests: runs JSUnit tests. You will need to modify<br /> [echo] jsunit-server-properties.xml to point to a<br /> [echo] browser on your machine.<br /> [echo]<br /> [echo] deploy-examples: deploys examples without rebuilding profile<br />&nbs
p; [echo] usage: ant deploy-examples -DwebappsRoot=[dir]<br /> [echo] -DexamplesAppName=[name]<br /> [echo]<br /> [echo] examples: rebuilds profile and redeploys examples<br /> [echo] usage: ant examples<br /> [echo]<br /> [echo] build-profile: compresses based on a profile in<br /> [echo] buildscripts/profiles to a specified directory<br /> [echo] usage: ant build-profile -Dprofile=[profile_name]<br /> [echo] -Drelease_dir=[dir]<br /> [echo]<br /> [echo] doc: bu
ilds JSDoc to doc/xap directory<br /> [echo]<br /> [echo] all: runs tests, examples and doc<br /> [echo]<br /> [echo] help: prints this message<br /> [echo]<br /><br />BUILD SUCCESSFUL<br />Total time: 0 seconds</span><br /><br />The build system supports for the following directives:<br /><br /><br />
+<table class=cnTable cellspacing="1" cellpadding="1" border="1" class="cnTable" style="width: 651px; height: 209px;" summary="">
<tbody>
<tr>
- <td style="font-weight: bold;" class="cnTableBody">Directive</td>
- <td style="font-weight: bold;" class="cnTableBody">Result</td>
+ <td class="cnTableBody" style="font-weight: bold;">Directive</td>
+ <td class="cnTableBody" style="font-weight: bold;">Result</td>
</tr>
<tr>
<td class="cnTableBody">tests</td>
<td class="cnTableBody">Runs the JSUnit tests. You will need to modify the jsunit-server-properties.xml to point to your web browser of choice.</td>
</tr>
<tr>
+ <td class="cnTableBody">deploy-examples</td>
+ <td class="cnTableBody">Deploys examples without rebuilding profile</td>
+ </tr>
+ <tr>
<td class="cnTableBody">examples</td>
- <td class="cnTableBody">Builds the examples</td>
+ <td class="cnTableBody">Rebuilds profile and redeploys examples</td>
</tr>
<tr>
- <td class="cnTableBody">demos</td>
- <td class="cnTableBody">Builds the demos</td>
+ <td class="cnTableBody">build-profile<br /></td>
+ <td class="cnTableBody">Compresses based on a profile in buildscripts/profiles<br /></td>
</tr>
<tr>
<td class="cnTableBody">doc</td>
@@ -137,7 +152,7 @@
</tr>
</tbody>
</table>
-<br /><span class="Title">Deploying to a Web Server</span><br /><br />After running the build, you will have a \staging directory. Copy the contents of this directory to your webserver and you will be able to run the example files.<image src="./images/spaced.gif" border=0 height=8><br></div></td></tr></table>
+<br />To build the sample files, at the command line type:<br /><br /><span class="Code">build examples</span><br /><br />Ensure that you have all the necessary components installed such as ANT and a JRE. If you see a line such as:<br /><br /><span class="Code">Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_08\lib\tools.jar</span><br /><br />This means that you do not have a JDK installed, only a JRE. For XAP you only need a JRE, tools.jar is not used for anything and this warning can be safely ignored.<br /><br /><span class="Title">Deploying to a Web Server</span><br /><br />After running the build, you will have a \staging directory. Copy the contents of this directory to your webserver and you will be able to run the example files.<div style="margin-top: 6px; text-align: left; font-size: 8pt; color: grey;">(last update - 27-Aug-06)</div><image src="./images/spaced.gif" border=0 height=8><br></div></td></tr></table>
@@ -155,7 +170,7 @@
</tr>
</table>
-</div><!-- START OF SDC Advanced Tracking Code -->
+</div><!-- no track = --><!-- START OF SDC Advanced Tracking Code -->
<!-- Copyright (c) 1996-2005 WebTrends Inc. All rights reserved. -->
<!-- V8.0 -->
<!-- $DateTime: 2006/05/02 08:33:13 $ -->
@@ -506,7 +521,8 @@
<!-- Start Lead Lander code -->
<script type="text/javascript" language="javascript">i=10329;</script>
<script type="text/javascript" language="javascript" src="http://t2.trackalyzer.com/trackalyze.js"></script>
-<!-- End Lead Lander code --><!-- Start Superstats code version 7.0b. Copyright 1997-2003 MyComputer.com, Inc. More info available at http://www.mycomputer.com -->
+<!-- End Lead Lander code -->
+<!-- Start Superstats code version 7.0b. Copyright 1997-2003 MyComputer.com, Inc. More info available at http://www.mycomputer.com -->
<script language="JavaScript">
var pageName = "Apache XAP - Hello World";
/**** DO NOT ALTER ANYTHING BELOW THIS LINE! ****/