One of the great strengths of Liferay Portal is the sheer number of out of the box applications. This gives it great flexibility in what it can do, which is why Liferay Portal is used to run many different kinds of websites around the world. For example, if you want users to add Blog posts, you can configure the Blogs portlet to handle those requests.

But really, that’s technology from the last decade. What if you could define a particular function that users might want to perform and let Liferay Portal choose an available installed app to perform that function? That way, if users want to Blog, and you’ve installed your own custom-developed app for blogging instead of Liferay’s, the Liferay Portal instance can just use yours instead?

With Liferay Portal 7, you can do just that. You can request an app based on an entity and action type. Processing the entity type and action, Liferay uses an available portlet that can handle the request. This increases the flexibility and modularity of using portlets in Liferay Portal.

Providing Portlets to Manage Requests

In this tutorial, you’ll learn how to declare an entity type and action for a desired function, and you’ll create a module that finds the correct application (portlet) to use based on those given...

Leer más
0 (0 Votos)
Message Bus Anterior