if (isDynamicMenu(context.getCurrentElement(), protocol)) {
DynamicMenuWidgetRenderer dynamicMenuRenderer
= getDynamicMenuRenderer(protocol);
if (null != dynamicMenuRenderer) {
// render li element as div element - item dynamic menu
dynamicMenuRenderer.renderLiClose(
protocol, (ListItemAttributes) protocolAttributes);
}
} else if (isAutocompleter(parent)) {
// render as AutocompleteResponse
// render javascript register active style method if is needed