質問

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