use of io.jmix.core.common.util.ParamsMap in project jmix by jmix-framework.
the class InputDialog method getValues.
/**
* Returns values from parameters. String - parameter id, Object - parameter value.
*
* @return values
*/
public Map<String, Object> getValues() {
ParamsMap paramsMap = ParamsMap.of();
for (String id : fieldIds) {
Component component = form.getComponentNN(id);
paramsMap.pair(id, ((Field) component).getValue());
}
return paramsMap.create();
}
Aggregations