code: public static <T> T findAttributeParent(String fromTagName, JspTag from, String attribute, Class<? extends T> clazz) throws NeedAttributeParentException {
  		T parent = clazz.cast(SimpleTagSupport.findAncestorWithClass(from, clazz));
  		if(parent==null) throw new NeedAttributeParentException(fromTagName, attribute);
  		return parent;
  	}
docs: Finds the attribute parent tag of the provided class (or subclass).
  
  @return  the parent tag
  @exception  NeedAttributeParentException  if parent not found