return new CdfRunJsGenericComponentWriter();
}
if(ParameterComponent.class.isAssignableFrom(compClass))
{
ParameterComponent paramComp = (ParameterComponent)t;
String typeName = paramComp.getMeta().getName().toLowerCase();
if(typeName.equals("parameter" ) ||
typeName.equals("olapparameter" )) { return new CdfRunJsParameterComponentWriter(); }
if(typeName.equals("dateparameter" )) { return new CdfRunJsDateParameterComponentWriter(); }
if(typeName.equals("javascriptparameter")) { return new CdfRunJsExpressionParameterComponentWriter(); }
}