如何以编程方式(在 JSP 中)将下拉菜单中的项目设置为“已选择”?以下是我的代码。
<cq:include path="./country" resourceType="foundation/components/form/dropdown" />
我在下拉列表中有一个国家列表,并希望根据传递给 JSP 的值选择一个国家。
Find centralized, trusted content and collaborate around the technologies you use most.
Learn moreTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more如何以编程方式(在 JSP 中)将下拉菜单中的项目设置为“已选择”?以下是我的代码。
<cq:include path="./country" resourceType="foundation/components/form/dropdown" />
我在下拉列表中有一个国家列表,并希望根据传递给 JSP 的值选择一个国家。