java.lang.IllegalStateException: org.onehippo.forge.selection.frontend.plugin.DynamicDropdownPlugin does not support fields that are multiple: please use org.onehippo.forge.selection.frontend.plugin.DynamicMultiSelectPlugin for that. Field name is *.
Failed to instantiate plugin class 'org.onehippo.forge.selection.frontend.plugin.DynamicDropdownPlugin' for wicket id 'home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.defaultEditorFactory.cluster.cms-editor.plugin.editorPlugin.cluster._default_.plugin.preview.cluster._default_.plugin.supplier-preview.cluster..plugin.home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.defaultEditorFactory.cluster.cms-editor.plugin.editorPlugin.cluster._default_.plugin.preview.cluster._default_.plugin.supplier.cluster._default_.service.wicket.id' in plugin 'home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.defaultEditorFactory.cluster.cms-editor.plugin.editorPlugin.cluster._default_.plugin.preview.cluster._default_.plugin.supplier-preview.cluster..plugin.home.cluster.cms-static.plugin.servicesLoader.cluster.cms-services.plugin.defaultEditorFactory.cluster.cms-editor.plugin.editorPlugin.cluster._default_.plugin.preview.cluster._default_.plugin.supplier.cluster._default_.plugin.root' (JcrPluginConfig:/hippo:namespaces/system/DynamicDropdown/editor:templates/_default_/root)
So there is a DynamicMultiSelec plugin, but it is not available in the document editor, I copy the DynamicaDropdown JCR node
Now the Plugin is available in the document editor
But it doesn't work, when hippo try to instantite it there is a class cast exception in FieldPluginHelper clas in method:
public JcrNodeModel getNodeModel() {
return (JcrNodeModel) getPluginContext().getService(getPluginConfig().getString("wicket.model"),
IModelReference.class).getModel();
}
the getPluginContext().getService(getPluginConfig().getString("wicket.model"), IModelReference.class).getModel() returns a org.hippoecm.frontend.model.properties.JcrPropertyValueModel object and it is trying cast to JcrNodeModel
Is possible have a Mutltiselect dropdown available in document editor?
Thanks!
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.