Legacy Knowledge Base
公開されました Jul. 2, 2025

データ プロバイダーを使用して、国に基づいて州を入力する

Written By

Kanchan Bisht

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.

問題

Environment

  • Liferay 7.2

解決策

  • 登録済みの「JSON」Web サービスのリストを検索するか、Liferay DXP でこれらのサービスを使用するには、 'http://localhost:8080/api/jsonws' に移動します ローカル サーバーが実行されている場合 .
  • 'https://restcountries.eu/rest/v2/region/{region}?fields=name' URL は、世界の国々に地域 (アメリカ、ヨーロッパ、オセアニアなど) フィルターを適用するために公開されています。州ではなく、それが国の選択に基づいて州を入力できない理由です。
  • 国の選択に基づいて州を設定する必要がある場合は、カスタマイズまたは別の外部 REST Web サービスを選択する必要があります。
    • REST Web サービスを使用する前に、その応答をテストしてください。
    • カスタマイズは、Liferay サポートを超えています。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base