private void loadDictionaries() {
new ComponentEvaluator<AbstractSelect>(dictContainers) {
@Override
public void evaluate(AbstractSelect component, WidgetElement element) throws Exception {
ProcessDictionary dict = nvl(element.getGlobal(), false) ?
processDictionaryRegistry.getSpecificOrDefaultGlobalDictionary(element.getProvider(),
element.getDict(), i18NSource.getLocale().toString()) :
processDictionaryRegistry.getSpecificOrDefaultProcessDictionary(
processInstance.getDefinition(), element.getProvider(),
element.getDict(), i18NSource.getLocale().toString());
if (dict != null) {
Date validForDate = getValidForDate(element);
int i = 0;
for (Object o : dict.items()) {
ProcessDictionaryItem item = (ProcessDictionaryItem) o;
component.addItem(item.getKey());
String itemKey = item.getKey().toString();
ProcessDictionaryItemValue val = item.getValueForDate(validForDate);
String message = getMessage((String) (val != null ? val.getValue() : item.getKey()));