def get_title(my): my.widget = Common.create_from_class_path(my.widget_class, [my.title]) my.widget.options = my.options my.widget.set_title(my.title) my.widget.set_name(my.title) Container.put_dict("widgets", my.title, my.widget) index = my.get_current_index() my.widget.set_sobjects(my.sobjects) my.widget.set_current_index(index) if my.draw == "false": return "" else: return my.widget.get_title()
def get_title(self): self.widget = Common.create_from_class_path(self.widget_class, [self.title]) self.widget.options = self.options self.widget.set_title(self.title) self.widget.set_name(self.title) Container.put_dict("widgets", self.title, self.widget) index = self.get_current_index() self.widget.set_sobjects(self.sobjects) self.widget.set_current_index(index) if self.draw == "false": return "" else: return self.widget.get_title()
def get_display(my): my.widget.options = my.options my.widget.set_title(my.title) my.widget.set_name(my.title) my.widget.parent_wdg = my.parent_wdg Container.put_dict("widgets", my.title, my.widget) index = my.get_current_index() my.widget.set_sobjects(my.sobjects) my.widget.set_search(my.search) my.widget.set_current_index(index) if my.draw == "false": return None else: return my.widget
def get_display(self): self.widget.options = self.options self.widget.set_title(self.title) self.widget.set_name(self.title) self.widget.parent_wdg = self.parent_wdg Container.put_dict("widgets", self.title, self.widget) index = self.get_current_index() self.widget.set_sobjects(self.sobjects) self.widget.set_search(self.search) self.widget.set_current_index(index) if self.draw == "false": return None else: return self.widget