Satyanarayana Software Engineer
Monday 20 September 2021
HPE Accelerating Impact 2019 Highlights to Support Nonprofits
Sunday 4 October 2020
Liferay Configuration API dependencies
I am using liferay 7.2.0 version.
Have not found:
compileOnly group: "com.liferay", name: "com.liferay.portal.configuration.metatype.api", version: "2.0.0"
Found:
compileOnly group: "com.liferay", name: "com.liferay.portal.configuration.metatype", version: "2.0.0"
Thursday 3 September 2020
Liferay's success or failure messages for user feedback and custom aui validator
view.jsp:
<liferay-ui:success key="entity-updated-successfully" message="successfully-updated-entity-details"/>
<liferay-ui:error key="entity-updation-failed" message="failed-updation-entity-details"/>
Custom AUI Validator:
<aui:input name="title">
<aui:validator errorMessage="please-specify-file" name="custom" >
function (val, fieldNode, ruleVal){
return ((val!='') || A.one('#<portlet:namespace/>file').val() != '');
}
</aui:validator>
</aui:input>
Thursday 23 July 2020
liferay headless delivery open APIs URL
localhost:8080/o/headless-delivery/v1.0/openapi.json
Liferay 7.x inclusion of CSS or JS files into the portlet or widget
Include the below entries under portlet component properties:
"com.liferay.portlet.header-portlet-javascript":"/js/main1.js"
"com.liferay.portlet.header-portlet-javascript":"/js/main2.js"
liferay 7.x questions and answers - for certification
1. When multiple implementations are available for osgi-api which are used to identify the particular implementation for that client?
Sol : Policies & filters
2. bnd tools generate _____ file by using build.gradle entries.
Sol : MANIFEST.MF
3. what is require-capability & provide capability?
4. provide-capability vs export in osgi?
5. why we are using blade CLI in liferay development?
Sol : Blade CLI provides module project templates are mvc-portlet, service, service-builder and so on.
Sol : Policies & filters
2. bnd tools generate _____ file by using build.gradle entries.
Sol : MANIFEST.MF
3. what is require-capability & provide capability?
4. provide-capability vs export in osgi?
5. why we are using blade CLI in liferay development?
Sol : Blade CLI provides module project templates are mvc-portlet, service, service-builder and so on.
portlet lifecycle phases
1. init phase
2. render phase
3. action phase
4. resource phase
5. event phase
6. destroy phase
2. render phase
3. action phase
4. resource phase
5. event phase
6. destroy phase
Subscribe to:
Posts (Atom)