ApplicationsAPI Links
By default, every page belongs to a single Jaxer application: and so the Jaxer.application and Jaxer.session state containers are shared. To change this behavior, create a new application. Create an ApplicationYou can put application-specific settings in either configApps.js or a separate file as long as the separate file's name ends in .configApps.js (for example, myApp.configApps.js). Both choices produce the same results when the application runs, the reason for choosing one way over the other is mostly down to personal preference and convenience. This method of application configurations lets you segregate URL patterns, pages, databases, and resource paths within each application. Jaxer comes with two additional configuration files: aptana.configApps.js and services.configApps.js.
Jaxer comes with three config files
Here's where to find them (only after the first time you run Jaxer):
Note: configApps.js is never overwritten when upgrading Jaxer.
Each session container belongs to the context of an application. So creating an application will affect the sharing of values within two state contexts: application and session. The sessionPage container is not affected because its session values are private to a single page. Edit a configApps.js
To add an application, insert or
Each of these properties is available to the application as properties of After modifying configApps.js, Jaxer must be restarted. Configuration Q&AHow do I suppress the display of revealing Jaxer errors in the browserJaxer is shipped configured for a development environment, with server-side exception and error handling turned on.
This means messages generated on the server-side will be sent to the browser for simpler debugging and development cycles. If the error occurred before the final
processing of the page, the HTML returned to the browser may well contain server-only code. To prevent such code and detailed error messages from being seen by
users in a production environment, we strongly recommend you change the Generate an error that the default configuration displays to the browser<script runat='server'>
throw 'foo';
</script>
Changing to
How do I configure Jaxer to use my proxy settings?
Much like any browser can be configured to route its network traffic through a proxy, so too Jaxer supports working with a proxy; in fact it uses the same
preferences as Firefox. To see the list of preferences used on your computer, open the special URL about:config in Firefox and filter for network.proxy
where you'll find network.proxy.type, network.proxy.http, network.proxy.http_port and several more. The complete list is available on the
Mozilla Networking Preferences page. Jaxer's proxy preferences are kept
in Generate an error that the default configuration displays to the browserConfig.MOZ_PREFS["network.proxy.type"] = 1; // manual Config.MOZ_PREFS["network.proxy.http"] = "127.0.0.1"; Config.MOZ_PREFS["network.proxy.http_port"] = 8888; Configuring a New ApplicationConfigure a new Jaxer application at the path
|

