0
我是AEM新手,考虑我的js会返回itemList(例如:var itemList = list.getItems();)。 每个项目的框架是:基于语言环境下的人口下降(轻微AEM)
interface Item {
/**
* Get the item's title.
*
* @return the title
*/
@Nonnull
String getTitle();
/**
* Get the item's localized title.
*
* @param locale the locale for localization
*
* @return the title
*/
@Nonnull
String getTitle(Locale locale);
/**
* Get the item's value.
*
* @return the value
*/
@Nonnull
String getValue();
}
我怎样才能获得基于区域标题代替在select
标签的HTML代码如下提到${list.title}
(即调用getTitle(locale)
)(我需要这两个标题(区域)和值在项目列表中): option value =“$ {list.value}”> $ {list.title}