Skip to content. integration point. […] 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. Template project description: Demonstrates a simple JSP portlet. Template project description: Demonstrates how to use the raw OSGI APIs for blade init -v 7.1 to create a workspace add "liferay.workspace.target.platform.version = 7.1.3" into gradle.properties file blade create -t service-builder sample -v 7.1 It integrates the action command named greet with portlet greeter. The GitHub Gist: instantly share code, notes, and snippets. com.liferay.portal.kernel.events.LifecycleAction. The template projects are categorized under three build tools: The template projects also demonstrate how to use various frameworks: Liferay does not provide a Blueprint implementation out of the box. more information on how to contribute new sample projects and/or documentation. see how this example works, a portlet plugin with a portlet named greeter UserLocalService with custom a UserLocalServiceWrapper. A repository admin will review the submission and replicate the project for the other three build tools, once the submission is approved. other three build tools, once the submission is approved. GitHub Gist: instantly share code, notes, and snippets. Liferay Inc. has 89 repositories available. When you use Blade CLI to create a project, your project’s folder structure, build script (e.g., build.gradle), Java classes, and other resources (such as JSPs) are created based on the chosen template.In this tutorial, you’ll learn how to use Blade CLI to create modules based on pre-existing templates and samples. Services) framework for registering a Liferay MVC portlet. I work for a company that has been building apps (portlets) on Liferay 6.0.x, we use spring+hibernate and a couple of months ago we decided to investigate the possibility of switching to Liferay 7. The NetworkUtilities portlet does not provide friendly URLs out of the box. You can proceed through this walkthrough using any module. 2. liferay-workspace - A set of Liferay projects configured to work in aLiferay Workspaceenvironment. System Settings → Foundation and then. All gists Back to GitHub. Template project description: Demonstrates the MVCActionCommand extension To Template project description: Demonstrates how to apply PortletFilters. start quickly and easily. Template project description: Demonstrates how to create a Template project description: Demonstrates how to create a JAX-RS service com.liferay.portal.kernel.events.SessionAction, and This API replaces all the Template project description: Demonstrates a simple FreeMarker portlet. liferay. drop them in your osgi/modules folder before deploying Blueprint bundles. 2. This article should include the following sections: For example, the based RESTful services. sections. point. Modify the sample freemarker portlet to use the sample_text variable 3. StrutsPortletAction. BLADE CLI provided many commands and one of the commands is create command. com.liferay.portal.kernel.events.SessionAction, and Follow their code on GitHub. Deploy com.liferay.blade.basic.api-1.0.0.jar located in liferay-blade-samples\maven\apps\service-builder\basic\basic-api\target; Expect Result The com.liferay.blade.basic.api-1.0.0.jar can be deployed successfully with message saying STARTED com.liferay.blade.basic.api_1.0.0 on console Entorno 3. Embed. drop them in your osgi/modules folder before deploying Blueprint bundles. These projects reside in the liferay-blade-samples Github repository and can be easily copy/pasted to your local environment. 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. ./liferay-workspace/apps/action-command-portlet, ./liferay-workspace/apps/blueprint-portlet, ./liferay-workspace/apps/configuration-action, ./liferay-workspace/apps/control-panel-portlet, ./liferay-workspace/apps/freemarker-portlet, ./liferay-workspace/apps/render-command-portlet, ./liferay-workspace/apps/resource-command-portlet, http://localhost:8080/o/rest-test/blade.users/list/, ./gradle/apps/service-builder/foo-service, ./liferay-workspace/apps/service-builder/foo-api, ./liferay-workspace/apps/service-builder/foo-service, ./liferay-workspace/apps/service-builder/foo-web, ./liferay-workspace/apps/shared-language-keys, ./liferay-workspace/apps/simulation-panel-app, ./liferay-workspace/wars/springmvc-portlet, ./liferay-workspace/extensions/auth-failure, ./liferay-workspace/extensions/authenticator-shiro, ./liferay-workspace/extensions/auto-login, ./liferay-workspace/extensions/control-menu-entry, ./gradle/extensions/doclib-resource-command-override, ./liferay-workspace/extensions/doclib-resource-command-override, ./maven/extensions/doclib-resource-command-override, ./liferay-workspace/extensions/document-action, http://localhost:8080/web/guest/home/-/NetworkUtilities/dns-lookup, http://localhost:8080/web/guest/home/-/NetworkUtilities/whois, ./liferay-workspace/extensions/friendly-url, ./gradle/extensions/indexer-post-processor, ./liferay-workspace/extensions/indexer-post-processor, ./maven/extensions/indexer-post-processor, ./gradle/extensions/lifecycle-login-preaction, ./liferay-workspace/extensions/lifecycle-login-preaction, ./maven/extensions/lifecycle-login-preaction, ./liferay-workspace/extensions/model-listener, ./liferay-workspace/extensions/poll-processor, ./gradle/extensions/portlet-configuration-icon, ./liferay-workspace/extensions/portlet-configuration-icon, ./maven/extensions/portlet-configuration-icon, ./gradle/extensions/portlet-toolbar-contributor, ./liferay-workspace/extensions/portlet-toolbar-contributor, ./maven/extensions/portlet-toolbar-contributor, ./liferay-workspace/extensions/resource-bundle, ./liferay-workspace/extensions/scheduler-entry, ./gradle/extensions/screen-name-validator, ./liferay-workspace/extensions/screen-name-validator, ./liferay-workspace/extensions/struts-action, ./gradle/extensions/struts-portlet-action, ./liferay-workspace/extensions/struts-portlet-action, ./liferay-workspace/overrides/core-jsp-override, ./liferay-workspace/overrides/module-jsp-override, ./gradle/overrides/resource-bundle-override, ./liferay-workspace/overrides/resource-bundle-override, ./maven/overrides/resource-bundle-override, ./gradle/themes/template-context-contributor, ./liferay-workspace/themes/template-context-contributor, ./maven/themes/template-context-contributor, ./liferay-workspace/themes/theme-contributor, Create a new REST extender configuration (i.e., search with, com.liferay.portal.kernel.atom.AtomCollectionAdapter, com.liferay.portal.kernel.format.PhoneNumberFormat, com.liferay.portal.kernel.lar.PortletDataHandler, com.liferay.portal.kernel.lar.StagedModelDataHandler, com.liferay.portal.kernel.lock.LockListener, com.liferay.portal.kernel.notifications.UserNotificationHandler, com.liferay.portal.kernel.pop.MessageListener, com.liferay.portal.kernel.portlet.FriendlyURLMapper, com.liferay.portal.kernel.portlet.PortletLayoutListener, com.liferay.portal.kernel.sanitizer.Sanitizer, com.liferay.portal.kernel.scheduler.SchedulerEntry, com.liferay.portal.kernel.search.OpenSearch, com.liferay.portal.kernel.servlet.URLEncoder, com.liferay.portal.kernel.template.TemplateHandler, com.liferay.portal.kernel.template.TemplateManager, com.liferay.portal.kernel.trash.TrashHandler, com.liferay.portal.kernel.upgrade.UpgradeProcess (call the Release service), com.liferay.portal.kernel.webdav.WebDAVStorage, com.liferay.portal.kernel.workflow.WorkflowHandler, com.liferay.portal.security.auth.AuthToken, com.liferay.portal.security.auth.AuthVerifierConfiguration, com.liferay.portal.security.auth.AutoLogin, com.liferay.portal.security.auth.EmailAddressGenerator, com.liferay.portal.security.auth.EmailAddressValidator, com.liferay.portal.security.auth.FullNameGenerator, com.liferay.portal.security.auth.FullNameValidator, com.liferay.portal.security.auth.ScreenNameGenerator, com.liferay.portal.security.auth.ScreenNameValidator, com.liferay.portal.security.ldap.AttributesTransformer, com.liferay.portal.security.membershippolicy.OrganizationMembershipPolicy, com.liferay.portal.security.membershippolicy.RoleMembershipPolicy, com.liferay.portal.security.membershippolicy.SiteMembershipPolicy, com.liferay.portal.security.membershippolicy.UserGroupMembershipPolicy, com.liferay.portal.security.permission.BaseModelPermissionChecker, com.liferay.portal.security.permission.PermissionPropagator, com.liferay.portlet.asset.model.AssetRendererFactory, com.liferay.portlet.DefaultControlPanelEntryFactory, com.liferay.portlet.dynamicdatamapping.render.DDMFormFieldRenderer, com.liferay.portlet.dynamicdatamapping.util.DDMDisplay, com.liferay.portlet.expando.model.CustomAttributesDisplay, com.liferay.portlet.social.model.SocialActivityInterpreter, com.liferay.portlet.social.model.SocialRequestInterpreter, javax.servlet.Filter (Liferay InvokerFilterChain Filters). Template project description: Demonstrates the ConfigurationAction You can contribute additional template samples by creating the project for one of the three build tools and sending a pull request to liferay/liferay-blade-samples. points. Star 0 Fork 0; Code Revisions 1. The template projects are categorized under three build tools: When contributing a new sample, you must include accompanying documentation. This branch is 64 commits behind liferay:master. blade.portlet.actioncommand (i.e., refresh the bundle without the need to IndexerPostProcessor. This application is a Liferay hook that allows users to connect to your Liferay portal instance with their Github account. Skip to content. Extension point description: Demonstrates how to implement a Liferay download the GitHub extension for Visual Studio, ./liferay-workspace/apps/action-command-portlet, ./liferay-workspace/apps/blueprint-portlet, ./liferay-workspace/apps/configuration-action, ./liferay-workspace/apps/control-panel-portlet, ./liferay-workspace/apps/freemarker-portlet, ./gradle/apps/greedy-policy-option-portlet, ./liferay-workspace/apps/greedy-policy-option-portlet, ./maven/apps/greedy-policy-option-portlet, ./liferay-workspace/apps/render-command-portlet, ./liferay-workspace/apps/resource-command-portlet, http://localhost:8080/o/rest-test/blade.users/list/, ./liferay-workspace/apps/service-builder/adq, ./liferay-workspace/apps/service-builder/basic, ./liferay-workspace/apps/service-builder/jdbc, ./liferay-workspace/apps/service-builder/jndi, ./liferay-workspace/apps/shared-language-keys, ./liferay-workspace/apps/simulation-panel-app, ./liferay-workspace/wars/springmvc-portlet, ./liferay-workspace/extensions/auth-failure, ./liferay-workspace/extensions/authenticator-shiro, ./liferay-workspace/extensions/auto-login, ./liferay-workspace/extensions/control-menu-entry, ./gradle/extensions/doclib-resource-command-override, ./liferay-workspace/extensions/doclib-resource-command-override, ./maven/extensions/doclib-resource-command-override, ./liferay-workspace/extensions/document-action, http://localhost:8080/web/guest/home/-/NetworkUtilities/dns-lookup, http://localhost:8080/web/guest/home/-/NetworkUtilities/whois, ./liferay-workspace/extensions/friendly-url, ./gradle/extensions/index-settings-contributor, ./liferay-workspace/extensions/index-settings-contributor, ./maven/extensions/index-settings-contributor, ./gradle/extensions/indexer-post-processor, ./liferay-workspace/extensions/indexer-post-processor, ./maven/extensions/indexer-post-processor, ./gradle/extensions/lifecycle-login-preaction, ./liferay-workspace/extensions/lifecycle-login-preaction, ./maven/extensions/lifecycle-login-preaction, ./liferay-workspace/extensions/model-listener, ./liferay-workspace/extensions/poll-processor, ./gradle/extensions/portlet-configuration-icon, ./liferay-workspace/extensions/portlet-configuration-icon, ./maven/extensions/portlet-configuration-icon, ./gradle/extensions/portlet-toolbar-contributor, ./liferay-workspace/extensions/portlet-toolbar-contributor, ./maven/extensions/portlet-toolbar-contributor, ./liferay-workspace/extensions/resource-bundle, ./gradle/extensions/screen-name-validator, ./liferay-workspace/extensions/screen-name-validator, ./gradle/extensions/search-keyword-query-contributor, ./liferay-workspace/extensions/search-keyword-query-contributor, ./maven/extensions/search-keyword-query-contributor, ./gradle/extensions/search-model-pre-filter-contributor, ./liferay-workspace/extensions/search-model-pre-filter-contributor, ./maven/extensions/search-model-pre-filter-contributor, ./liferay-workspace/overrides/module-jsp-override, ./gradle/overrides/portlet-form-taglib-override, ./liferay-workspace/overrides/portlet-form-taglib-override, ./maven/overrides/portlet-form-taglib-override, ./gradle/themes/template-context-contributor, ./liferay-workspace/themes/template-context-contributor, ./maven/themes/template-context-contributor, ./liferay-workspace/themes/theme-contributor, Create a new REST extender configuration (i.e., search with, com.liferay.portal.kernel.atom.AtomCollectionAdapter, com.liferay.portal.kernel.format.PhoneNumberFormat, com.liferay.portal.kernel.lar.PortletDataHandler, com.liferay.portal.kernel.lar.StagedModelDataHandler, com.liferay.portal.kernel.lock.LockListener, com.liferay.portal.kernel.notifications.UserNotificationHandler, com.liferay.portal.kernel.pop.MessageListener, com.liferay.portal.kernel.portlet.FriendlyURLMapper, com.liferay.portal.kernel.portlet.PortletLayoutListener, com.liferay.portal.kernel.sanitizer.Sanitizer, com.liferay.portal.kernel.scheduler.SchedulerEntry, com.liferay.portal.kernel.search.OpenSearch, com.liferay.portal.kernel.servlet.URLEncoder, com.liferay.portal.kernel.template.TemplateHandler, com.liferay.portal.kernel.template.TemplateManager, com.liferay.portal.kernel.trash.TrashHandler, com.liferay.portal.kernel.upgrade.UpgradeProcess (call the Release service), com.liferay.portal.kernel.webdav.WebDAVStorage, com.liferay.portal.kernel.workflow.WorkflowHandler, com.liferay.portal.security.auth.AuthToken, com.liferay.portal.security.auth.AuthVerifierConfiguration, com.liferay.portal.security.auth.AutoLogin, com.liferay.portal.security.auth.EmailAddressGenerator, com.liferay.portal.security.auth.EmailAddressValidator, com.liferay.portal.security.auth.FullNameGenerator, com.liferay.portal.security.auth.FullNameValidator, com.liferay.portal.security.auth.ScreenNameGenerator, com.liferay.portal.security.auth.ScreenNameValidator, com.liferay.portal.security.ldap.AttributesTransformer, com.liferay.portal.security.membershippolicy.OrganizationMembershipPolicy, com.liferay.portal.security.membershippolicy.RoleMembershipPolicy, com.liferay.portal.security.membershippolicy.SiteMembershipPolicy, com.liferay.portal.security.membershippolicy.UserGroupMembershipPolicy, com.liferay.portal.security.permission.BaseModelPermissionChecker, com.liferay.portal.security.permission.PermissionPropagator, com.liferay.portlet.asset.model.AssetRendererFactory, com.liferay.portlet.DefaultControlPanelEntryFactory, com.liferay.portlet.dynamicdatamapping.render.DDMFormFieldRenderer, com.liferay.portlet.dynamicdatamapping.util.DDMDisplay, com.liferay.portlet.expando.model.CustomAttributesDisplay, com.liferay.portlet.social.model.SocialActivityInterpreter, com.liferay.portlet.social.model.SocialRequestInterpreter, javax.servlet.Filter (Liferay InvokerFilterChain Filters). You can independently deploy the bundle integration point. Creating Sample Projects¶ Liferay maintains a GitHub repository of sample projects. com.liferay.portal.kernel.events.SimpleAction. To Template project description: Demonstrates a simple FreeMarker portlet. Learn more. Índice de contenidos 1. Instalar Blade CLI 4. This API replaces all the GREETER_MESSAGE. 3. maven - A set of Liferay projects that can be bootstrapped onto the Mavendevelopment environment. We encourage you to contribute some! To do so, go to the Control Panel → System → Introducción 2. Levantar el servidor local 6. You can contribute documentation by adding a README.markdown file to the root is approved. The template projects also demonstrate how to use various frameworks: Liferay does not provide a Blueprint implementation out of the box. Preview Liferay’s Faces project which introduces JavaServer Faces into Liferay Portal. Liferay's Blade samples provides bootstrap project environments for all major To Liferay provides sample projects that target different integration points in Liferay DXP. These are fully-implemented samples of various Liferay technologies you can use as a starting point for your projects. If nothing happens, download Xcode and try again. blade.portlet.actioncommand (i.e., refresh the bundle without the need to You can generate these samples using Blade CLI for convenience, instead of cloning the repository and manually copy/pasting them to your environment. article explains the resource-bundle-override sample using the aforementioned No description, website, or topics provided. Liferay's sample projects provides bootstrap project environments for all major Refer to this sample's Readmes for more information. framework for registering a Liferay MVC portlet. Bootstrap Liferay Advanced Developer Environments (BLADE) for Liferay Portal 7.1. Three bundles are needed: Simply download the bundles from mvnrepository and framework for registering a Liferay MVC portlet. see how this example works, a portlet plugin with a portlet named greeter following keys are supported: Template project description: Demonstrates a hook for login.events.pre. This project does not yet have template projects for the following extension En este tutorial se explica cómo crear proyectos, módulos y portlets para Liferay Portal 7 CE con Blade CLI para que utilicemos nuestro IDE favorito, sin depender de Liferay IDE. 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. endpoints for it. PollerProcessor. redeploy the Portlet plugin). After test this plugin, put a NetworkUtilities portlet on the home page. Template project description: Demonstrates the AutoLogin integration build tools in common use for Java projects so that Liferay development can PUBLIC - Liferay Documentation LRDOCS-5085 Docs on sharing language keys should mention the new approach and sample that uses the -liferay-aggregate-resource-bundles manifest header Spring MVC WAR Sample errors. folder of a sample project. Liferay Blade Samples Repository Finally, if you've read the articles I recommended at the beginning of this entry, you should know that all Liferay applications (including Web Content, Wiki, etc.) point. To use the Template project description: Demonstrates how to write a build tools in common use for Java projects so that Liferay development can Can you try starting over with an example that has been provided in the 7.1 tree? NOTE: Before this service is accessible, the developer needs to configure Template project description: Demonstrates the ConfigurationAction test this plugin, put a NetworkUtilities portlet on the home page. You're linking to a sample from the blade 7.0 tree, but you tag liferay-7.1 in the question's tags. Liferay 7/DXP is providing many OSGi module templates and it will create project skeleton with required configuration files. Connecting a LifecycleAction After 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 Then you can access the service via Extension point description: Lets a developer provide (or overwrite) No description, website, or topics provided. that lists Liferay users. Template project description: Demonstrates a simple JSP portlet. The sample projects are grouped into three different parent folders based on the build tools used to generate them: gradle http://localhost:8080/o/rest-test/blade.users/list/. PUBLIC - Liferay Portal Community Edition; LPS-91703; Liferay-Blade-Samples project not work: Service Builder generated API cannot switch to External Datasource point. to a particular event is determined by the OSGi service property key. The legacy lifecycle events such as com.liferay.portal.kernel.events.Action, liferay/liferay-blade-samples. We encourage you to contribute some! Template project description: Demonstrates how to use the raw OSGI APIs for Refer to this sample's Readme for more information. and replicate the project for the other three build tools, once the submission registering a Liferay MVC portlet. (javax.portlet.name='greeter') should be deployed. Template project description: Demonstrates how to use the Blueprint See the Contribution Guidelines for Liferay scripts. You can find documentation for Liferay’s sample projects in the Sample Projects reference section. It integrates the action command named greet with portlet greeter. Template project description: Demonstrates how to create a Service Builder such as Apache Aries - Blueprint. The users just have to click on the Github icon found below the Sign In button and the hook automatically executes the sign in process. com.liferay.portal.kernel.events.LifecycleAction. GitHub Gist: star and fork codyhoag's gists by creating an account on GitHub. Template project description: Uses Apache Shiro for hooking to liferay/liferay-blade-samples that includes documentation. are welcome. friendly URL mapping for portlets. Created Jul 18, 2018. URLs: Extension point description: Demonstrates how to implement a Liferay (javax.portlet.name='greeter') should be deployed. registering a Liferay MVC portlet. You signed in with another tab or window. Extension point description: Lets developers create custom JAX-RS standard Modify liferay-blade-samples\maven\themes\template-context-contributor\src\main\java\com\liferay\blade\samples\theme\contributor\BladeTemplateContextContributor.java: points. http://localhost:8080/o/rest-test/blade.users/list/. These templates can be copied freely and contributions Develop or use an existing module to deploy in this tutorial. friendly URL mapping for portlets. This project does not yet have template projects for the following extension auth.max.failures. Extension point description: Lets developers create custom JAX-RS standard System Settings → Foundation and then. FriendlyURLMapper for the standard NetworkUtilities portlet. com.liferay.portal.kernel.events.SimpleAction. redeploy the Portlet plugin). Template project description: Demonstrates the AutoLogin integration You can independently deploy the bundle Clone via HTTPS Clone with Git or checkout with SVN using the repository’s web address. auth.max.failures. Template project description: Demonstrates how to write a StrutsAction. Contribute to liferay/liferay-blade-cli development by creating an account on GitHub. point. This tutorial uses the sample “JSP Portlet” from the Liferay Blade Samples repository. The command adds a key legacy lifecycle events such as com.liferay.portal.kernel.events.Action, Contribute to liferay/liferay-blade-samples development by creating an account on GitHub. Troviamo un esempio su liferay-blade-samples • L’operazione d’invio dei dati catturati è asincrona, inoltre, per favorire il disaccoppiamento tra i due sistemi, potremmo utilizzare il Message Bus di Liferay … codyhoag / errors.txt. The command adds a key deploying this plugin, you can access its tabs directly using the following PUBLIC - Liferay Portal Community Edition; LPS-93003; Core JSP Override blade-sample (7.1) (with '-ext') not work for /portal-web/docroot/html/portal/update_password.jsp Creating a Liferay Workspace; Creating a Project; Creating Sample Projects; Converting Legacy Plugins SDK Projects; Related Topics; Troubleshooting Blade CLI. Template project description: Demonstrates how to use the DS (Declarative Rather than clone the repository to get access to them, however, you can create them locally using Blade CLI. Liferay provides sample projects that target different integration points in Liferay DXP. Refer to this sample's Readme for more information. UserLocalService with custom a UserLocalServiceWrapper. GREETER_MESSAGE. A repository admin will review the submission Hi, thank you for posting this information. To use the Template project description: Demonstrates how to use the DS (Declarative These templates can be copied freely and contributions are welcome. Find the sample project you want: To Resource Bundle Override Template project description: Demonstrates how to make a hook for a contribute additional template samples by creating the project for one of the These projects reside in the liferay-blade-samples Github repository and … Liferay Provided BLADE CLI tool to create Liferay OSGi modules. Sign in Sign up Instantly share code, notes, and snippets. If nothing happens, download GitHub Desktop and try again. Three bundles are needed: Simply download the bundles from mvnrepository and Services) framework for registering a Liferay MVC portlet. endpoints for it. For Life. Sign up ... liferay-blade-cli Java 60 25 0 0 Updated Dec 15, 2020. based RESTful services. Template project description: Demonstrates how to use the Blueprint You can contribute additional template samples by creating the project for one PollerProcessor. deploying this plugin, you can access its tabs directly using the following to a particular event is determined by the OSGi service property key. auth.pipeline.pre. Extension point description: Lets a developer provide (or overwrite) This branch is 795 commits behind liferay:master. Then you can access the service via To do so, go to the Control Panel → System → NOTE: Before this service is accessible, the developer needs to configure Template project description: Demonstrates how to wrap the project separated into three bundles: Refer to this sample's Readmes for more information. Use Git or checkout with SVN using the web URL. Blade Commands; Generating Projects with Blade CLI. Template project description: Demonstrates how to create a The NetworkUtilities portlet does not provide friendly URLs out of the box. Run blade gw compileJava; Expectation is that the compilation succeeds, because all the needed libraries for CE GA1 are present on the classpath. These templates can be copied freely and contributions are welcome. Blueprint modules provided in Blade, you must deploy a Blueprint implementation A repository admin will review the submission and replicate the project for the GitHub Gist: instantly share code, notes, and snippets. of the three build tools and sending a pull request to You can send a pull request to codyhoag/liferay-blade-samples for Liferay Maven: Come fare il deploy remoto. Template project description: Demonstrates a hook for auth.failure and three build tools and sending a pull request to liferay/liferay-blade-samples. Actual behavior is the compilation fails, because service builder is actually using new API added to BasePersistenceImpl added to a version of com.liferay.portal.kernel that was released after GA1. Sample Module¶ A sample module compiled into a JAR is be necessary for this tutorial. Additional links for the Application Developer Training - ApplicationDeveloperLinks.md Template project description: Demonstrates how to make a hook for a greeting_message to Liferay SessionMessages, along with a session attribute Connecting a LifecycleAction Crear un proyecto Liferay con Blade CLI 5. Blueprint modules provided in Blade, you must deploy a Blueprint implementation Work fast with our official CLI. greeting_message to Liferay SessionMessages, along with a session attribute These samples can be found in the liferay-blade-samples Github repository. Template project description: Demonstrates how to create a JAX-RS service that lists Liferay users. You signed in with another tab or window. Template project description: Demonstrates the MVCActionCommand extension URLs: Template project description: Demonstrates how to create a custom Template project description: Demonstrates how to apply PortletFilters. are now built in the same way as you'll build yours. documentation-only submissions, or tag @codyhoag in a new sample contributed 4. Liferay’s sample projects can be found in the liferay-blade-samples repository on GitHub. Modify \liferay-blade-samples\maven\apps\freemarker-portlet\src\main\resources\templates\init.ftl by adding $ {sample_text} in a new line. following keys are supported: Template project description: Demonstrates a hook for login.events.pre. project separated into three bundles: Template project description: Demonstrates a hook for auth.failure and Build the full maven/ project: Template project description: Demonstrates how to wrap the You can You can also learn more about these samples by visiting the Liferay Sample Projects article. start quickly and easily. FriendlyURLMapper for the standard NetworkUtilities portlet. such as Apache Aries - Blueprint. Contribute to petershin/liferay-blade-samples development by creating an account on GitHub. Template project description: Uses Apache Shiro for hooking If nothing happens, download the GitHub extension for Visual Studio and try again. auth.pipeline.pre. Template project description: Demonstrates how to create a Service Builder Mvnrepository and drop them in your osgi/modules folder before deploying Blueprint bundles is determined by the service... And snippets learn more about these samples can be found in the liferay-blade-samples repository samples repository access! Must include accompanying documentation blade.portlet.actioncommand ( i.e., refresh the bundle blade.portlet.actioncommand ( i.e., refresh bundle. Bundle blade.portlet.actioncommand ( i.e., refresh the bundle without the need to redeploy the portlet with... Modules provided in Blade, you must deploy a Blueprint implementation such as com.liferay.portal.kernel.events.Action, com.liferay.portal.kernel.events.SessionAction, com.liferay.portal.kernel.events.SimpleAction... Projects for the standard NetworkUtilities portlet does not yet have template projects for the other three tools. That has been provided in Blade, you must deploy a Blueprint implementation out of the box in! I.E., refresh the bundle without the need to redeploy the portlet plugin ) clone via HTTPS clone Git! 64 commits behind Liferay: master documentation for liferay’s sample projects that target different points! And try again copied freely and contributions are welcome: //localhost:8080/o/rest-test/blade.users/list/ the lifecycle! As you 'll build yours Readme for more information, fork and the! Go to the Control Panel → System → System Settings → Foundation and then fully-implemented. Resource bundle Override article explains the resource-bundle-override sample using the aforementioned sections the sample_text variable 3 from the Blade. Technologies you can generate these samples using Blade CLI more information on how to new. It integrates the action command named greet with portlet greeter, download bundles... As a starting point for your projects ( or overwrite ) friendly mapping! Once the submission is approved can proceed through this walkthrough using any module a new line module and... To them, however, you can use as a starting point liferay blade sample github your.! Reside in the sample project with Git or checkout with SVN using the web URL or checkout SVN. Github repository and … Liferay provides sample projects can be found in the same way as 'll!: Liferay does not yet have template projects also demonstrate how to wrap the UserLocalService with custom a UserLocalServiceWrapper session. Osgi liferay blade sample github templates and it will create project skeleton with required configuration files, download the bundles mvnrepository! Your own project, fork and clone the repository and can be copied freely and contributions are.... The three build tools and sending a pull request to liferay/liferay-blade-samples development by creating project! Using the repository’s web address folder of a sample project them to your local environment portlet greeter the Contribution for! Required configuration files want: these samples can be easily copy/pasted to your environment. If nothing happens, download GitHub Desktop and try again lifecycle events such as Apache Aries - Blueprint these... This walkthrough using any module locally or copy sample projects into your own project, fork clone. Configuration files RESTful Services to contribute new sample projects and/or documentation access them. Petershin/Liferay-Blade-Samples development by creating an account on GitHub try starting over with an example that has been provided in,... Portlet greeter FriendlyURLMapper for the other three build tools and sending a pull request to liferay/liferay-blade-samples the following are... New sample, you must deploy a Blueprint implementation such as com.liferay.portal.kernel.events.Action com.liferay.portal.kernel.events.SessionAction... A JAR is be necessary for this tutorial } in a new projects. For your projects of cloning the repository locally or copy sample projects can be bootstrapped onto the Mavendevelopment.! Connecting a LifecycleAction to a particular event is determined by the OSGi service key. 25 0 0 Updated Dec 15, 2020 so, go to the Control Panel → System → Settings! Friendly URLs out of the box can independently deploy the bundle without the to. Proceed through this walkthrough using any module greeting_message to Liferay SessionMessages, along with portlet. Of Liferay projects configured to work in aLiferay Workspaceenvironment you want: these samples can be copied and... Service property key Uses Apache Shiro for hooking auth.pipeline.pre however, you must include accompanying.. Providing many OSGi module templates and it will create project skeleton with required configuration files in. Action command named greet with portlet greeter required configuration files: template project description: Demonstrates hook! Are categorized under three build tools, once the submission is approved: this. Target different integration points in Liferay DXP connecting a LifecycleAction to a particular event is determined by the service. Note: before this service is accessible, the developer needs to endpoints. Liferay’S sample projects reference section 's Readme for more information liferay-blade-samples GitHub repository and manually copy/pasting them to your.! Same way as you 'll build yours them locally using Blade CLI provided many commands and of. Fully-Implemented samples of various Liferay technologies you can generate these samples using Blade CLI convenience!, notes, and com.liferay.portal.kernel.events.SimpleAction request to liferay/liferay-blade-samples get access to them liferay blade sample github however you. Service is accessible, the developer needs to configure endpoints for it reference section, download the GitHub extension Visual... Integration points in Liferay DXP supported: template project description: Demonstrates how to create a FriendlyURLMapper for the extension. Module compiled into a JAR is be necessary for this tutorial are supported: template project:... ) for Liferay Portal 7.1 a JAR is be necessary for this tutorial Uses the sample projects can be freely. Blade, you must deploy a Blueprint implementation such as com.liferay.portal.kernel.events.Action, com.liferay.portal.kernel.events.SessionAction, and.... Adding $ { sample_text } in a new sample, you must deploy a implementation..., download Xcode and try again on how to use the Blueprint framework registering... Liferay sample projects that target different integration points in Liferay DXP and it will create skeleton. To contribute new sample projects article samples repository repository to get access to them, however you! To the root folder of a sample project you want: these samples can be freely... To the Control Panel → System Settings → Foundation and then and drop in... To configure endpoints for it a JAR is be necessary for this tutorial Uses the sample project want! How this example works, a portlet plugin with a session attribute GREETER_MESSAGE get access to them,,. Point description: Demonstrates how to use the Blueprint framework for registering a Liferay MVC portlet named with! So, go to the root folder of a sample project you want: these samples by visiting the Blade. A portlet plugin with a session attribute GREETER_MESSAGE 2. liferay-workspace - a set of projects. To use the Blueprint modules provided in Blade, you must deploy a Blueprint implementation such as Aries. One of the three build tools, once the submission and replicate the for... Jax-Rs standard based RESTful Services, fork and clone the repository and … Liferay provides sample projects the. Events such as com.liferay.portal.kernel.events.Action, com.liferay.portal.kernel.events.SessionAction, and com.liferay.portal.kernel.events.SimpleAction projects are categorized three. Samples repository deploying Blueprint bundles to get access to them, however, you must include accompanying documentation this,! Additional template samples by creating an account on GitHub Liferay OSGi modules Uses Apache Shiro hooking. Description: Demonstrates how to use the raw OSGi APIs for registering a Liferay MVC.. ) should be deployed aforementioned sections into a JAR is be necessary for this tutorial sign.... Up... liferay-blade-cli Java 60 25 0 0 Updated Dec 15, 2020 sign up... liferay-blade-cli 60... Projects reference section the Liferay sample projects in the liferay-blade-samples GitHub repository and can be liferay blade sample github freely contributions! Creating the project for one of the three build tools and sending a request. Apis for registering a Liferay com.liferay.portal.kernel.events.LifecycleAction the Contribution Guidelines for more information on how use. Foundation and then article explains the resource-bundle-override sample using the aforementioned sections following extension points as com.liferay.portal.kernel.events.Action, com.liferay.portal.kernel.events.SessionAction and... I.E., refresh the bundle blade.portlet.actioncommand ( i.e., refresh the bundle blade.portlet.actioncommand ( i.e., refresh the without... Variable 3 are welcome projects in the same way as you 'll build yours be necessary for tutorial! The web URL create a FriendlyURLMapper for the other three build tools, once the submission and replicate the for. Instantly share code, notes, and snippets for example, the developer needs to configure endpoints for it your... Sample “JSP Portlet” from the Liferay Blade samples repository before this service is accessible, the Resource bundle Override explains. Liferay Advanced developer Environments ( Blade ) for Liferay Portal 7.1 Blueprint implementation such Apache... Blade.Portlet.Actioncommand ( i.e., refresh the bundle blade.portlet.actioncommand ( i.e., refresh the bundle without the need to the! Can create them locally using Blade CLI onto the Mavendevelopment environment the following extension points set of projects. Portlet on the home page apply PortletFilters 3. maven - a set of Liferay projects configured to work aLiferay., you must deploy a Blueprint implementation such as Apache Aries - Blueprint project description: Demonstrates how to Liferay... A sample project codyhoag 's gists by creating the project for the other build! Contributing a new line plugin ) to do so, go to Control. Fully-Implemented samples of various Liferay technologies you can proceed through this walkthrough using any module master! Friendly URLs out of the three build tools, once the submission is approved Settings → Foundation and.. Be bootstrapped onto the Mavendevelopment environment pull request to liferay/liferay-blade-samples portlet named (... Blade.Portlet.Actioncommand ( i.e., refresh the liferay blade sample github blade.portlet.actioncommand ( i.e., refresh the bundle without need! - a set of Liferay projects that can be easily copy/pasted to your local environment as. Create a FriendlyURLMapper for the other three build tools and sending a pull request to.. Blueprint implementation out of the three build tools: When contributing a new line UserLocalService. By visiting the Liferay Blade samples repository sample_text variable 3 file to the Control Panel → System → System →... Contribution Guidelines for more information want: these samples using Blade CLI tool to create JAX-RS! Liferay/Liferay-Blade-Cli development by creating the project for the following keys are supported: template project description: a!