Blogs

RSS

Entries with Blog Stream Featured .

RSS
thumbnail

Originally published on Liferay Community Liferay evolved from being a single-product company to a much broader organization. Most of the code we write every day is open source and we continue to launch new projects. As these projects are getting bigger, the communities behind them are gaining momentum as well. Therefore, we needed people that would not only hear, but...

25388
thumbnail

The one thing I never understood was why the UI behind the /api/jsonws is publicly viewable. I mean, there's lots of arguments for it to be secured: Exposing all of your web service APIs exposes attack vectors to hackers. Security by obscurity is often one of the best and easiest form of security that you can have1. Just because users may have permission to do...

20899
thumbnail

Every now and then, there comes a time in a CMS developer's life when the sin of taking default settings for granted takes its toll.    There. I phrased that carefully so it would make a list of quotable quotes some day. Now, let me get to it.   Like many developers out there, I am a huge fan of content-driven...

12928
thumbnail

Introduction Today I ran into someone having issues with ServiceBuilder and the creation of UpgradeProcess implementations. The doco is a little bit confusing, so I thought I'd do a quick blog post sharing how the pieces fit... Normal UpgradeProcess Implementations As a reminder, you register UpgradeProcess implementations to support upgrading from, say, 1.0.0 to 2.0.0,...

21903
thumbnail

Historically there have been a number of extension points in Liferay that enable developers to hook into portal events and add their own custom/additional behaviour. In Liferay DXP this is still the case and the list below shows when certain events are fired and in which order. You’ll notice that a number of events are mentioned multiple times because they’re shown in the context of a...

20139
thumbnail

In this tutorial, I am going to talk about how to utilize promise object to access web service in Liferay DXP.   Before we get into more detail, please take a note that the version Liferay I am using is Liferay DXP DE-15, since there's big soy development experience improvement in this patch.   Previously...

18532
thumbnail

Hello all,   We are pleased to announce that we have pushed a new release of Liferay IDE 3.1 to the milestones updatesite. You can install the new release here as usual:   http://releases.liferay.com/tools/ide/latest/milestone   For full list of the bundles that includes Eclipse Neon 3 JavaEE package with Liferay IDE 3.1 M3 pre-installed: ...

16971
thumbnail

Introduction When it comes to Liferay performance tuning, there is one golden rule: The more you offload from the application server, the better your performance will be. This applies to all aspects of Liferay. Using Solr/Elastic is always better than using the embedded Lucene. While PDFBox works, you get better performance by offloading that work to ImageMagick...

24443
thumbnail

So I have a blog I created a long time ago dealing w/ Liferay and SSL. The foundation of that blog post was my Fronting Liferay Tomcat with Apache HTTPd post and added terminating SSL at HTTPd and configuring the Liferay instance running under Tomcat to use HTTPS for all of the communication. If you tear into the second post, you'll find that I was using the AJP connector to...

22798
thumbnail

In case you aren't aware, Liferay 7 CE and Liferay DXP default to using Hikari CP for the connection pools. Why?  Well here's a pretty good reason: Hikari just kicks the pants of any other connection pool implementation. So Liferay is using Hikari CP, and you should too. I know what you're thinking.  It's something along the lines of: But Dave, we're...

41107
thumbnail

From the very beginning, we knew that great documentation was crucial to successfully sharing WeDeploy with the world. Since then, we have been exploring new ways to take the WeDeploy learning experience to the next level, which is why we are excited to announce a brand new sibling in the documentation family: Tutorials.   Which topics are covered? ...

15667
thumbnail

Overview JCP & JSRs JCP Governance JCP Membership JSR Implementations Benefits Participating in Expert Groups Participating in Adopt-a-JSR Benefits to Using Java Standards Longevity Popularity & Familiarity Backward Compatibility Based on Innovation Community...

21307
thumbnail

Liferay DXP本身帶有一個Carousel的範本,但是這個範本使用的是舊的AUI的範本。現在因為Liferay DXP是基於Lexicon和Bootstrap 3的,創建一個響應式的圖片播放非常簡單。   基本需求: 圖片播放基本功能 螢幕尺寸變化後,圖片不變型 修改圖片不需要修改代碼 不需要部署外掛程式 可複用   分析: 可以利用Bootstrap 3的carousel外掛程式實現圖片播放基本功能(https://www.w3schools.com/bootstrap/bootstrap_carousel.asp) 可以利用Lexicon的Image Aspect...

16052
thumbnail

Liferay DXP ships with a default carousel Application Display Template in global site. But this one is an old fashion AUI one that has been used often before DXP. Since Liferay DXP support Lexicon, I am going to show you how to utilize Lexicon and Bootstrap to create a true mobile responsive carousel in web content. It's remarkably easy with Lexicon and Bootstrap to create...

26128
thumbnail

For the last few months as I've been working with Liferay 7 CE / Liferay DXP, I've been a little stymied trying to manage the complexities of the new OSGi universe. In Liferay 6.x, for example, an OOTB demo setup of Liferay comes with like 5 or 6 war files.  And when the portal starts up, they all start up. But with Liferay 7 CE and Liferay DXP, there are a lot of bundles...

23907
thumbnail

  Mobile First with Liferay Screens – part 4 Webinar: Mobile Strategy: Optimizing for the Connected Customer   Mobile apps have become an integral part of our communication with customers and personnel. After all, the best way of reaching people is on the devices they use the most: the smartphone and the tablet. With Liferay Screens, a mobile app is also...

18657
thumbnail

For those of you deploying Liferay DXP to WebLogic, you will need to add an override property to your portal-ext.properties file to allow the WebLogic JAXB implementation to peer inside the OSGi environment to create proxy instances. I know, it's a mouthful, but it's all pretty darn technical. You'll know if you need this if you start seeing exceptions like: ...

20892
thumbnail

Introduction Liferay Portal has been nominated for the SourceForge Project of the Month for April! Nominees are selected from projects that have recently been a Project of the Week, have a high total number of downloads in the previous month, are generally well-established and have positive user feedback. Should Liferay be elected as the Project of the Month, we will be...

19982
thumbnail

Introduction So I've been working on some new Blade sample projects, and one of those is the Spring MVC portlet example. As pointed to in the Liferay documentation for Spring MVC portlets, these guys need to be built as war files, and the Liferay Workspace will actually help you get this work done. I'm going to share things that I learned while creating the sample which has...

30368
thumbnail

Okay, this is probably going to be one of my shortest blog posts, but it's important. Some releases of Liferay have code to "infer" a portlet name if it is not specified in the component properties.  This actually conflicts with other pieces of code that also try to "infer" what the portlet name is. The problem is that they sometimes have different requirements; in one...

29554