View source | View content page | Page history | Printable version   

Projects:ClientApplication/Javascript Utility Classes



The client application module provides several utility objects which can be helpful when implementing client side code.


The user interface can make use of and store user preferences in the database. These user preferences can be utilized in the user interface to for example store the latest menu choices of a user or user window defaults. To support this functionality Openbravo provides preferences concept.

When the main layout page is loaded then the current set of preferences for that user, client, role and organization are loaded on the client and made available through the property store object:


The property store has 2 methods:

Note a propertyName must be a valid list reference value of the 'Property Configuration' list reference, see here for more information.

Changes to preferences on the server are not visible in the client. To see these changes the client needs to be refreshed.


The remote call manager provides a simple wrapper around the Smartclient RPCManager. The remote call manager is available through this object:



The view manager can be used to open a view in the main Openbravo layout. The ViewManager is globally available:


The ViewManager has the following method:

Retrieved from ""

This page has been accessed 3,387 times. This page was last modified on 8 June 2012, at 05:27. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.