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

learn-legacy-article-disclaimer-text

問題

データの取得に 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