if (parentRowTag == null) {
throw new JspTagException(
"Requires liferay-ui:search-container-row");
}
if (!parentRowTag.isHeaderNamesAssigned()) {
<BUG>SearchContainerTag parentSearchContainerTag =
(SearchContainerTag)findAncestorWithClass(
this, SearchContainerTag.class);
SearchContainer searchContainer =
parentSearchContainerTag.getSearchContainer();
List<String> headerNames = searchContainer.getHeaderNames();

headerNames.add(getName());
</BUG>
}

if (parentRowTag == null) {
throw new JspTagException(
"Requires liferay-ui:search-container-row");
}
if (!parentRowTag.isHeaderNamesAssigned()) {
List<String> headerNames = parentRowTag.getHeaderNames();
headerNames.add(_name);
}
