View source | Discuss this page | Page history | Printable version   

How To Switch to Classic Mode


In Openbravo 3 the Application Dictionary (AD) Windows are implemented in a completely new technology that provides a much better user experience. But still it is possible to configure the system so it renders the AD Windows using the 2.50 implementation (we call it 'Classic Mode'). It helps for backward compatibility and smooth transition between this two major versions. The objective of this how-to is to explain how you can configure your instance so it renders AD windows in Classic Mode.

For working and developing in classic mode many parts of the 2.50 developers guide apply. You can find the 2.50 developers guide here.


Standard configuration

The standard way to define the way AD windows are rendered is through Preferences.

Preferences are system properties (attribute-value pairs) that can be defined at different levels (Global, Client, Organization, Role, User). Preferences can be overwritten by more specific preferences (eg. a preference at user level overwrites a global preference). Preferences can also be defined for a a particular window. You can see the list of preferences defined in your instance by opening the window 'General Setup > Application > Preference' logged in as System Administrator.

By default all AD windows in Openbravo 3 are rendered using the new mode. But you can overwrite this behavior through a preference by setting the property named 'Use Classic UI mode' to the value 'Y'. As any other preference you can set this it at different levels:

Two details you should be aware:

The image below shows how to set this preference for a particular window.


URL parameters

In some cases you don't want to change permanently the behavior of the system but just change it during a session (eg. to test something). In this case, after being logged in you can 'hack' the system by adding a parameter mode=classic to the application URL (eg. http://localhost/openbravo/?mode=classic). After this any window you open will be opened in classic mode during that session.

Finally you can also get a pure 2.50 behaviour including application layout (menu on the left, application frame on the right, etc.). To get it you have to use the following url: http://yourServerAddress/yourOBContext/security/Menu.html?noprefs=true (eg. http://localhost/openbravo/security/Menu.html?noprefs=true).

Retrieved from ""

This page has been accessed 9,688 times. This page was last modified on 16 June 2011, at 12:21. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.