'Render the components of this item and return the results as list'

def render_components(self):

    items = []
    for c in self.components:
        i = c.render()
        if (i is not None):
            if (type(i) is list):
                items.extend(i)
            else:
                items.append(i)
    return items
