gpt4 book ai didi

deployment - 正确删除Seaside中的开发工具栏

转载 作者:行者123 更新时间:2023-12-02 20:26:08 28 4
gpt4 key购买 nike

我在 Pharo 1.3 和 Pharo 1.4 上使用 Seaside 3.0.7。为了禁用我的 Seaside 应用程序底部的开发工具栏,我执行了 as the Seaside Book says :

WAAdmin applicationDefaults
removeParent: WADevelopmentConfiguration instance

正如它所说的那样 - 但只有大约一半的注册应用程序注意到他们的 parent 已经走了

另一半仍然显示工具栏,并且这些应用程序的配置网站仍然显示:

Root Decoration Classes: WAToolDecoration [inherited]

只有在我单击“配置”(根装饰类)一次后,才会显示下一个屏幕

Available: WAToolDecoration, Current: (empty)

所以我只点击“确定”,工具栏终于消失了。

谁能帮我解决这个问题吗?

更新:

正如 Paul DeBruicker 在邮件列表中暗示的那样,这可能是与 Seaside 3.0.4 中引入的缓存相关的错误。我打开了issue在错误跟踪器中。

最佳答案

当前存在某种缓存问题。 Paul DeBruicker 提供了一种解决方法:

If you don't care about accessing the other applications you can run this:

WADispatcher default handlers do: [ :each | WADispatcher defaultunregister: each ].

which removes all of the applications that are installed in the imageand then you can re-initialize your own applications so you only havethe apps you're interested in to fix.

It will be good to learn how to remove the toolbar without unregisteringeverything, but this may help in the short term.

此后,您可以初始化您关心的应用程序。

关于deployment - 正确删除Seaside中的开发工具栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13075919/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com