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.

有帮助吗?

解决方案

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.

其他提示

Also take a look at this question: Correctly removing Development Toolbar in Seaside.

I had similar problems as described by this question when i wanted to remove the development toolbars from more than one application at one and the same time.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top