// Anchor rendering currently only possible for messages that
// contain a label, but we could use summary text in future
if (msg instanceof LabeledFacesMessage)
{
LabeledFacesMessage labeledMsg = (LabeledFacesMessage)msg;
String labelString = labeledMsg.getLabelAsString(context);
if (labelString != null && labelString.length() > 0) // check for empty string
{
String anchor = MessageUtils.getAnchor(componentId);
writer.startElement(XhtmlConstants.LINK_ELEMENT, null);
renderStyleClass(context, arc, SkinSelectors.LINK_STYLE_CLASS);