use of org.activityinfo.model.type.attachment.Attachment in project activityinfo by bedatadriven.
the class AttachmentWidget method setValue.
public void setValue(AttachmentValue value) {
if (value != null && value.getValues() != null && value.getValues().size() > 0) {
rows.clear();
for (Attachment rowValue : value.getValues()) {
addNewRow(rowValue);
}
setState(true);
} else {
clear();
}
}
Aggregations