Now you can generate portlets using XMLPF | Digital Transformation
Digital Transformation Blog

Now you can generate portlets using XMLPF

XMLPF stands for XML Portlet Factory and is an open source tool that can build Liferay portlets from XML definition files.  The software creates database CRUD portlets based on the definitions contained in an XML file.  Here is a link to the project website:


An example portlet is shown to the right.  XML Portlet Factory generated the entire user interface, made connections to the database and created the table of results.    While the user interface is not bad, you can go into the generated portlet code and make changes to the files directly.  However, once you make changes to the generated portlet, your changes are not reflected back into XML Portlet Factory.

Documentation on the project site is pretty good and installation is a breeze.  Here is a link to the documentation wiki:  The system comes with ANT scripts to build the portlet and automatically deploy it to Liferay.

Below is a snippet of the XML file used to generate the portlet:


	<title>Users Maintenance</title>

Note:You may have heard of Portlet Factory in conjunction with IBM WebSphere Portal.  XML Portlet Factory is not that product.  IBM’s product has been renamed to Web Experience Factory.

Subscribe to the Digital Transformation Weekly Digest

* indicates required

Leave a Reply

Perficient Digital Transformation Blog

Perspectives and insights from our thought leaders on change management, Big Data, cloud, mobile, integration, APIs, analytics, digital experience and business optimization strategies to drive digital transformation.