OZP-64 Added logic for populating the list of required widget ids for the widget definitions