Usually when we have to make an AJAX call or when the user should download a file from a portlet we use the “Resource Phase” of a portlet.
Tag Archives: howto
When a server-side error occur in Liferay, a default message could be shown to the user : This message is displayed when an exception is not planned to be thrown in the current JSP.
It’s possible to connect the Liferay Service Builder to a database different from the Liferay DB. It could be very useful and it’s pretty simple to set up. Here are the steps: Add the JDBC DB information in the portal-ext.properties file Instantiate a new datasource using Spring configuration Use the new datasource in service.xml entities