return CONTENT_TYPES;
}
public boolean render(FacesContext context, UIComponent component, ResponseWriter writer, String contentType, String value) throws IOException {
if(contentType.equals(CONTENT_TYPE_PROFILE_VCARD)) {
UIViewRootEx rootEx = (UIViewRootEx)context.getViewRoot();
if(UISbtClient.isClientEnabled(rootEx)) {
renderProfilesCard(context, writer, rootEx, component, value);
} else {
renderConnectionsText(context, writer, rootEx, component, value);
}
return true;
} else if (contentType.equals(CONTENT_TYPE_PROFILE_VCARD_INLINE)) {
UIViewRootEx rootEx = (UIViewRootEx)context.getViewRoot();
if(UISbtClient.isClientEnabled(rootEx)) {
renderProfilesCardInline(context, writer, rootEx, component, value);
} else {
renderConnectionsText(context, writer, rootEx, component, value);
}