saveWidgetframe function

Save a widgetframe and its child widget to HTML files.