We have already configured workflows for blogs and training web content. There can be various reasons why you don't want to follow a complete process of workflow and have to submit the content directly. If we think of the out-of-the-box feature, then we have to remove the workflow for those web forms so that web content can be submitted directly. This is not a good practice sometimes when you are configuring a workflow or sometimes when you are removing a workflow for a particular web content.
In order to make the task simpler we have to customize the submit dialog using APIs.
Follow these steps to create two Java files:
com.book.web.bean.wcm, in Eclipse, in your project. For more ...