widget.setVersion("v1.0");
IName widgetName = persistenceManager.newInstance(IName.class);
widgetName.setName("Unsupported widget widget");
widgetName.setShort("Unsupported");
widget.getNames().add(widgetName);
IDescription widgetDescription = persistenceManager.newInstance(IDescription.class);
widgetDescription.setDescription("This widget is a placeholder for when no corresponding widget is found for a given type");
widget.getDescriptions().add(widgetDescription);
IContent widgetStartFile = persistenceManager.newInstance(IContent.class);
widgetStartFile.setSrc(WidgetRuntimeHelper.getWebContextPath() + "/wservices/notsupported/index.htm");
widget.getContentList().add(widgetStartFile);
IContent widgetBUStartFile = persistenceManager.newInstance(IContent.class);