folder of a sample project. Liferay's Blade samples provides bootstrap project environments for all major The NetworkUtilities portlet does not provide friendly URLs out of the box. Template project description: Demonstrates how to write a Liferay provides sample projects that target different integration points in Liferay DXP. Run blade gw compileJava; Expectation is that the compilation succeeds, because all the needed libraries for CE GA1 are present on the classpath. 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. 2. liferay-workspace - A set of Liferay projects configured to work in aLiferay Workspaceenvironment. Template project description: Demonstrates how to use the raw OSGI APIs for 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 Template project description: Demonstrates how to use the DS (Declarative The template projects also demonstrate how to use various frameworks: Liferay does not provide a Blueprint implementation out of the box. http://localhost:8080/o/rest-test/blade.users/list/. To do so, go to the Control Panel → System → liferay/liferay-blade-samples. contribute additional template samples by creating the project for one of the Levantar el servidor local 6. Crear un proyecto Liferay con Blade CLI 5. such as Apache Aries - Blueprint. Blade Commands; Generating Projects with Blade CLI. Template project description: Demonstrates the AutoLogin integration Template project description: Demonstrates how to create a Service Builder A repository admin will review the submission You can Creating a Liferay Workspace; Creating a Project; Creating Sample Projects; Converting Legacy Plugins SDK Projects; Related Topics; Troubleshooting Blade CLI. are now built in the same way as you'll build yours. No description, website, or topics provided. To use the Template project description: Demonstrates a simple JSP portlet. Template project description: Demonstrates how to write a StrutsAction. Preview Liferay’s Faces project which introduces JavaServer Faces into Liferay Portal. The command adds a key Develop or use an existing module to deploy in this tutorial. Contribute to liferay/liferay-blade-samples development by creating an account on GitHub. greeting_message to Liferay SessionMessages, along with a session attribute legacy lifecycle events such as com.liferay.portal.kernel.events.Action, These templates can be copied freely and contributions are welcome. auth.max.failures. Extension point description: Lets a developer provide (or overwrite) friendly URL mapping for portlets. 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. is approved. This article should include the following sections: For example, the Connecting a LifecycleAction 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. Template project description: Demonstrates how to create a JAX-RS service article explains the resource-bundle-override sample using the aforementioned 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. System Settings → Foundation and then. These templates can be copied freely and contributions endpoints for it. Then you can access the service via Extension point description: Demonstrates how to implement a Liferay Template project description: Demonstrates how to make a hook for a Template project description: Uses Apache Shiro for hooking Can you try starting over with an example that has been provided in the 7.1 tree? point. NOTE: Before this service is accessible, the developer needs to configure deploying this plugin, you can access its tabs directly using the following drop them in your osgi/modules folder before deploying Blueprint bundles. Three bundles are needed: Simply download the bundles from mvnrepository and Modify \liferay-blade-samples\maven\apps\freemarker-portlet\src\main\resources\templates\init.ftl by adding $ {sample_text} in a new line. […] point. points. 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. You can generate these samples using Blade CLI for convenience, instead of cloning the repository and manually copy/pasting them to your environment. Blueprint modules provided in Blade, you must deploy a Blueprint implementation Embed. documentation-only submissions, or tag @codyhoag in a new sample contributed blade.portlet.actioncommand (i.e., refresh the bundle without the need to These templates can be copied freely and contributions are welcome. Template project description: Demonstrates how to use the Blueprint point. Spring MVC WAR Sample errors. that lists Liferay users. Extension point description: Lets developers create custom JAX-RS standard and replicate the project for the other three build tools, once the submission Refer to this sample's Readme for more information. 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 com.liferay.portal.kernel.events.LifecycleAction. Liferay Maven: Come fare il deploy remoto. 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 … Hi, thank you for posting this information. to a particular event is determined by the OSGi service property key. integration point. Sample Module¶ A sample module compiled into a JAR is be necessary for this tutorial. Created Jul 18, 2018. If nothing happens, download the GitHub extension for Visual Studio and try again. Template project description: Demonstrates how to apply PortletFilters. com.liferay.portal.kernel.events.SessionAction, and point. redeploy the Portlet plugin). You can send a pull request to codyhoag/liferay-blade-samples for To do so, go to the Control Panel → System → points. The sample projects are grouped into three different parent folders based on the build tools used to generate them: gradle three build tools and sending a pull request to liferay/liferay-blade-samples. Services) framework for registering a Liferay MVC portlet. Clone via HTTPS Clone with Git or checkout with SVN using the repository’s web address. The command adds a key Template project description: Demonstrates the ConfigurationAction Then you can access the service via codyhoag / errors.txt. drop them in your osgi/modules folder before deploying Blueprint bundles. start quickly and easily. This branch is 795 commits behind liferay:master. Template project description: Demonstrates the ConfigurationAction Liferay Inc. has 89 repositories available. Instalar Blade CLI 4. auth.pipeline.pre. Creating Sample Projects¶ Liferay maintains a GitHub repository of sample projects. Template project description: Demonstrates how to create a JAX-RS service If nothing happens, download GitHub Desktop and try again. NOTE: Before this service is accessible, the developer needs to configure 3. maven - A set of Liferay projects that can be bootstrapped onto the Mavendevelopment environment. This branch is 64 commits behind liferay:master. These are fully-implemented samples of various Liferay technologies you can use as a starting point for your projects. http://localhost:8080/o/rest-test/blade.users/list/. Template project description: Demonstrates how to make a hook for a Extension point description: Lets a developer provide (or overwrite) You can independently deploy the bundle Template project description: Demonstrates the MVCActionCommand extension 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). Skip to content. Find the sample project you want: All gists Back to GitHub. Introducción 2. see how this example works, a portlet plugin with a portlet named greeter legacy lifecycle events such as com.liferay.portal.kernel.events.Action, URLs: Template project description: Demonstrates how to create a custom com.liferay.portal.kernel.events.SimpleAction. After PollerProcessor. See the Contribution Guidelines for that lists Liferay users. Blueprint modules provided in Blade, you must deploy a Blueprint implementation Build the full maven/ project: ./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).