- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用 My Documentum for Desktop,并且我必须扩展我的 DocBase 的行为——创建新的 DocType 和相关的 TBO。准确地说,我创建了一个新的 DocType,叫做 emdd_document
;这继承自标准类型 dm_document
。一切正常,emdd_document
及其 TBO 有自己的逻辑,源自 dm_document
的逻辑。
但是,我想阻止用户使用标准的 dm_document
,只允许他们使用派生的文件 (emdd_document
),但是我不知道这样做的方法。如果 dm_document
是派生的 DocType,我可以在其 TBO 中创建一个空的 doSave()
函数,阻止对象的保存操作。像这样:
@Override
protected synchronized void doSave(boolean saveLock, String versionLabel, Object[] extendedArgs) throws DfException {
DfLogger.debug(this, "This document type cannot be created!", null, null);
//super.doSave() is not called
}
但是,作为一种标准类型,我不能遵循这种方法。
所以,我想问:有没有办法阻止标准类型的 doSave() 执行?或者,严格来说,对于 My Documentum for Desktop,是否有一些配置阻止用户在文档创建期间选择该 DocType(如下图所示)?
最佳答案
防止用户在 Documentum 中使用某些类型(包括内置类型)的正确方法通常是配置客户端。对于大多数客户端,这是通过 DD(数据字典)机制使用显示配置完成的。
但是,对于 My Documentum Desktop,这似乎有些不同。我自己没有使用过它,但请看一下 My Documentum Desktop 安装和配置指南 6.7.2,第 25 页 -- 对象类型过滤器首选项集:
This sets the root object type that generates the list of object types from which users can select in the ingest dialog box. This also hides specific object types from display in MDD.
在第 56 页 -- 定义对象类型的设置 (Windows):
Default_Document_Object_Type=dm_document
我想前者的配置设置将帮助您隐藏 dm_document,而后者可以帮助您为客户端选择默认类型。
关于java - 防止在 Documentum 中创建特定的标准 DocType,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22151132/
有很多线程解释了选择什么 Doctype,但我找不到任何解释实际语法的线程。举个例子: 特别是: PUBLIC 是否可以替换为其他值,是什么意思? 为什么 url 需要用引号括起来? 是什么 ”-”
关闭。这个问题需要debugging details .它目前不接受答案。 编辑问题以包含 desired behavior, a specific problem or error, and th
我正在尝试制作 100% 高度的东西,但添加文档类型会破坏它。这在 other questions 上进行了解释. 然而,我发现了一些奇怪的事情——如果我关闭 doctype 标签(我知道你不应该这样
美好的一天, 我正在开发一个 C# Web 应用程序,一切正常,直到我添加普通的 JavaScript。 html代码如下: JScript.js是放入的 JavaS
我有一个主要的框架集页面,它使用 FRAMESET 文档类型..现在它里面有 3 个框架.. 现在对于第 2 帧,我想使用一些 HTML5 代码 ()...所以我想我必须使用 doctype 现在我的
我正在制作一个网页,我即将完成,所以我决定通过一个 html 验证器来验证它,但我的页面出现了一堆错误。我的页面目前适用于 ...但是当我输入 我页面的间距中断。 示例:工作时的图片 代码: 当我添
我刚刚在 W3C 验证器上检查了我的个人登陆页面以确保它是正确的 HTML5,然后发现我需要 而不是 通过。 但是背景图片不会延伸到底部。我已经尝试了 wrapper 的最小高度,并清除了,但似乎没有
这是文档类型所在的文件: Taekwendo tinymce.init({ selector: '#art
这是我的问题的 html 代码 Insert title here var arr = [ "A", "B", "C" ]; for (var i = 0; i 在
我在抓取一些具有多个 声明的网站时遇到了困难。 。 我正在使用带有 requests 的 Python 2.7.9 和来自 bs4 的 BeautifulSoup。当我执行 requests.get
我刚刚在 Windows Server 2008 上创建了一个新的 IIS 网站,以便使用它来部署新网站。 该网站仍然是空的。 如果我尝试在“管理工具”下打开 IIS Web 平台安装程序,则会遇到错
是否有使用 HTML 5 文档类型的专家 ,即使我没有使用任何新的 HTML 5 标签?即使我没有使用任何新的 HTML 5 标签,用 HTML 5 文档类型替换 XHTML 文档类型有什么好处吗?
假设我想将旧网站更改为“HTML5”风格。简单地更改标题是否安全 doctype如下? 原始文档类型可能是: 或 如果改为不可能破坏遗留网页的呈现方式,我认为它是安全的。 最佳答案 为什么是的,
通过在 windows 命令提示符下运行以下命令创建了一个全新的 express.js 项目 npm install express -g express newproject cd newproje
我懂了 DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" se
这个问题在这里已经有了答案: background-color property doesn't work correctly with HTML5 DOCTYPE [duplicate] (1
我在没有使用 Doctype 的情况下构建了我的页面,但是没有它我可以获得我期望的结果。 即使用户尝试调整窗口大小时,我也尝试每行列出 4 张图像并填充页面。 问题是我最近添加了 Doctype,这里
我注意到我的一个 html 表单存在问题,文本输入字段被截断了。我将其原因缩小到我们在页面顶部使用的 指令。 当我排除 指令时,下面场景中的输入正确呈现,这意味着文本输入字段被完整绘制。但是当我按
我知道很多人在切换到 时遇到类似的问题行,然而,我已经尝试了所有的方法,甚至是经典的 html{height: 100%;} body {min-height: 100%;} 方法,以及其他方法,但
这个问题在这里已经有了答案: 关闭 10 年前。 Possible Duplicate: How to replace with in an html file 我在我的
我是一名优秀的程序员,十分优秀!