*/
public int doEndTag() throws JspException {
TableTag tableTag = (TableTag) findAncestorWithClass(this, TableTag.class);
if (tableTag == null) {
throw new TagStructureException(getClass(), "header", "table");
}
MediaTypeEnum currentMediaType = (MediaTypeEnum) this.pageContext.findAttribute(TableTag.PAGE_ATTRIBUTE_MEDIA);
if (currentMediaType != null && !MediaUtil.availableForMedia(this, currentMediaType)) {
return SKIP_BODY;