Reputation: 41
does someone know a good example which shows where to locate javascript and css in a MVC portlet in LR7 and load it by annotation "com.liferay.portlet.footer-portal-javascript"?
Thanks for a short hin.
Best regards
Udo
Upvotes: 0
Views: 1013
Reputation: 3052
Best example is Liferay's source code. See for example ServerAdminPortlet which uses com.liferay.portlet.footer-portlet-javascript
pointing to /js/main.js
which you can find in <PORTLET's_SRC_FOLDER>/resources/META-INF/resources/
Upvotes: 1