(self, element_name)
return display_handler
for the display handler, go through each config file and
        look for a definition.  Each config file may also have a "definition"
        view as well.
for the display handler, go through each config file and
        look for a definition.  Each config file may also have a "definition"
        view as well.
for the display handler go through each config file and look for a definition . Each config file may also have a definition view as well .
def get_display_handler(self, element_name):
        '''for the display handler, go through each config file and
        look for a definition.  Each config file may also have a "definition"
        view as well.'''
        assert element_name

        # we have a list of configs ... go through each to find the element
        display_handler = ""
        for config in self.configs:
            display_handler = config.get_display_handler(element_name)
            if display_handler:
                break

        if not display_handler:
            layout = self.get_layout_handler()

            import_expr = Common.get_import_from_class_path(layout)
            exec( import_expr)
            display_handler = eval('%s.get_default_display_handler(element_name)'% layout)

        return display_handler
def get_display_handler ( self , element_name ) : assert element_name # we have a list of configs ... go through each to find the element display_handler = "" for config in self . configs : display_handler = config . get_display_handler ( element_name ) if display_handler : break if not display_handler : layout = self . get_layout_handler ( ) import_expr = Common . get_import_from_class_path ( layout ) exec ( import_expr ) display_handler = eval ( '%s.get_default_display_handler(element_name)' % layout ) return display_handler