In this recipe, you will see how to add a new configuration to the portlet so that you can use the WebUI extensions.
To extend the portlet, you need to create a new XML configuration file for WebUI, add the path of this file in the
init parameters of your
portlet.xml file, and modify your portlet class.
Here are the basic steps to create a WebUI in an existing project:
WEB-INFfolder of your web application, create a folder named
/conf/portletfollowed by the name of the web application, then the name of the portlet and the path
Here is a basic example ...