Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition
Bean Shell Datalist Action allows you to write custom Java code to perform custom actions on the datalist.列表动作 允许您编写自定义Java代码以在数据列表上执行自定义操作。
Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

This is a new feature in Joget Workflow v6.

新功能

这是Joget Workflow v6中的一个新功能。


Image Added

图1:行操作占位符中的超链接以及列表设计器中的批量操作占位符Image Removed
Figure 1 : Hyperlink in the row action placeholder and in the bulk action placeholder in the datalist builder

 

Figure 2 : Bean Shell Datalist Action Properties图2:Bean Shell Datalist操作属性

 

Name名称Description描述
Label标签Link 链接/ Button label.
Confirmation MessageConfirmation message before performing action.
按钮标签。
确认消息执行操作前的确认信息。
脚本

Java中的脚本。

可供消费的注射变量有:

  • HttpRequest的
  • 数据列表
Script

Script in Java.

Injected variables available for consumption are:-

  • httpRequest
  • datalist
  • rowKeys
Code Block
titleSample Code代码示例
linenumberstrue
for (String key : rowKeys) {
System.out.println("Record key is " + key);
}

 

Figure 3 : Bean Shell Datalist Action Properties - Visibility Control图3:Bean Shell Datalist操作属性 - 可见性控制

 

Name名称Description描述
规则根据所设置的条件来控制动作何时出现。RulesControls on when the action should appear based on the condition(s) set.