What would be a good way of checking if a component is a template?
I am running into a problem where I am looping through all my components and calling getComponents() and then checking the length of the results returned. if the length is greater than 0 i call getComponents() again. the prolblem is that when i call getComponets on a template the results has a length of 1, but i cannot perform any actions on the components inside a template.
[code]item = event.source.parent.getComponent(‘MainContainerTopBanner’)
if(item is not a template):<— need code to check if item is a template
components = item.getComponents()
if(len(components) > 0): for component in components: system.gui.resizeComponent(component,10,10)[/code]