On Mon, Aug 19, 2013 at 11:25 AM, Dan Gornstein <[email protected]> wrote:
> Hey everyone, > > I am currently doing some work on the angular branch, specifically creating > an angular directive which will render a given RegionWidget. > > I need access to the tile of the RegionWidget and started digging into rave > trunk and noticed that in the region_widget tag there was a variable > 'widget' being set to the transformation of a RegionWidget to a Widget. > > Both the rest and canonical models for RegionWidgets do not have the idea > of a title. > > I was hoping to understand this better if someone doesn't mind explaining. > I was wondering what the reasoning behind this was, and if it will stay set > up this way, or if we will want to add these missing properties to the > canonical and rest models? > RegionWidgets are instances of Widgets that have been registered with the system and should only have the properties associated with that instance. For instance, if I have a widget that displays activities, I register that with Rave which creates a Widget in the database. Every time someone adds that Widget to a page, it creates a new RegionWidget to track the specific preferences, properties, etc for that widget. > > Thanks, > Dan Gornstein >
