labelName.setEventActions(asMapOfNull(labelActions, FBScript.class));
labelName.setEffectClasses(labelEffects);
labelName.setValue(output.getName());
labelName.setWidth("100px");
tableOfOutputs.setElement(index, 0, labelName);
TextFieldRepresentation textField = new TextFieldRepresentation();
textField.setEventActions(asMapOfNull(textfieldActions, FBScript.class));
textField.setWidth("200px");
textField.setEffectClasses(textfieldEffects);
OutputData data = new OutputData();
data.setName(output.getName());
data.setValue(output.getSourceExpresion());
data.setMimeType("multipart/form-data");
data.setFormatter(new Formatter() {
@Override
public Object format(Object object) {
return object;
}
@Override
public Map<String, Object> getDataMap() {
return new HashMap<String, Object>();
}
});
textField.setOutput(data);
tableOfOutputs.setElement(index, 1, textField);
}
LabelRepresentation labelOutputs = new LabelRepresentation();
labelOutputs.setEventActions(asMapOfNull(labelActions, FBScript.class));
labelOutputs.setEffectClasses(labelEffects);