Example #1
0
        def widget_params(self):
            result = ObjectWidget.widget_params(self)

            if self.obj:
                result['value'] = dict(
                    content=self.obj.style_content
                )

            return result
Example #2
0
 def populate_obj(self):
     ObjectWidget.populate_obj(self)
     self.obj.style_content = self.data['content']