In order for the data-publish-submit flag to work a publish component must be defined somewhere up the tree.