else {
for(Enumeration e = group.childrenElements().objectEnumerator(); e.hasMoreElements() && result == null ; ) {
WOElement current = (WOElement) e.nextElement();
if(current instanceof ERXWOTemplate) {
ERXWOTemplate template = (ERXWOTemplate)current;
String name = template.templateName(component);
if(name.equals(templateName)) {
result = template;
}
}
}