在maximo中更改字段的颜色

时间:2015-12-31 14:20:45

标签: java maximo

我正在尝试对(SCHEDHLEDFINISH)中的字段Maximo 7.5.运行验证 我想将文本字段的颜色更改为红色,并可能在该字段上显示错误图标。 我在这里有什么

public void validate() throws MXException, RemoteException
{   
     MboRemote vend = getMboValue().getMbo();
     vend.setValueNull("SCHEDULEDFINISH",11L);
     throw new MXApplicationException("ABC", "abc");
     //Set RED COLOR to field and display error icon
}

怎么可能?为此设置了什么属性?

1 个答案:

答案 0 :(得分:2)

您是否可以使用应用程序的UI?我不知道您是否可以添加错误图标,但您应该可以将文本字段更改为红色。

How to change the color of a field using conditional expressions

简言之:

  • 定义条件表达式
  • 配置WOTRACK应用程序以处理条件表达式
  • 验证结果

Exhaustive list of UI properties you can adjust