throw new BadRequestException("RegionWidget widgetId property must be defined.");
}
org.apache.rave.model.RegionWidget fromDb =
pageService.addWidgetToPageRegion(page.getId(), regionWidget.getWidgetId(), region.getId());
return new RegionWidget(fromDb);
}