// anything.
if (!isWidgetSupported(protocol)) {
return;
}
BlockContentAttributes myAttributes = (BlockContentAttributes) attributes;
require(WidgetScriptModules.BASE_BB_CONTENT, protocol, attributes);
// Open internal BlockContent element, which would contain the content
// for this BlockContent widget.
blockContentAttributes = new com.volantis.mcs.protocols.widgets.internal.attributes.BlockContentAttributes();
blockContentAttributes.copy(attributes);
blockContentAttributes.setId(protocol.getMarinerPageContext().generateUniqueFCID());
if (myAttributes.isForResponse()) {
if (myAttributes.getId() == null) {
myAttributes.setId(protocol.getMarinerPageContext().generateUniqueFCID());
}
}
getWidgetDefaultModule(protocol)
.getWidgetRenderer(blockContentAttributes)