- 浏览: 89047 次
- 性别:
- 来自: 上海
文章分类
最新评论
-
zq_zero:
很好,不过如果改为用字符串数组来存储迭代结果和判断是否重 ...
Oracle自定义聚合函数实现字符串拼接 -
sea0108:
good。。
Oracle自定义聚合函数实现字符串拼接
在用webtop做客户化的时候,如果只有一个repository 客户一般会要求去除左边导航树中的add repository 功能链接。
操作步骤如下:
step1.Create your custom control class as follows . When the control initializes, it will display only the
nodes that are defined in the browsertree component, and it will set the visibility of the dynamic
nodes to false:
package com.mycompany; import java.util.Iterator; import com.documentum.web.common.ArgumentList; import com.documentum.web.form control.TreeNode; public class WebTopBrowserTree extends com.documentum.webtop.control.WebTopBrowserTree { public void onInit(ArgumentList args) { super.onInit(args); Iterator it = getAllNodes(); if (null ! = it) { Object m _Node = null; while (it.hasNext()) { m _Node = it.next(); } if (null ! = m _Node) { ( //get last tree node set it visible false (TreeNode) m _Node).setVisible(false); } } } }
step2.Create your custom comoponent Browsertree class as follows:
package com.mycompany; import com.documentum.web.common.ArgumentList; import com.broadtext.WebTopBrowserTree; public class BrowserTree extends com.documentum.webtop.webcomponent.browsertree.BrowserTree { public BrowserTree() { super(); } public void onInit(ArgumentList args) { //force creation of custom control in component WebTopBrowserTree tree = (WebTopBrowserTree) getControl(TREE_CONTROL, WebTopBrowserTree.class); super.onInit(args); } }
step3.create a tag class to get the new control:
package com.mycompany; public class WebTopBrowserTreeTag extends com.documentum.webtop.control.WebTopBrowserTreeTag { protected Class getControlClass() { return com.mycompany.WebTopBrowserTree.class; } }
step4 Now create a tag library file custom .tld in /WEB-INF/tlds . Copy the content of dmwebtop_1_0 .tld and change only the shortname element for the tag library and the tag class for the browsertree control, as shown:
. . . <shortname>ct< /shortname> <tag> <name>browsertree< /name> <tagclass>com.mycompany.WebTopBrowserTreeTag< /tagclass> . . . < /tag> . . .
step5 Extend the Webtop browsertree component definition in /webtop/config/browsertree_component.xml and use the following definition:
<config version ="1 .0"> <scope> <component id ="browsertree" extends ="browsertree: webtop/config/browsertree_component.xml"> <pages> <start>/custom/browsertree/browsertree.jsp< /start> < /pages> <class>com.mycompany.BrowserTree< /class> < /component> < /scope> < /config>
the last step, copy the Webtop browsertree JSP page /webtop/classic/browsertree .jsp to
/custom /browsertree.jsp Specify your custom tag library:
<%@ taglib uri ="/WEB -INF/tlds/custom.tld" prefix ="ct" %>
Import y our custom control class by importing it in place of the W ebtop control in the import
statement:
<%@ page import ="com.documentum.web.form.Form, com.documentum.web.common.ClientInfo, com.documentum.web.common.ClientInfoService, com.mycompany.BrowserTree" %>
Search for the browsertree tag:
<dmwt:browsertree name ='<% =BrowserTree.TREE _CONTROL%>' . . . />
Replace it with y our custom tag:
<ct:browsertree name ='<% =BrowserTree.TREE _CONTROL%>' . . . />
Stop and restart the app server to pick up your custom classes and verify that the Add Repository
option is not visible:
发表评论
-
调用DFS创建文档报 type dm_literal_expr failed
2012-03-18 16:06 1622调用DFS时报如下错误: [DM_SESSION_W_FET ... -
Assign multiple groups as performer of activity using code in workflow
2012-02-03 17:02 937I determine the groups dynamica ... -
content server
2012-02-02 15:23 710当使用的composer修改属性的相关约束条件,比如是否为空, ... -
dfc session Monitor
2012-01-31 10:53 997You can enable logging on the s ... -
DFC Session Management Srinivas Jakkula
2012-01-19 14:02 1666摘要:这个文档从application出发,介绍DFC Ses ... -
Documentum
2012-01-04 18:35 885查询所有需要在属性页要显示的属性 select r_o ... -
query attribute map dictionary
2011-12-28 13:15 777select map_display_string, map_ ... -
Invoking UCF in custom import component
2011-12-28 13:09 11661)I have made some changes in t ... -
When open tasklist form, it pops up exception casued by [DM_SESSION_E_SETUP_ROLE
2011-12-28 13:05 2362Symptoms An error has occurr ... -
dfc trace performance anaysis
2011-09-14 09:57 10811)设置dfc.properties enable dfc t ... -
Tuning the Performance of documentum UCF Content Transfer
2011-05-27 09:12 3134In Documentum applications, the ... -
Add or delete a custom attribute
2011-03-22 10:43 7351)alter type <custom_type&g ... -
Some basic guidelines for setting the J2EE Application Server JVM memory
2011-03-21 14:40 2352Please refer to WDK/Webtop depl ... -
type attribute label is not localized
2011-03-09 16:41 878you will have to clear cache an ... -
Acs is enabled or not(test code)
2011-03-08 20:03 1712引用 /*************************** ... -
Tuning the Performance of UCF Content Transfer
2011-03-07 17:04 1301Tuning the Performance of UCF C ... -
无法保存preset
2010-11-15 16:56 863错误图见附件。 解决方法: 确认dm ... -
DUMP AND LOAD A DOCBASE
2010-11-05 09:50 1014http://www.bluefishgroup.com/li ... -
jobs Window Interval parameter
2010-10-29 10:05 1043"The Window Interval. When ... -
DFC own Administrator permission
2010-10-27 14:54 7361.add user to dm_superusers_dyn ...
相关推荐
This guide describes how to install, administer, and use Netcool/Webtop. The following chapters an appendixes describe each functional area, and task-oriented examples are provided to assist users and...
该文档用来描述Documentum最新版本6.6的webtop的使用操作等
详细的tivoli webtop手册,帮助大家去学习如何使用webtop定制出漂亮的监控界面。
EMC Documentum Webtop版用户指南.pdf
Documentum-WebTop使用指南.pdf
webtop2.2安装与配置[汇编].pdf
参照此文档了解documentum中webtop的基本操作
每周基本操作系统更新,在整个 LinuxServer.io 生态系统中使用通用层,以最大限度地减少空间使用、停机时间和带宽 定期安全更新 在以下位置找到我们: - 您可以使用我们的容器做的所有事情,包括操作指南、意见等等...
Webtop简单使用说明,基于documentum的java开发技术
IBM Tivoli Netcool Webtop 是一款非常灵活、扩展性极强的页面呈现平台。通过Tivoli Netcool Webtop,我们能够以丰富多彩的界面和客户化的手段来管理 Tivoli Netcool OMNIbus的告警。Tivoli Netcool Webtop的使用并...
Webtop源代码
WebTop 是一个Web2.0 应用平台。 它提供 WebTop 服务作为开发框架和 WebTop 群件作为一个功能齐全的服务包,形成一个包含邮件、日历、联系人等的企业云协作解决方案。
xOS Webtop 是一个从 2009 年开始开发的项目,由 XProduct 团队设计。 xOS Webtop 是一个 Web 浏览器桌面,您可以在其中拥有文件和舒适的环境,您可以在其中工作和保存文件。
网页版 这是具有 Web 界面的 Linux 系统的... 没有依赖关系,只有 WebTop 二进制文件和 index.html 在同一目录中 ######3 规则。 访问 /proc/ 目录 同一目录中的 index.html 和 WebTop 二进制文件 在普通浏览器中访问
webtop:Rust 中的 apachetop Webtop 是一个控制台程序,它从 HTTP 服务器读取日志文件并输出实时访问统计信息(即,在过去 5 分钟内至少有一次点击的访问)。 它反复读取日志文件以保持统计信息新鲜。 它建立在...
这些路径可以在~/.webtop/config.json中覆盖,您可以在其中覆盖config-default.json任何配置值。 请注意,配置文件中的文件路径不会扩展外壳表达式,替换环境变量或在常规外壳脚本中执行您可能希望它们执行的其他...
列表中没有这样的规则,但是在评估中考虑它是有意义的。 关键问题 0分 如果该网站包含至少一个列出的问题,则该网站获得0分。 查找时,您需要考虑它们的严重性。 如果一百个页面中的两个页面具有相同的标题,则没有...
该项目的目标是开发可在智能手机Web浏览器上运行的Webtop环境。 在过去的几个月中,我们一直在进行Webtop环境的早期开发(大约占归档的30%),并且我们一直在继续运行。
1.文章栏目二级分类,随意修改,管理员分级管理 2.采用强大的FCK编辑器输入文章 3.不存在任何文章内容不能分段,不出空格...安装使用方便,你只需把头部文件 WebTop.ascx 和底部文件 WebBottom.ascx 换成你的就可以了