Search in sources :

Example 1 with ParamsMap

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();
}
Also used : ParamsMap(io.jmix.core.common.util.ParamsMap)

Aggregations

ParamsMap (io.jmix.core.common.util.ParamsMap)1