EMS --Web Development Kit开发
发布日期:2021-07-01 05:45:19 浏览次数:2 分类:技术文章

本文共 4972 字,大约阅读时间需要 16 分钟。

1. 在File 菜单下新增 “Rename” item

在custom/config 目录下新增 menu_configuration_1.xml

内容如下:

 

 

添加完,点入

http://IP:port/webtop/wdk/refresh.jsp 后, 在登录webtop 就能看到效果了。(需开新的浏览器窗口,无须重启web Server)

 

2. 在File 菜单下移除 “Cancel Check Out” item

在custom/config 目录下新增remove_cancel_checkout_command.xml, 内容如下

 

 

 

添加完,点入

http://IP:port/webtop/wdk/refresh.jsp 后, 在登录webtop 就能看到效果了。(需开新的浏览器窗口,无须重启web Server)

3. 替换类似以上, 使用  replace

 

配置列表栏位

如果从来没有保存过栏位设置,则配置代码会及时生效。

如果有保存过, 则需要点击 “Reset to Default”,才能看到改动后的效果; 但是点击这个按钮并没有删除配置, 下一次如果code 有改变的话, 还需要点击一次才能看到效果。新新增myfiles_configuration_modification.xml, 内容

 

true
object_name
true
title
true
authors
false
owner_name
false
group_name
false
r_creator_name
false
r_lock_owner
false
r_object_type
false
r_version_label
true
r_content_size
true
a_content_type
true
r_creation_date
false
r_modify_date
true
r_modifier
false
r_access_date
false
lifecycle_name
false
current_state_name
false
topic_status
true
room_status
true
acl_name
false
events
false
true
notification_status
false
true
log_entry
false
r_current_state
false
i_retainer_id
false
a_is_template
false
world_permit
false
r_resume_state
false
i_retain_until
false
r_aspect_name
false
i_branch_cnt
false
a_category
false
a_effective_flag
false
a_effective_label
false
a_expiration_date
false
a_extended_properties
false
a_controlling_app
false
a_effective_date
false
r_full_content_size
false
a_full_text
false
group_permit
false
r_has_events
false
r_has_frzn_assembly
false
keywords
false
a_is_hidden
false
i_is_replica
false
a_is_signed
false
language_code
false
a_last_review_date
false
i_latest_flag
false
r_link_cnt
false
a_link_resolved
false
r_lock_date
false
r_lock_machine
false
owner_permit
false
r_is_public
false
a_publish_formats
false
i_is_reference
false
attachment_count
false
receive_date
false
message_importance
false
sent_date
false
from_addr
false
to_addr
false
cc_addr
false

总结: 新建menuitem时,

action="rename"

 1. 如果action没有定义,则不会出现在menu上

 

定义如下

 

hello_world_component
dialogcontainer

2. 如果component 没有定义, 则点击后出错。

 

 

label 设置方式

1. 在Properties 文件中塞值,可以用作国际化    <p><dmf:label nlsid="MSG_STATIC_TEXT"/></p>

2. 在java 文件中塞值, 可以获取动态的值。   <p><dmf:label name="STATIC_TEXT"/></p>

 

转载地址:https://oscar.blog.csdn.net/article/details/7898391 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:Java反编译工具推荐 -- DJ Java Decompiler
下一篇:数据库-拾贝

发表评论

最新留言

做的很好,不错不错
[***.243.131.199]2024年04月14日 02时53分42秒