Legacy Knowledge Base
公開されました Sep. 10, 2025

AUI Ajax 呼び出しクラス

Written By

Ryan Snuggs

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

データの取得に AUI Ajax 呼び出しが使用されています。 Liferay 6.2 と Liferay DXP 7.3 の間で呼び出しがわずかに変更されました。

1) 6.2 のコードは次のとおりです。

AUI().use("aui-base", "aui-io-request", function(A) {
A.io.request(XYZ_URL, {---}) });


2) 7.3 では、コードが次のように更新されました。

AUI().use("aui-base", "aui-io-request-deprecated", function(A) {
A.io.request(XYZ_URL, {---}) });

Environment

  • Liferay 7.2

解決策

  • 7.3 バージョンの呼び出しは非推奨ですが、引き続き使用できます:
    AUI().use("aui-base", "aui-io-request-deprecated", function(A) {
    A.io.request(XYZ_URL, {---}) });

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base