壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 947|回复: 3

[扩展开发|报表开发] 添加一个下拉框的 set up

[复制链接]
发表于 2007/11/22 15:13:04 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
Overview :
The purpose of this document is to provide instructions on adding a combo box dropdown to a field in MAXIMO 5.x
A combo box is a drop down list that displays all of the values of a valuelist when the launch button for the list is
clicked.
This example will provide steps for adding a value list to the WOPRIORITY column of the WORKORDER table to then set up a
combo box on the WO Priority field of Work Order Tracking.
Steps:
1. Launch Control Center and connect as user MAXIMO.
2. Launch Application Setup from the Administration module.
3. Select a module from the Overview list in this example we will select WO for the Work Order module.
4. Select the Value list tab.
5. From the Actions menu select the option Create Value List...
Note: A dialog box will appear, it will allow the user to name the list, add a description, select what type the list should
be, the data type, length and scale of the list. Be sure to create a type 2 value list (with description). Also be sure to
create a value list that is the same data type and length as the field it is being assigned to, or configure the field\'s
datatype to match that of the value list.
In MAXIMO 5.1 a combo box will only display the description for the valuelist value in the combo box, however, the
corresponding valuelist value will be written to the database for that record when the decription is selected and the record
is saved.
You may want to include the value in the description when creating the valuelist to increase ease of use for the user.
6. Once the Create Value List dialog box has been filled out, click OK, then enter values and descriptions for the list.
7. Save the value list.
8. Select Assign and Deassign Value Lists... from the Actions menu.
9. Select the value list created in step 6 from the dropdown and click the Assign button.
10. Select the WORKORDER table and WOPRIORITY column and Save.
11. Exit Application Setup and select Yes when prompted to reset the Control Center.
12. Modify the wotrack/main.jsp page to change the WO Priority field to a combo box.
13. Open the wotrack/main.jsp page in a text editor.
Find and modify the line of code for the WO Priority field by changing the <psdi:textinput tag to <psdi:combo box
The line of code should now read:
<psdi:combobox label=\"WO Priority:\" gridrow=\"2\" gridcol=\"5\" mbosetid=\"rec\" mboattribute=\"wopriority\" />
14. Save the changes and rebuild the EAR files.
发表于 2007/11/23 08:42:57 | 显示全部楼层

回复 1# 的帖子

上楼是那个公司的呀,还全英文的东东!
发表于 2007/11/23 17:00:26 | 显示全部楼层
明白了,就是使用
psdi:combobox

即可(前提是有值列表)。
发表于 2007/11/23 17:05:40 | 显示全部楼层
谢谢哦,

其实在 maximo 5 的 taglib.tld 文件中已经早就定义了该标签,只是很少用而已!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 04:37 , Processed in 0.012749 second(s), 14 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表