(You) 6 Years Ago [...] So many folks have asked for it... "How do I change a JS file in a module?" "How do I change a CSS file in a module?" "How do i change a java file in a module?" Here's how to do those things:... [...] Read More Please sign in to reply. Reply as... Cancel
Lalit Jugran 6 Years Ago Hi David,Thanks for this informative blog!!!Actually we are migrating our portal from Liferay 6.2 to 7. Everything has been upgraded except session time out feature which we have customized in Liferay 6.2. In 6.2 we have customized session.js & notice.js files for achieving our goal. But in Liferay 7 it seems that customization of such js is not a straight forward thing. I followed your blog & tried to extend com.liferay.frontend.js.web OOB osgi bundle. For testing purpose I did a minor text change inside var SessionDisplay = A.Component.create() method of session.js file. code snippet is below. instance._warningText = Liferay.Language.get('due-to-inactivity-your-session-will-expire') + '-custom'; instance._warningText = Lang.sub( instance._warningText, [ '<span class="countdown-timer">{0}</span>', host.get('sessionLength') / 60000, '<a class="alert-link" href="#">' + Liferay.Language.get('extend') + '</a>' ] );after this my "-custom" text is appearing with the message but timer/extend functionality is breaking. I am getting below error in console00:27:23,285 WARN [http-nio-8080-exec-4][code_jsp:181] {code="500", msg="", uri=/o/frontend-js-web/liferay/available_languages.jsp}javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:315) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)This file(available_languages.jsp) is also throwing 500 error in browserhttp://localhost:8080/o/frontend-js-web/liferay/available_languages.jsp?browserId=other&themeId=mytolltheme_WAR_mytolltheme&colorSchemeId=01&minifierType=js&languageId=en_US&b=7010&t=1493338110858I checked the final jar which I am keeping inside osgi\marketplace\override & found that it already contains available_languages.jsp inside. Can you please help me out on this.Thanks in advance.Regards,Lalit Please sign in to reply. Reply as... Cancel
saravanan muniraj 5 Years Ago Simple and useful .After following your , the changes were not reflected on the page.So I upgraded to patch liferay-fix-pack-de-12-7010.zip to see the changesthanks Please sign in to reply. Reply as... Cancel
(You) 5 Years Ago [...] Nisha Rani: I need to add and update a method in AssetCategoryAdminPortlet.java class. Is it possible to do? No. if yes, please guide me how to do it in Liferay DXP. Well, there is the "module... [...] Read More Please sign in to reply. Reply as... Cancel
Sean Megeath 5 Years Ago My project has dependencies on Liferay libraries, but all that seems available are CE libraries, which aren't the jars we get in our fixpacks. Is there a way to get the EE version of these libraries? Please sign in to reply. Reply as... Cancel David H Nebinger Sean Megeath 5 Years Ago As a DXP customer you have access to the download area where you should be able to get the development artifacts. Please sign in to reply. Reply as... Cancel Sean Megeath David H Nebinger 5 Years Ago I've got the ability to download the release bundled with Tomcat, the source, OSGI Dependencies, and Dependencies, but none of these seems to have the full set of jar files I'm looking for. Should I be going through the lkpgs? Please sign in to reply. Reply as... Cancel
David H Nebinger Sean Megeath 5 Years Ago As a DXP customer you have access to the download area where you should be able to get the development artifacts. Please sign in to reply. Reply as... Cancel Sean Megeath David H Nebinger 5 Years Ago I've got the ability to download the release bundled with Tomcat, the source, OSGI Dependencies, and Dependencies, but none of these seems to have the full set of jar files I'm looking for. Should I be going through the lkpgs? Please sign in to reply. Reply as... Cancel
Sean Megeath David H Nebinger 5 Years Ago I've got the ability to download the release bundled with Tomcat, the source, OSGI Dependencies, and Dependencies, but none of these seems to have the full set of jar files I'm looking for. Should I be going through the lkpgs? Please sign in to reply. Reply as... Cancel
(You) 5 Years Ago [...] From a new Liferay developer perspective, the main roadblack you might encounter with them is when you want to consume API exposed by one of those private modules, or if you want to extend one of... [...] Read More Please sign in to reply. Reply as... Cancel
Jay Mehta 5 Years Ago @David: Thanks for wonderful bug. I have extended "portal-workflow-task-web" module and its works fine. Now, I need to modify some services "portal-workflow-kaleo-service" module. So can we extend service module? Any help will be really appreciated. Please sign in to reply. Reply as... Cancel Jay Mehta Jay Mehta 5 Years Ago Really sorry for typo. @David: Thanks for wonderful blog. I have extended "portal-workflow-task-web" module and its works fine. Now, I need to modify some methods of "portal-workflow-kaleo-service" module. So can we extend service module? Any help will be really appreciated. Please sign in to reply. Reply as... Cancel David H Nebinger Jay Mehta 5 Years Ago For a service extension, use a service wrapper. It is an approved and supported extension point. Please sign in to reply. Reply as... Cancel Jay Mehta David H Nebinger 5 Years Ago OK. Thanks for the help. Please sign in to reply. Reply as... Cancel
Jay Mehta Jay Mehta 5 Years Ago Really sorry for typo. @David: Thanks for wonderful blog. I have extended "portal-workflow-task-web" module and its works fine. Now, I need to modify some methods of "portal-workflow-kaleo-service" module. So can we extend service module? Any help will be really appreciated. Please sign in to reply. Reply as... Cancel David H Nebinger Jay Mehta 5 Years Ago For a service extension, use a service wrapper. It is an approved and supported extension point. Please sign in to reply. Reply as... Cancel Jay Mehta David H Nebinger 5 Years Ago OK. Thanks for the help. Please sign in to reply. Reply as... Cancel
David H Nebinger Jay Mehta 5 Years Ago For a service extension, use a service wrapper. It is an approved and supported extension point. Please sign in to reply. Reply as... Cancel Jay Mehta David H Nebinger 5 Years Ago OK. Thanks for the help. Please sign in to reply. Reply as... Cancel
Jay Mehta David H Nebinger 5 Years Ago OK. Thanks for the help. Please sign in to reply. Reply as... Cancel
David H Nebinger 5 Years Ago For a service extension, use a service wrapper as that is an approved extension point. Please sign in to reply. Reply as... Cancel
Dámaris Suárez Corrales 2 Years Ago - Edited Dear David, thanks a lot for your post, it was very helpful!I followed your instructions to overwrite layout-admin-web (the class LayoutAssetRendererFactory), more specifically, to add setLinkable(true); to its constructor.However, when building I get errors like:error : Missing super class for DS annotations: com.liferay.application.list.BasePanelApp from com.liferay.layout.admin.web.internal.application.list.GroupPagesPanelAppAny help would be appreciated, thanks! Please sign in to reply. Reply as... Cancel