Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
1) Example code using DataListService service method to evaluate column value "Name" from row object.
Code Block | ||
---|---|---|
| ||
//import the necessary classes import org.joget.apps.datalist.service.DataListService; import org.joget.apps.app.service.AppUtil; DataListService dataListService = (DataListService) AppUtil.getApplicationContext().getBean("dataListService"); //since this entire bean shell applies to every row, "row" is automatically iterated here. //"name" is the column id return dataListService.evaluateColumnValueFromRow(row, "name") +; |
2) Format the row value by appending hash variable.
Code Block | ||
---|---|---|
| ||
return value + " #currentUser.firstName#"; |
...