{
if(StringUtils.isNotEmpty(comp.getName()) &&
(comp instanceof GenericComponent) &&
!(comp instanceof WidgetComponent))
{
GenericComponent genComp = (GenericComponent)comp;
if(genComp.getMeta().tryGetAttributeValue("cdwSupport", "false").equalsIgnoreCase("true") &&
genComp.tryGetAttributeValue("cdwRender", "false").equalsIgnoreCase("true"))
{
IThingWriter writer;
try
{
writer = factory.getWriter(genComp);