incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Incubator Wiki] Update of "xap/ApplicationCreation" by Rob Gagne
Date Fri, 24 Nov 2006 15:25:50 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Incubator Wiki" for change notification.

The following page has been changed by Rob Gagne:

New page:
== 1. Deploying your own applications ==

There are server elements that need to be properly configured in order to write your own XAP

=== a. Location of Dojo ===

The baseRelativePath attribute should be set to the location of Dojo.
djConfig = {
                parseWidgets: false,
                baseRelativePath: "../../xap/src/dojo/"

=== b. The core XAP file ===

The HTML file should be able to load the appropriate XAP core:
<script language="JavaScript" type="text/javascript" src="../../xap/lib/xapcore.js"></script>
There are four choices within the lib directory:
 # xapcore.js - contains most of the Dojo widgets and XAP widgets
 # xapcore.js.gz - compressed version of this file, see [Using GZIP] for information on using
this file
 # xapmin.js - a small XAP core file that contains just core the elements needed; other JavaScript
is loaded dynamically
 # xapmin.js.gz - GZipped version

=== c. The start page, the configuration path and the context ===

<div context="../../" applicationName="SampleButton" startPage="index.xal" configFilePath="../../xap/config/XapConfig.js"></div>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message