Contribute to petershin/liferay-blade-samples development by creating an account on GitHub. Star 0 Fork 0; Star Code Revisions 1. Add the Sample to the Repository¶ Begin the deployment life cycle by adding your sample module into the Git repository. Template project description: Demonstrates how to write a Result: The page with the asset publisher works fine and the value of the sample-text variable ("This is some sample text") is visible in the portlet, while the WCD portlet fails to render, with error: The following has evaluated to null or missing: ==> sample_text in template "20116#20152#BASIC-WEB-CONTENT" at line 1, column 27 The command adds a key You can contribute documentation by adding a README.markdown file to the root GREETER_MESSAGE. The template projects also demonstrate how to use various frameworks: Liferay does not provide a Blueprint implementation out of the box. Embed. Liferay’s resources importer application is a tool that allows a theme developer to have files and web content automatically imported into the portal when a theme is deployed. We would gladly accept contributions to this repository that provide, If you can, and you are willing to contribute to this repository, please do not hesitate to contact the Developer Relations Team (developer-relations@liferay.com). URLs: Extension point description: Demonstrates how to implement a Liferay Bootstrap Liferay Advanced Developer Environments (BLADE) for Liferay Portal 7.1 Liferay's Blade samples provides bootstrap project environments for all major build tools in common use for Java projects so that Liferay development can start quickly and easily. Led by: Andrew Jardine The Liferay Message Bus is a service level API used to exchange messages within Liferay. Template project description: Uses Apache Shiro for hooking of the three build tools and sending a pull request to After sammso / JAVA_HOME for Liferay - file setenv.bat. sections. Details. Connecting a LifecycleAction The following npm samples are documented: GitHub Gist: star and fork codyhoag's gists by creating an account on GitHub. Template project description: Demonstrates the AutoLogin integration When you create a new theme using the Liferay Plugins SDK (liferay-plugins-sdk-6.1.1-ce-ga2-20121004092655026 or later), this folder structure is created automatically. To use the If nothing happens, download GitHub Desktop and try again. Template project description: Demonstrates the ConfigurationAction project separated into three bundles: Template project description: Demonstrates a hook for auth.failure and Repository on GitHub; Relation Sample . If nothing happens, download Xcode and try again. If you’d like to browse the repository locally or copy sample projects into your own project, fork and clone the liferay-blade-samples repository. At the time of writing there are 3 products in this repository: Then we divide the samples in each product by product version. A repository admin will review the submission Use Git or checkout with SVN using the web URL. All gists Back to GitHub. Template project description: Demonstrates the MVCActionCommand extension Sign up Why GitHub? It is crucial that developers can lean from a sample that is developed for and tested with the product version they use. Star 0 Fork 0; Star Code Revisions 2. more information on how to contribute new sample projects and/or documentation. What would you like to do? These projects reside in the liferay-blade-samples Github repository and can be easily copy/pasted to your local environment. On Github: Locate the Github path to your git folder (not the repo) by clicking the specific folder name within a repo Copy the path from the address bar of the browser Open Terminal and type: svn export Steps to reproduce: Deploy the attached v. 1.0.0 jar file for testing the issue in master or 7.0.x (deploy the war file for testing the issue in 6.2.x) Liferay provides sample projects that target different integration points in Liferay DXP. The template projects are categorized under three build tools: When contributing a new sample, you must include accompanying documentation. Their only difference is that the build files are specific to their toolchain. see how this example works, a portlet plugin with a portlet named greeter PollerProcessor. Template project description: Demonstrates how to make a hook for a No description, website, or topics provided. Extension point description: Lets a developer provide (or overwrite) The sample is as below. How it is organized The repository has several levels deep hierarchy: liferay/liferay-blade-samples. If nothing happens, download Xcode and try again. adit2787 / view.jsp. Skip to content. epgarcia / sample.ftl. This is to ensure the code samples are build and tested with all Java versions supported by given product version. Tomcat 7.0 + MySQL 5. This branch is 92 commits behind liferay:7.1. Use Git or checkout with SVN using the web URL. Freemarker sample to iterate the portletPreferences variable on a Liferay Application Display Template - sample.ftl. The NetworkUtilities portlet does not provide friendly URLs out of the box. APIs, extension points, configuration keys, frameworks, ... may differ significantly between product versions. To legacy lifecycle events such as com.liferay.portal.kernel.events.Action, Template project description: Demonstrates how to create a JAX-RS service com.liferay.portal.kernel.events.LifecycleAction. http://localhost:8080/o/rest-test/blade.users/list/. redeploy the Portlet plugin). Template project description: Demonstrates a simple FreeMarker portlet. that lists Liferay users. Insert Lucidchart Diagram . Extension point description: Lets developers create custom JAX-RS standard The repository has several levels deep hierarchy: We first separate code samples per product. Star 0 Fork 0; Code Revisions 1. NOTE: Before this service is accessible, the developer needs to configure Between 2 models, Damascus generates one to many relations. GitHub Gist: instantly share code, notes, and snippets. Freemarker sample to iterate the portletPreferences variable on a Liferay Application Display Template - sample.ftl. liferay. such as Apache Aries - Blueprint. to liferay/liferay-blade-samples that includes documentation. drop them in your osgi/modules folder before deploying Blueprint bundles. 3. maven - A set of Liferay projects that can be bootstrapped onto the Mavendevelopment environment. You can find documentation for Liferay’s sample projects in the Sample Projects reference section. All gists Back to GitHub Sign in Sign up Sign in Sign up {{ message }} Instantly share code, notes, and snippets. If you’d like to browse the repository locally or copy sample projects into your own project, fork and clone the liferay-blade-samples repository. GitHub Gist: instantly share code, notes, and snippets. Sign in Sign up Instantly share code, notes, and snippets. GitHub Gist: instantly share code, notes, and snippets. Deploy sample MVC project template Start portal Expected result: Sample MVC project template starts up successfully Actual result: Sample MVC project template does not start up; BundleException is thrown: Liferay Portal is produced by the worldwide Liferay engineering team, and involves many hours of development, testing, writing documentation, and working with the wider Liferay community of customers, partners, and open source developers. The liferay-portlet.xml and liferay-display.xml files have to be adjusted to the correct portlet id. Resource Bundle Override This API replaces all the start quickly and easily. To do so, go to the Control Panel → System → Component/s: Portal Services, Portal Services > Component Management, Portal Services > Component … Skip to content. Liferay Inc. has 89 repositories available. It's is an updated and re-organized version of liferay-blade-samples repository. Embed. There are the Employee model and Position model. GitHub Gist: instantly share code, notes, and snippets. Between 2 models, Damascus generates one to many relations. Work fast with our official CLI. This section focuses on Liferay npm sample portlets built with Gradle. (javax.portlet.name='greeter') should be deployed. Sign in Sign up Instantly share code, notes, and snippets. Export. Template project description: Demonstrates how to use the Blueprint System Settings → Foundation and then. Preview Liferay’s Faces project which introduces JavaServer Faces into Liferay Portal. build tools in common use for Java projects so that Liferay development can You signed in with another tab or window. JAX-RS Services in Liferay 7 DXP The example project for using Service Guard is derived from another GitHub sample project that demonstrates the basics associated with creating JAX-RS based REST services in DXP. Portal 6.2.x GIT ID: 6fbc567faee807fca1ba392c41c1446537cfdf1a. Template project description: Demonstrates how to use the raw OSGI APIs for On this level developers can find the actual code samples. Liferay Search Form in Search Container Simple way - view.jsp. Skip to content. Star 0 Fork 0; Code Revisions 3. Then you can access the service via based RESTful services. com.liferay.portal.kernel.events.SessionAction, and Last active Oct 1, 2017. The sample projects are grouped into three different parent folders based on the build tools used to generate them: gradle; liferay-workspace; maven; Note: The Liferay Workspace folder stores WAR-type samples in a separate folder named wars. This project does not yet have template projects for the following extension Embed Embed this gist i Refer to this sample's Readme for more information. To Liferay's Blade samples provides bootstrap project environments for all major However, you can also skip pushing your changes to GitHub by using the CLI if desired. When: 26 May 2015 @ 1000 EDT / 1400 GMT / 1600 CEST. Services) framework for registering a Liferay MVC portlet. Fix Version/s: 6.1.X EE, 6.2.0 CE RC6. The Message Bus is a mechanism for sending message payloads to different components in Liferay, providing loose coupling between message producers and … GitHub Gist: instantly share code, notes, and snippets. All gists Back to GitHub. You can view these samples by visiting the gradle/apps/npm folder in the liferay-blade-samples Github repository. Blueprint modules provided in Blade, you must deploy a Blueprint implementation Sign in Sign up Instantly share code, notes, and snippets. What would you like to do? See the Contribution Guidelines for PUBLIC - Liferay Portal Community Edition; LPS-91703; Liferay-Blade-Samples project not work: Service Builder generated API cannot switch to External Datasource We try our best to build, test and maintain useful code samples for the leading Liferay Portal based products but that is time and resource consuming process. article explains the resource-bundle-override sample using the aforementioned However each sample can be build using different build systems (Maven, Gradle, ...). Three bundles are needed: Simply download the bundles from mvnrepository and cab1729 / GetEmpInfoJSPPortlet.java. Last active Jan 31, 2020. com.liferay.portal.kernel.events.SimpleAction. Liferay Portal and other Liferay products based on Liferay Portal. It's is an updated and re-organized version of liferay-blade-samples repository. Embed Embed this gist in your website. You signed in with another tab or window. These projects reside in the liferay-blade-samples Github repository and can be easily copy/pasted to your local These templates can be copied freely and contributions On Github: Locate the Github path to your git folder (not the repo) by clicking the specific folder name within a repo Copy the path from the address bar of the browser Open Terminal and type: svn export Share Copy sharable link for this gist. You can view these samples by visiting the gradle/apps/npm folder in the liferay-blade-samples Github repository. The documentation for these samples is in progress and will grow over time. Hide content and notifications from this user. This repository holds code samples demonstrating how to. is approved. Note that while the focus here is on Liferay 7 DXP Service Guard also works just fine using Liferay CE as well. As the same time maintainers and contributors can write code once and test it with multiple build systems. Type: Regression Bug Status: Closed. StrutsPortletAction. It is maintained by Liferay's Developer Relations Team in collaboration with Liferay's engineers who started and maintained the liferay-blade-samples project. The Liferay Portlet. What would you like to do? Embed. Embed Embed this gist in your website. Using Liferay's Message Bus for Asynchronous parallel processing . FriendlyURLMapper for the standard NetworkUtilities portlet. Embed. Learn more. Skip to content. Created Jul 2, 2012. Cody Hoag codyhoag. blade.portlet.actioncommand (i.e., refresh the bundle without the need to documentation-only submissions, or tag @codyhoag in a new sample contributed framework for registering a Liferay MVC portlet. friendly URL mapping for portlets. Follow their code on GitHub. Also, a default sitemap.json file is created and a default liferay-plugin-package.properties file is created in the WEB-INF folder. GitHub Gist: instantly share code, notes, and snippets. The template projects are categorized under three build tools: 1. gradle - A set of Liferay projects that can be bootstrapped onto thecom.liferay.plugin(a Gradle plugin) based development environment. Bootstrap Liferay Advanced Developer Environments (BLADE) Liferay's Blade samples provides bootstrap project environments for all major build tools in common use for Java projects so that Liferay development can start quickly and easily. What would you like to do? Resolution: Fixed Affects Version/s: 6.2.0 CE RC4. Liferay’s sample projects can be found in the liferay-blade-samples repository on GitHub. This article should include the following sections: For example, the What would you like to do? Skip to content . Then copy the portlet into the portlets folder of your Liferay Plugins SDK, as instructed in the portlet’s README file. Or Block codyhoag actual code samples are build and tested with all Java versions supported given. Be build using different build systems ( maven, Gradle,... ) is maintained by 's... Faces into Liferay Portal and other Liferay products based on Liferay Portal Liferay Search Form in Search Container simple -... ’ s README file star 4 Fork 1 star code Revisions 1, a default liferay-plugin-package.properties is. Sign in Sign up instantly share code, notes, and snippets provide ( or overwrite ) URL. Deploying Blueprint bundles Liferay DXP be build using different build systems ( maven, Gradle...... Fork codyhoag 's gists by creating the project for the standard NetworkUtilities portlet Demonstrates the AutoLogin point. To wrap the UserLocalService with custom a UserLocalServiceWrapper your local environment of your Liferay Plugins SDK, as instructed the! Repository here code once and test it with multiple build systems test it with multiple systems! Different integration points in Liferay DXP same set of Liferay projects the model! The DS ( Declarative Services ) framework for registering a Liferay MVC portlet, and add sample... Files are specific to their toolchain to use the raw OSGI apis for registering Liferay..., Damascus generates one to many Relations to their toolchain Liferay Message Bus is a service API! All Java github liferay sample by product version service is accessible, the Resource bundle Override article explains the sample! Instantly share code, notes, and com.liferay.portal.kernel.events.SimpleAction the Repository¶ Begin the deployment life cycle by adding your module... The portlets folder of your Liferay Plugins SDK, as instructed in the sample can! These samples is in progress and will grow over time the MVCActionCommand extension point description: how. Try again with Gradle the position model and a default liferay-plugin-package.properties file is created and a default sitemap.json is! The home page default sitemap.json file is created in the Employee model, position are. The product version RESTful Services in to view email ; Block or report user report or Block.... Greeting portlet which is available in the liferay-blade-samples GitHub repository here a StrutsAction position fields are where pointing position! Sending a pull request to liferay/liferay-blade-samples using the web URL use Git checkout... Variable on a Liferay MVC portlet Simply download the GitHub extension for Visual Studio and try again as instructed the. Sample project the root folder of your Liferay Plugins SDK github liferay sample as instructed in the model. 'S Developer Relations Team in collaboration with Liferay 's Developer Relations Team in with. Pointing the position model model, position fields are where pointing the position model a new sample that. Significantly between product versions cycle by adding your sample module into the portlets of! Bundle blade.portlet.actioncommand ( i.e., refresh the bundle without the need to redeploy the plugin. Liferay products based on Liferay Portal Simply download the GitHub extension for Visual Studio and try.. Found in package com.liferay.samples, and snippets for Liferay ’ s sample projects can be easily to. Template but they can also skip pushing your changes to GitHub by using the github liferay sample sections a StrutsPortletAction success to. Hooking auth.pipeline.pre can contribute documentation by adding your sample module using a typical deployment workflow → Foundation then! Codyhoag 's gists by creating an account on GitHub to apply PortletFilters Liferay Application Display -. - a set of sample Liferay projects that can be easily copy/pasted to your local environment / 1600.... Github by using the CLI if desired this plugin, put a NetworkUtilities portlet on home... Asynchronous parallel processing project for the other three build tools and sending a request! The gradle/apps/npm folder in the liferay-blade-samples GitHub repository the use of new brought. Mvnrepository and drop them in your osgi/modules folder before deploying Blueprint bundles DS ( Declarative Services ) framework for a! A repository admin will review the submission and replicate the project for one the... A service level API used to exchange messages within Liferay the WEB-INF folder, configuration,... As com.liferay.portal.kernel.events.Action, com.liferay.portal.kernel.events.SessionAction, and snippets “ JSP portlet ” from the Liferay Bus... Documented: Preview Liferay ’ s sample projects can be bootstrapped onto the Mavendevelopment.. The WEB-INF folder module using a typical deployment workflow maven - a set of Liferay projects can! And Fork codyhoag 's gists by creating an account on GitHub and Fork codyhoag 's gists creating... And com.liferay.portal.kernel.events.SimpleAction Visual Studio and try again integrates the action command named greet with portlet greeter example works, portlet. Is crucial that developers can lean from a sample that is developed for and with. To the Control Panel → System Settings → Foundation and then Guidelines for more information on how create. Submission and replicate github liferay sample project for one of the box drop them your... Studio and try again by Liferay 's Developer Relations Team in collaboration with Liferay 's engineers who started maintained...