Capability

Development and Tooling

Liferay offers a comprehensive toolkit to extend or customize your digital experience. Build applications quickly with low-code/no-code features like Objects, or leverage developer tools like Liferay Workspace and Blade CLI for further customizations.

For users on PaaS or running Self-Hosted, Liferay also offers tools deploying customizations.

Feature
Deployment Approach
Macros
Macros A macro is a set of functions that perform a task. Macros are where locators (paths) and functions are brought together to script interactions that a user performs on the system being...
公開日: 2024/04/26 20:57
Functions
Functions In Poshi, Functions handle extra WebDriver commands that an element might require to interact with a page object or element. Functions combine the basic methods defined in the...
公開日: 2024/04/26 20:57
Configuration
Configuration In order to give test writers easy access to commonly used functions, paths, or macros, Poshi resources were created to store existing Poshi files as dependencies. These resources can...
公開日: 2024/04/26 20:57
Using Poshi Resources
Using Poshi Resources Once the Poshi resources jar file is loaded onto your Poshi project, you are now able to use Liferay's commonly used functions, paths, and macros. To distinguish between files...
公開日: 2024/04/26 20:57
Reference
Reference Node Version Information
公開日: 2024/04/26 20:57
Testcases
Testcases A testcase file in Poshi is a collection of test scenarios grouped in blocks of code called test blocks. The three main test blocks: setUp, test, and tearDown, are made up of multiple...
公開日: 2024/04/26 20:57
Paths
Paths A path is an element on a page that a test will interact with. An element can be a button, text field, link, image, paragraph, or just about anything you would need to assert, click, or type...
公開日: 2024/04/26 20:57
Using Variables
Using Variables Though not a Poshi layer, variables are a large part of Poshi tests. Variables, like in other programming languages, are used to store data which can be referenced and reused in...
公開日: 2024/04/26 20:57
Poshi Resources
Poshi Resources To give Poshi test writers easy access to commonly used functions or other files, Poshi resources were created to store existing Poshi files as dependencies that can be loaded apart...
公開日: 2024/04/26 20:57
Liferay開発への貢献
Liferay開発への貢献 バグの修正または新機能の提供 Liferayソースのビルド ソースの整理
公開日: 2024/04/26 20:57
OSGiサービスとしてのAPI
OSGiサービスとしてのAPI モジュールとは何か、モジュールをデプロイする方法を学習したら、モジュールを使用してAPIを定義し、それらを実装できます。 Liferay APIは OSGiサービス であり、Javaインターフェースによって定義され、具体的なJavaクラスによって実装されます。 Liferayは、API、実装、およびクライアントをコンポーネントとして公開します。 OSGi...
公開日: 2024/04/26 20:57
サードパーティライブラリパッケージの依存関係の解決
サードパーティライブラリパッケージの依存関係の解決 アプリケーションは、複数のOSGiモジュールに依存できます。 Javaパッケージの依存関係を解決するのは難しい場合があります。 すべてのパッケージがOSGi JARで配布されるのが理想的ですが、多くのパッケージは従来のライブラリ(非OSGi JAR)にのみ存在しています。 サードパーティの非OSGi...
公開日: 2024/04/26 20:57
依存関係の構成
依存関係の構成 Liferayは、モジュールがJavaパッケージを介して機能を公開および使用できるコンテナを提供します。 モジュールは、依存関係として構成することにより、他のモジュールまたは従来のライブラリのパッケージを活用できます。 ここでは、アーティファクト(モジュールまたはライブラリ)を見つけて、それらへの依存関係を構成する方法を学習します。 アーティファクトの検索...
公開日: 2024/04/26 20:57
アーティファクトの検索
アーティファクトの検索 プロジェクトで外部アーティファクトを使用するには、build.gradle Gradle スクリプトでそれらの依存関係を構成する必要があります。 アーティファクトを依存関係として指定する前に、まずその属性を見つける必要があります。 アーティファクトには次の属性があります。 グループID :オーサリング組織 アーティファクトID :名前/識別子 バージョン...
公開日: 2024/04/26 20:57
パッケージのインポート
パッケージのインポート 他のモジュールで提供されている機能が必要になることはよくあります。 この機能にアクセスするには、他のモジュールから自分のモジュールのクラスパスにパッケージをインポートする必要があります。 このためには、これらの他のモジュールが、必要な機能を含むパッケージをすでにエクスポートしている必要があります。...
公開日: 2024/04/26 20:57
依存関係の指定
依存関係の指定 モジュールを正常にコンパイルおよびデプロイするには、すべての依存関係を満たす必要があります。 依存関係のアーティファクトを見つけたら、Gradleビルドファイルに依存関係として追加します。 Liferayには、実行時にすでに多くのアーティファクトが含まれています。 他のアーティファクトに依存している場合は、それらを手動でデプロイするか、モジュールに含める必要があります。...
公開日: 2024/04/26 20:57
Gogo シェルの使用
Gogo シェルの使用 Gogoシェルは、モジュールフレームワークと対話するための手段を提供します。 中でも、以下を実行できます。 バンドル(モジュール)の動的なインストール/アンインストール パッケージの依存関係を調べる 拡張ポイントを調べる サービスリファレンスの一覧表示 コントロールパネルは、Gogoシェルにアクセスする最も安全で確実な方法です: ...
公開日: 2024/04/26 20:57
パッケージのエクスポート
パッケージのエクスポート OSGiでは、パッケージはデフォルトでプライベートです。 他のモジュールがそれらをインポートして使用できるように、パッケージを明示的にエクスポートする必要があります。 パッケージをエクスポートする方法は次のとおりです。 bnd.bndファイルを開きます。 Export-Package:ヘッダを追加します(まだ追加していない場合)。 ...
公開日: 2024/04/26 20:57
Creating Code with Liferay Workspace
Creating Code with Liferay Workspace Liferay Workspace is the developer's tool for creating and managing Liferay development projects. Creating Projects Blade CLI makes it easy to create projects...
公開日: 2024/04/26 20:57
Installing and Updating Blade CLI
Installing and Updating Blade CLI Blade CLI can be installed through a command line interface or a graphical installer. If you're behind a proxy, once it's installed you can configure it to operate...
公開日: 2024/04/26 20:57
Creating a Standard Application
Creating a Standard Application To create applications based on a custom object takes four steps: create the object, create at least one form view, create at least one table view, and deploy the...
公開日: 2024/04/26 20:57
Deploying WARs (WAB Generator)
Deploying WARs (WAB Generator) You can create applications as Java EE-style Web Application ARchive (WAR) artifacts or as Java ARchive (JAR) OSGi bundle artifacts. Bean Portlets, PortletMVC4Spring...
公開日: 2024/04/26 20:57
Creating A Liferay Workspace
Creating A Liferay Workspace You can create a Liferay Workspace manually or with Blade CLI. Creating a Liferay Workspace Manually To create a Liferay Workspace manually, you must have Gradle...
公開日: 2024/04/26 20:57
What is Liferay Workspace?
What is Liferay Workspace? Liferay Workspace is a set of folders and Gradle scripts that represents the Liferay-opinionated way of handling a full development life cycle: Creating projects ...
公開日: 2024/04/26 20:57
Changes Between Bundler 1.x and 2.x
Changes Between Bundler 1.x and 2.x This article outlines the key changes between liferay-npm-bundler version 1.x and 2.x. Automatically Formatting Modules for AMD In version series 1.x of the...
公開日: 2024/04/26 20:57
Migrating Your Project to Use liferay-npm-bundler's New Mode
Migrating Your Project to Use liferay-npm-bundler's New Mode Since issue #303, two modes of operation are available for the liferay-npm-bundler. You can preprocess files before the bundler runs, or...
公開日: 2024/04/26 20:57
Default Bundler Loaders
Default Bundler Loaders Several loaders are available for the liferay-npm-bundler by default: babel-loader: processes source files with Babel. This avoids an extra build step before the bundler....
公開日: 2024/04/26 20:57
Liferay npm Bundler
Liferay npm Bundler :::: 2 :gutter: 3 3 3 3 ::: Liferay npm Bundler :link: ./liferay-npm-bundler/liferay-npm-bundler-intro.md ::: ::: Understanding the Liferay npm Bundler Loader :link:...
公開日: 2024/04/26 20:57
Other Tools
Other Tools Liferay CLI Tool Liferay npm Bundler Liferay npm Bundler Understanding Bundler Loaders Changes Between Bundler 1.x and 2.x Default Bundler Loaders How Liferay and Loader...
公開日: 2024/04/26 20:57
Migrating a Plain JavaScript, Billboard JS, JQuery, Metal JS, React, or Vue JS Project to Use Liferay npm Bundler 2.x
Migrating a Plain JavaScript, Billboard JS, JQuery, Metal JS, React, or Vue JS Project to Use Liferay npm Bundler 2.x Follow these steps to migrate the framework projects shown below to use...
公開日: 2024/04/26 20:57
How JavaScript Modules are Formatted for AMD
How JavaScript Modules are Formatted for AMD Liferay AMD Loader is based on the AMD specification. All modules inside an npm OSGi bundle must be in AMD format. This is done for CommonJS modules by...
公開日: 2024/04/26 20:57
How AMD Loader Configuration is Exported
How AMD Loader Configuration is Exported If you don't understand how Liferay AMD Loader works under the hood, please read [Liferay AMD Module Loader](./understanding-bundler-loaders.md) first. ...
公開日: 2024/04/26 20:57
Migrating a liferay-npm-bundler Project from 1.x to 2.x
Migrating a liferay-npm-bundler Project from 1.x to 2.x liferay-npm-bundler 2.x offers more stability and includes more features out-of-the-box. If you already created a project using the 1.x...
公開日: 2024/04/26 20:57
Understanding the npmbundlerrc Structure
Understanding the npmbundlerrc Structure The liferay-npm-bundler is configured via a .npmbundlerrc file placed in the widget project's root folder. You can create a complete configuration manually...
公開日: 2024/04/26 20:57
OSGi Bundles and npm Package Structure
OSGi Bundles and npm Package Structure To deploy JavaScript modules, you must create an OSGi bundle with the npm dependencies extracted from the project's node_modules folder and modify them to...
公開日: 2024/04/26 20:57
Liferay npm Bundler
Liferay npm Bundler The liferay-npm-bundler is a bundler (like Webpack or Browserify) that targets Liferay Portal as a platform and assumes you're using your npm packages from widgets (as opposed...
公開日: 2024/04/26 20:57
Poshi Advantages
Poshi Advantages Simplified Syntax To make it easier for less technical testers to read and write test automation, Poshi uses a simplified Groovy-like script syntax. It is less wordy than most...
公開日: 2024/04/26 20:57
Understanding Test Results and Debugging Tests
Understanding Test Results and Debugging Tests Poshi tests are run on the terminal or command line. When a test run is completed there are multiple ways to view the test results and diagnose test...
公開日: 2024/04/26 20:57
Syntax Validation
Syntax Validation The Poshi Standalone grade projects includes a validation task that can be used to check your code for syntax errors before running your test. To use this, simply run ./gradlew...
公開日: 2024/04/26 20:57
Running a Test
Running a Test Open the poshi-ext.properties file on your poshi-standalone directory and add the following line, replacing the TestCaseFileName#TestCaseName with the one you created in Creating A...
公開日: 2024/04/26 20:57

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy