
« Zurück zu Liferay IDE 2.2...
Liferay IDE 2.2 Release New Editors
Table of Contents [-]
New Editors #
portal properties editor #
- In the server’s view, nested under the liferay servers if there are existing portal-ext or system-ext properties files, they will be shown here under the server.
- You can double click them to open them in an editor as shown in the screenshot.
- Code completions are made available for new property overrides. also embedded documentation available in the portal.properties file in the portal-impl.jar are shown to the developer just for a quick reference.
- In the 2nd screenshot on lower right hand side you can see that if you don’t have a portal-ext.properties file, there is now an action use to quick create one.
- If you have a hook project and you create a portal.properties file, you can open it with the same properties editor, however this time when you invoke the code assist the completions that are shown are only the ‘hookable’ properties instead of the whole list.
liferay-portlet.xml editor #
- We already have advanced editors available for portlet.xml, service.xml, liferay-display.xml, but now we have added one for liferay-portlet.xml.
- Also noticed that the “advanced” UI is on the 2nd tab. this is because all of the editors now have the “source” tab as the first one and also this is how the editors load faster now, the “overview” tab is added dynamically as soon as the user requests or lazy loaded.
layout templates editor #
- The updated layout template editor has been updated in a few ways.
- First,it now supports 6.2 or bootstrap style templates
- Secondly, the old visual page has been replaced with just a simply preview.
- A new third “design” page has been added that lets the user quickly create the layout they want and then generates the source code. this is much easier to use and matches the actual usage patterns of working with liferay layout templates.
15164 Angesehen