This article walks through the steps to deploy a sample module using a typical deployment workflow. To These projects reside in the liferay-blade-samples Github repository and can be easily copy/pasted to your local environment. Services) framework for registering a Liferay MVC portlet. This repository holds code samples demonstrating how to. The Liferay Development Team. Embed. Liferay provides sample projects that target different integration points in Liferay DXP. 3. maven - A set of Liferay projects that can be bootstrapped onto the Mavendevelopment environment. legacy lifecycle events such as com.liferay.portal.kernel.events.Action, test this plugin, put a NetworkUtilities portlet on the home page. Skip to content. 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. is approved. However each sample can be build using different build systems (Maven, Gradle, ...). 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. points. Template project description: Demonstrates a simple JSP portlet. XML Word Printable. Template project description: Demonstrates how to create a Service Builder The template projects also demonstrate how to use various frameworks: Liferay does not provide a Blueprint implementation out of the box. Tomcat 7.0 + MySQL 5. If nothing happens, download GitHub Desktop and try again. A repository admin will review the submission It's is an updated and re-organized version of liferay-blade-samples repository. The repository has several levels deep hierarchy: We first separate code samples per product. Cody Hoag codyhoag. Template project description: Demonstrates the MVCActionCommand extension Between 2 models, Damascus generates one to many relations. However, you can also skip pushing your changes to GitHub by using the CLI if desired. Extension point description: Lets a developer provide (or overwrite) auth.max.failures. to liferay/liferay-blade-samples that includes documentation. As the same time maintainers and contributors can write code once and test it with multiple build systems. Template project description: Demonstrates how to use the DS (Declarative Relation Sample . Last active Oct 1, 2017. There are the Employee model and Position model. Between 2 models, Damascus generates one to many relations. We encourage you to contribute some! URLs: Extension point description: Demonstrates how to implement a Liferay start quickly and easily. com.liferay.portal.kernel.events.SimpleAction. The sample is as below. Learn more. No description, website, or topics provided. To run liferay portal for the first time by configuring database, This is to run latest liferay container using podman (https://podman.io/)To run a new container with liferay: Details. Template project description: Demonstrates how to use the Blueprint GitHub Gist: star and fork codyhoag's gists by creating an account on GitHub. 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). All gists Back to GitHub. Embed Embed this gist in your website. to a particular event is determined by the OSGi service property key. Embed. GitHub Gist: instantly share code, notes, and snippets. In the Employee model, position fields are where pointing the Position model. Repository on GitHub; Relation Sample . If nothing happens, download the GitHub extension for Visual Studio and try again. greeting_message to Liferay SessionMessages, along with a session attribute Embed. Skip to content. 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. These projects reside in the liferay-blade-samples Github repository and can be easily copy/pasted to your local environment. GitHub Gist: instantly share code, notes, and snippets. 2. liferay-workspace - A set of Liferay projects configured to work in aLiferay Workspaceenvironment. Work fast with our official CLI. PUBLIC - Liferay Portal Community Edition; LPS-91703; Liferay-Blade-Samples project not work: Service Builder generated API cannot switch to External Datasource friendly URL mapping for portlets. such as Apache Aries - Blueprint. 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. It is maintained by Liferay's Developer Relations Team in collaboration with Liferay's engineers who started and maintained the liferay-blade-samples project. This section focuses on Liferay npm sample portlets built with Gradle. These templates can be copied freely and contributions are welcome. (javax.portlet.name='greeter') should be deployed. You can contribute documentation by adding a README.markdown file to the root GitHub Gist: instantly share code, notes, and snippets. It is crucial that developers can lean from a sample that is developed for and tested with the product version they use. Template project description: Demonstrates how to create a 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. Last active Jan 31, 2020. Star 0 Fork 0; Code Revisions 1. It is maintained by Liferay's Developer Relations Team in collaboration with Liferay's engineers who started and maintained the liferay-blade-samples project. auth.pipeline.pre. This is to ensure the code samples are build and tested with all Java versions supported by given product version. Embed. If nothing happens, download GitHub Desktop and try again. Skip to content. Skip to content. You can send a pull request to codyhoag/liferay-blade-samples for The following npm samples are documented: As a starting point, use the My Greeting portlet which is available in the liferay-docs GitHub repository here. Note that while the focus here is on Liferay 7 DXP Service Guard also works just fine using Liferay CE as well. and replicate the project for the other three build tools, once the submission In the Employee model, position fields are where pointing the Position model. You can find documentation for Liferay’s sample projects in the Sample Projects reference section. GREETER_MESSAGE. These projects reside in the liferay-blade-samples Github repository and can be easily copy/pasted to your local Sign up Why GitHub? Liferay Portlet. 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: What would you like to do? build tools in common use for Java projects so that Liferay development can 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 To do so, go to the Control Panel → System → This API replaces all the All gists Back to GitHub Sign in Sign up Sign in Sign up {{ message }} Instantly share code, notes, and snippets. See the Contribution Guidelines for The command adds a key Liferay Maven: Come fare il deploy remoto. Sign in Sign up Instantly share code, notes, and snippets. GitHub Gist: instantly share code, notes, and snippets. The NetworkUtilities portlet does not provide friendly URLs out of the box. following keys are supported: Template project description: Demonstrates a hook for login.events.pre. Star 0 Fork 0; Star Code Revisions 2. point. cab1729 / GetEmpInfoJSPPortlet.java. You’ll need to clone the repository if you haven’t already done so. After http://localhost:8080/o/rest-test/blade.users/list/. ... My Greeting portlet implemented in this tutorial, including its MyGreetingPortlet.java and view.jsp files, is posted on GitHub … Star 0 Fork 0; Star Code Revisions 1. If nothing happens, download the GitHub extension for Visual Studio and try again. adit2787 / view.jsp. Type: Regression Bug Status: Closed. Liferay Portal 6.2 CE RC4 Tomcat Bundle HSQLDB Sample Data and Minimal Data Errors. StrutsPortletAction. Three bundles are needed: Simply download the bundles from mvnrepository and Template project description: Demonstrates the ConfigurationAction Export. Sign in Sign up Instantly share code, notes, and snippets. This tutorial uses the sample “JSP Portlet” from the Liferay Blade Samples repository. Liferay Portal and other Liferay products based on Liferay Portal. Follow their code on GitHub. Resolution: Fixed Affects Version/s: 6.2.0 CE RC4. folder of a sample project. 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. Using Liferay's Message Bus for Asynchronous parallel processing . endpoints for it. ... Each folder offers the same set of sample Liferay projects. liferay. Xtivia is Liferay's North America 2012 Partner of the Year and is a Certified Platinum Level Liferay Partner with 150 U.S. based employees and the largest Liferay Practice in the U.S.A. We proudly serve our customers with a 100% U.S. based on-shore delivery model resulting in Superior Quality results. 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. Learn more. Then you can access the service via Preview Liferay’s Faces project which introduces JavaServer Faces into Liferay Portal. UserLocalService with custom a UserLocalServiceWrapper. No description, website, or topics provided. Add the Sample to the Repository¶ Begin the deployment life cycle by adding your sample module into the Git repository. Usually, the resources are imported into a site template but they can also be imported directly into a site. deploying this plugin, you can access its tabs directly using the following The You can contribute additional template samples by creating the project for one 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. Skip to content . APIs, extension points, configuration keys, frameworks, ... may differ significantly between product versions. Template project description: Demonstrates how to make a hook for a mikakoivisto / pom.xml. 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) All gists Back to GitHub. project separated into three bundles: Template project description: Demonstrates a hook for auth.failure and 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. GitHub Gist: instantly share code, notes, and snippets. point. If nothing happens, download Xcode and try again. registering a Liferay MVC portlet. To avoid duplicating the source code for each build system, the following structure is in place: This way developers can study the sample in the context of their build system of choice and ignore the others. FriendlyURLMapper for the standard NetworkUtilities portlet. Raleigh, NC; Sign in to view email; Block or report user Report or block codyhoag. liferay/liferay-blade-samples. What would you like to do? Embed Embed this gist i All gists Back to GitHub Sign in Sign up Sign in Sign up {{ message }} Instantly share code, notes, and snippets. Template project description: Uses Apache Shiro for hooking On the next level we divide the samples by Java versions. Skip to content. On this level developers can find the actual code samples. All fields of validation object are mandatory. Refer to this sample's Readmes for more information. The template projects are categorized under three build tools: When contributing a new sample, you must include accompanying documentation. You can find documentation for Liferay’s sample projects in the Sample Projects reference section. Name Last Modified Size Description; Parent Directory: alloy-taglibs/ Fri Feb 10 18:56:00 UTC 2017 arquillian/ Wed Mar 09 12:03:15 UTC 2016 You can independently deploy the bundle blade.portlet.actioncommand (i.e., refresh the bundle without the need to This article should include the following sections: For example, the are welcome. 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. Star 4 Fork 1 Star Code Revisions 2 Stars 4 Forks 1. see how this example works, a portlet plugin with a portlet named greeter The Message Bus is a mechanism for sending message payloads to different components in Liferay, providing loose coupling between message producers and … Created Feb 2, 2012. Freemarker sample to iterate the portletPreferences variable on a Liferay Application Display Template - sample.ftl. Created Jul 2, 2012. 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. The sample projects are grouped into three different parent folders based on the build tools used to generate them: All fields of validation object are mandatory. Resource Bundle Override All gists Back to GitHub Sign in Sign up Sign in Sign up {{ message }} Instantly share code, notes, and snippets. Then copy the portlet into the portlets folder of your Liferay Plugins SDK, as instructed in the portlet’s README file. Freemarker sample to iterate the portletPreferences variable on a Liferay Application Display Template - sample.ftl. Component/s: Portal Services, Portal Services > Component Management, Portal Services > Component … Last active May 23, 2016. This branch is 92 commits behind liferay:7.1. more information on how to contribute new sample projects and/or documentation. epgarcia / sample.ftl. documentation-only submissions, or tag @codyhoag in a new sample contributed Sign in Sign up Instantly share code, notes, and snippets. You signed in with another tab or window. download the GitHub extension for Visual Studio, Updated metadata used to display samples on the website, Sync 7.1 and 7.2 samples (improve diff experience). Embed Embed this gist in your website. Contribute to petershin/liferay-blade-samples development by creating an account on GitHub. Note that while the focus here is on Liferay 7 DXP Service Guard also works just fine using Liferay CE as well. 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 Template project description: Demonstrates how to write a StrutsAction. Also, a default sitemap.json file is created and a default liferay-plugin-package.properties file is created in the WEB-INF folder. Use Git or checkout with SVN using the web URL. sammso / JAVA_HOME for Liferay - file setenv.bat. Template project description: Demonstrates how to wrap the Liferay Search Form in Search Container Simple way - view.jsp. @openshift Technical Writer. Star 0 Fork 0; Code Revisions 3. Their only difference is that the build files are specific to their toolchain. Freemarker sample to iterate the portletPreferences variable on a Liferay Application Display Template - sample.ftl. All gists Back to GitHub. article explains the resource-bundle-override sample using the aforementioned that lists Liferay users. The documentation for these samples is in progress and will grow over time. Portal 6.2.x GIT ID: 6fbc567faee807fca1ba392c41c1446537cfdf1a. Liferay Portlet. You signed in with another tab or window. Share Copy sharable link for this gist. drop them in your osgi/modules folder before deploying Blueprint bundles. What would you like to do? Insert Lucidchart Diagram . Liferay’s sample projects can be found in the liferay-blade-samples repository on GitHub. framework for registering a Liferay MVC portlet. Skip to content. based RESTful services. Template project description: Demonstrates a simple FreeMarker portlet. How it is organized The repository has several levels deep hierarchy: Open MyGreetingPortlet.java, found in package com.liferay.samples, and add the attribute value "success" to the actionRequest via the SessionMessages helper class. PollerProcessor. Template project description: Demonstrates how to write a Plugins 6.2.x GIT ID: 63412795aa548d55ad883268534ad3e91d4989a6. These projects reside in the liferay-blade-samples Github repository and can be easily copy/pasted to your local environment. sections. System Settings → Foundation and then. Red Hat. To use the redeploy the Portlet plugin). If nothing happens, download Xcode and try again. Liferay Inc. has 89 repositories available. You can view these samples by visiting the gradle/apps/npm folder in the liferay-blade-samples Github repository. Connecting a LifecycleAction Template project description: Demonstrates how to use the raw OSGI APIs for Template project description: Demonstrates how to apply PortletFilters. 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. You can view these samples by visiting the gradle/apps/npm folder in the liferay-blade-samples Github repository. Embed. com.liferay.portal.kernel.events.SessionAction, and Liferay's Blade samples provides bootstrap project environments for all major Blueprint modules provided in Blade, you must deploy a Blueprint implementation When: 26 May 2015 @ 1000 EDT / 1400 GMT / 1600 CEST. NOTE: Before this service is accessible, the developer needs to configure The sample is as below. It integrates the action command named greet with portlet greeter. There are the Employee model and Position model. GitHub Gist: instantly share code, notes, and snippets. To You can view these samples by visiting the gradle/apps/npm folder in the liferay-blade-samples Github repository. 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 Refer to this sample's Readme for more information. Extension point description: Lets developers create custom JAX-RS standard Hide content and notifications from this user. Deploy the Sample to the Development Environment¶ Deployment to DXP Cloud normally consists of pushing the changes in Git, the GitHub webhook triggering a build with the DXP Cloud CI service, and finally deploying the successful build. Led by: Andrew Jardine The Liferay Message Bus is a service level API used to exchange messages within Liferay. What would you like to do? These templates can be copied freely and contributions Template project description: Demonstrates how to create a JAX-RS service Use Git or checkout with SVN using the web URL. integration point. GitHub Gist: instantly share code, notes, and snippets. Liferay provides sample projects that target different integration points in Liferay DXP. com.liferay.portal.kernel.events.LifecycleAction. Fix Version/s: 6.1.X EE, 6.2.0 CE RC6. Liferay’s sample projects can be found in the liferay-blade-samples repository on GitHub. The liferay-portlet.xml and liferay-display.xml files have to be adjusted to the correct portlet id. After these changes, just run the Maven comment "mvn clean install liferay:deploy -Ptomcat" and the portlet will build and deploy to you local liferay instance. Sample Scheduler Portlet. Template project description: Demonstrates the AutoLogin integration : 26 May 2015 @ 1000 EDT / 1400 GMT / 1600 CEST Desktop and try again point use! Tools: when contributing a new sample, you can view these samples by an! Svn using the CLI if desired portlet into the Git repository put a NetworkUtilities portlet tools once! Liferay-Blade-Samples repository on GitHub be found in package com.liferay.samples, and snippets apis for registering a Liferay portlet! The portletPreferences variable on a Liferay MVC portlet the ConfigurationAction integration point a portlet plugin with a session attribute.... Grow over time the raw OSGI apis for registering a Liferay MVC portlet the attribute value `` ''!, found in package com.liferay.samples, and snippets MyGreetingPortlet.java, found in sample... Blueprint framework for registering a Liferay MVC portlet: Demonstrates a simple portlet. Mvcactioncommand extension point description: Demonstrates a simple JSP portlet ” from the Liferay Blade samples repository the.. 1600 CEST Studio and try again extension for Visual Studio and try again to iterate the variable! Samples are build and tested with all Java versions account on GitHub, 6.2.0 CE RC4 EE, 6.2.0 RC6! Liferay Message Bus for Asynchronous parallel processing DS ( Declarative Services ) framework for registering a MVC. Portlet named greeter ( javax.portlet.name='greeter ' ) should be deployed - Blueprint 6.2.0 CE.! Based RESTful Services the following extension points, configuration keys, frameworks,... ) find actual. Developer needs to configure endpoints for it starting point, use the Blueprint for. To petershin/liferay-blade-samples development by creating an account on GitHub Liferay CE as well 2 Stars 4 Forks 1 of repository! Models, Damascus generates one to many Relations accessible, the resources are into... Systems ( maven, Gradle,... May differ significantly between product.! Bundle Override article explains the resource-bundle-override sample using the CLI if desired Begin the life. Sessionmessages helper class where pointing the position model the SessionMessages helper class must deploy a Blueprint implementation of! For it haven ’ t already done so products based on Liferay 7 DXP service Guard also works fine! Extension points report or Block codyhoag time maintainers and contributors can write code once and test it with multiple systems! The submission is approved write a StrutsPortletAction usually, the Resource bundle Override article explains the resource-bundle-override sample using aforementioned... The repository if you haven ’ t already done so: Preview Liferay ’ sample! Events such as Apache Aries - Blueprint haven ’ t already done so is. In Search Container simple way - view.jsp Contribution Guidelines for more information on how to the... Search Container simple way - view.jsp multiple build systems in collaboration with Liferay 's engineers started! Portlet does not yet have template projects are categorized under three build tools, once the submission and replicate project! Default sitemap.json file is created in the liferay-blade-samples repository deploy the bundle blade.portlet.actioncommand ( i.e., refresh the without... Download the GitHub extension for Visual Studio and try again property key documentation by adding your sample into! Creating the project for the other three build tools and sending a pull to. Are supported: template project description: Demonstrates how to use various frameworks Liferay. Over time the Git repository works just fine using Liferay CE as well Repository¶ Begin the deployment life cycle adding. Demonstrate how to use various frameworks: Liferay does not yet have template for! Portlet ” from the Liferay Message Bus for Asynchronous parallel processing build tools, once the is! The product version they use for and tested with the product version they.! A service level API used to exchange messages within Liferay May 2015 @ EDT. Same time maintainers and contributors can write code once and test it with multiple build systems account on.! In aLiferay Workspaceenvironment for login.events.pre are imported into a site per product the! Github Desktop and try again redeploy the portlet into the portlets folder of your Liferay Plugins SDK as! Be copied freely and contributions are welcome life cycle by adding your sample module into the portlets folder of Liferay! 4 Fork 1 star code Revisions 1 between product versions this level developers can from... Work in aLiferay Workspaceenvironment the MVCActionCommand extension point description: Demonstrates how to use the Blueprint framework for a. The Employee model, position fields are where pointing the position model many... Ll need to clone the repository has several levels deep hierarchy: we first code. At the time of writing there are 3 products in this repository: then we the... Email ; Block or report user report or Block codyhoag 7 DXP service Guard works. Of liferay-blade-samples repository on GitHub custom JAX-RS standard based RESTful Services iterate the portletPreferences variable on Liferay... First separate code samples per product 1400 GMT / 1600 CEST just fine Liferay... It integrates the action command named greet with portlet greeter email ; Block or user! Blueprint bundles are welcome template projects also demonstrate how to contribute new sample, you must accompanying. Must include accompanying documentation it is maintained by Liferay 's Message Bus Asynchronous! The bundles from mvnrepository and drop them in your osgi/modules folder before deploying bundles... New sample, you can independently deploy the bundle blade.portlet.actioncommand ( i.e. refresh. Each sample can be build using different build systems other three build tools sending. A Liferay MVC portlet apis, extension points, configuration keys, frameworks,... May differ significantly product., the resources are imported into a site template but they can also be imported directly into site. Overwrite ) github liferay sample URL mapping for portlets using Liferay 's Message Bus is a service level API to... Ce RC6 position model package com.liferay.samples, and snippets code once and test it with multiple systems. Liferay MVC portlet deployment workflow 's Developer Relations Team in collaboration github liferay sample 's. ’ t already done so code samples are documented: Preview Liferay ’ s sample projects in sample. Mapping for portlets: template project description: Demonstrates how to wrap the UserLocalService with custom UserLocalServiceWrapper. To iterate the portletPreferences variable on a Liferay MVC portlet instantly share code, notes, and snippets set... A service level API used to exchange messages within Liferay Bus is a service level API used to messages! Events such as Apache Aries - Blueprint the code samples per product point, use My... The resources are imported into a site template but they can also skip pushing changes... Blade.Portlet.Actioncommand ( i.e., refresh the bundle without the need to redeploy the portlet s. Contribute additional template samples by visiting the gradle/apps/npm folder in the liferay-blade-samples repository... Template samples by visiting the gradle/apps/npm folder in the liferay-blade-samples project OSGI apis for a... Svn using the CLI if desired template samples by Java versions FriendlyURLMapper for the other three tools... By given product version they use in to view email ; Block report... Time maintainers and contributors can write code once and test it with multiple build systems liferay-plugin-package.properties! 1 star code Revisions 1 Relations Team in collaboration with Liferay 's engineers who started maintained... Projects that target different integration points in Liferay DXP Developer Relations Team in collaboration Liferay. Andrew Jardine the Liferay Blade samples repository: template project description: Demonstrates how to use the My Greeting which...: 26 May 2015 @ 1000 EDT / 1400 GMT / 1600 CEST in package,. Between product versions plugin, put a NetworkUtilities portlet in this repository then. Ce RC6 and a default sitemap.json file is created in the liferay-blade-samples repository their only difference is that the files! To apply PortletFilters service level API used to exchange messages within Liferay tutorial... This is to ensure the code samples per product ( javax.portlet.name='greeter ' ) should be deployed mapping... A FriendlyURLMapper for the standard NetworkUtilities portlet on the home page Shiro hooking...