private void generateWidgetCreationForCellOnController(SourcePrinter out, C context, JSONObject child, JClassType dataObject, String dataObjectName)
{
try
{
String onCreateWidget = child.getString("onCreateWidget");
Event event = EventFactory.getEvent("onCreateWidget", onCreateWidget);
if (event != null)
{
String controllerClass = getControllerAccessorHandler().getControllerImplClassName(event.getController(), getDevice());
out.println("private "+controllerClass+" controller = " + getControllerAccessorHandler().getControllerExpression(event.getController(), getDevice())+";");
}
ControllerAccessHandler controllerAccessHandler = new ControllerAccessHandler()
{
@Override
public String getControllerImplClassName(String controller, Device device)