Search code examples
smalltalkpharoseaside

Seaside with Pharo 2.0/3.0 - how to set deployment mode?


I can't find how to enable deployment mode through the tutorials. It says to do: WAGlobalConfiguration setDeploymentMode which isn't recognized,

or to do:

Initialize
  | app |
  app := self registerAsApplication: 'app-name'.
  app preferenceAt: #deploymentMode put: true

which executes, but doesn't remove the toolbars.


Solution

  • You are probably using Seaside 3.0.8 (minor version number does not really matter). Your question is answered in the online Seaside book in the chapter on deployment. There is no setting #deploymentMode. Instead, you can remove and configure individual elements of the development tools, remove them from a single application or remove them from all applications at once.