【问题标题】:How can i create a Dynamic Multi-Select List in hippo cms?如何在 hippo cms 中创建动态多选列表?
【发布时间】:2019-02-06 18:57:26
【问题描述】:

我正在尝试创建一个动态多选列表。我尝试添加 DynamicDropdown 并在 Fields 属性中添加 Multiple 但抛出错误:

出现错误,抱歉。

java.lang.IllegalStateException: org.onehippo.forge.selection.frontend.plugin.DynamicDropdownPlugin 不支持多个字段:请使用 org.onehippo.forge.selection.frontend.plugin.DynamicMultiSelectPlugin 为了那个原因。字段名称为 *。无法实例化插件类 'org.onehippo.forge.selection.frontend.plugin.DynamicDropdownPlugin' 检票口编号 'home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.defaultEditorFactory.cluster.cms-editor0.plugin.editorPlugin.cluster.默认.plugin.preview.cluster。 默认.plugin.dynamicdropdown-preview.cluster..plugin.home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.defaultEditorFactory.cluster.cms-editor0.plugin。 editorPlugin.cluster.default.plugin.preview.cluster.default.plugin.dynamicdropdown.cluster.default.service.wicket.id' 在插件中 'home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.defaultEditorFactory.cluster.cms-editor0.plugin.editorPlugin.cluster.默认.plugin.preview.cluster。 默认.plugin.dynamicdropdown-preview.cluster..plugin.home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.defaultEditorFactory.cluster.cms-editor0.plugin。 editorPlugin.cluster.default.plugin.preview.cluster.default.plugin.dynamicdropdown.cluster.default.plugin.root' (JcrPluginConfig:/hippo:namespaces/system/DynamicDropdown/editor:templates/default/root)

【问题讨论】:

  • 如果您需要某人的帮助,请提供更多信息、具体细节和代码。

标签: hippocms


【解决方案1】:

实际上 DynamicDropdownPlugin 并不适用于多选,您应该使用 DynamicMultiSelectPlugin。使用 Essentials set=up 工具最容易安装,请参阅“将选择字段添加到文档类型” 在https://documentation.bloomreach.com/library/concepts/plugins/selections/configuration.html 使用设置应用程序

HTH 杰伦

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-02
    相关资源
    最近更新 更多