Uninstall any previous version of Mozilla xulrunner.
If registered for all users:
xulrunner --unregister-global
If registered only for current user:
xulrunner --unregister-user
Register XULRunner by executing either of the following at the command line:
Register for all users:
xulrunner --register-global
Register only for current user:
xulrunner --register-user
Configuring Dojo
This step is only required if you plan to use the Dojo Toolkit
More detail instructions on how to configure Dojo is available in the AJAX Toolkit Framework User Guide in the Eclipse Help
1. Download Dojo and extract into a directory from http://dojotoolkit.org/download/
2. Define the location of Dojo using the preference pages.
From the Window menu item open the ATF preference page for defining Ajax runtimes
Window>>Preferences>>ATF>>Installed Ajax Runtimes
Select the "Add.." button and define the runtime. The location specified is the directory containing the dojo.js file.
Use the "Set as default" button to make location the default to use.
Note: The ATF javascript validator will flag a few of the base Dojo javascript source files as having errors. These "errors" can be ignored and should not cause any break in Dojo functionality.
Configuring Script.aculo.us
This step is only required if you plan to use the Script.aculo.us Toolkit
More detail instructions on how to configure Script.aculo.us is available in the AJAX Toolkit Framework User Guide in the Eclipse Help
1. Download Script.aculo.us and extract into a directory from http://script.aculo.us
2. Define the location of Script.aculo.us using the preference pages.
From the Window menu item open the ATF preference page for defining Ajax runtimes
Window>>Preferences>>ATF>>Installed Ajax Runtimes
Select the "Add.." button and define the runtime. The location specified is the directory containing the runtime files.
Use the "Set as default" button to make location the default to use.
Configuring Rico
This step is only required if you plan to use the Rico Toolkit
More detail instructions on how to configure Rico is available in the AJAX Toolkit Framework User Guide in the Eclipse Help
Download rico.js and prototype.js into a directory from [url=http://openrico.org/rico/downloads.page ]http://openrico.org/rico/downloads.page [/url]
Define the location of rico.js and prototype,js using the preference pages.
From the Window menu item open the ATF preference page for defining Ajax runtimes
Window>>Preferences>>ATF>>Installed Ajax Runtimes
Select the "Add.." button and define the runtime
Use the "Set as default" button to make location the default to use.
Note: this has only been tested with prototype 1.4.0 and rico 1.1.2


聯(lián)系客服