I have created a document type for dropdowns and generated bean as below… still it shows same errors in logs. Please let me know if I am missing any ?
YAML File
definitions:
config:
/hippo:namespaces/brx/ValueListDocument:
jcr:primaryType: hipposysedit:templatetype
jcr:mixinTypes: [‘editor:editable’, ‘mix:referenceable’]
jcr:uuid: 49ac209e-c811-431b-bf27-bec2118c8bfb
/hipposysedit:nodetype:
jcr:primaryType: hippo:handle
jcr:mixinTypes: [‘mix:referenceable’]
jcr:uuid: 4b50b5c8-61d8-42b6-ba39-799e9c2419d7
/hipposysedit:nodetype:
jcr:primaryType: hipposysedit:nodetype
jcr:mixinTypes: [‘mix:referenceable’, ‘hipposysedit:remodel’]
jcr:uuid: b434080e-fe2e-4e19-9cdc-9bd3e4b1a481
hipposysedit:node: true
hipposysedit:supertype: [‘brx:basedocument’, ‘hippostd:relaxed’, ‘hippotranslation:translated’]
hipposysedit:uri: http://www.onehippo.org/brx/nt/1.0
/fClass:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: brx:fClass
hipposysedit:primary: false
hipposysedit:type: DynamicDropdown
hipposysedit:validators: [required]
/hipposysedit:prototypes:
jcr:primaryType: hipposysedit:prototypeset
/hipposysedit:prototype:
jcr:primaryType: brx:ValueListDocument
hippostd:holder: holder
hippostd:state: draft
hippostdpubwf:createdBy: ‘’
hippostdpubwf:lastModifiedBy: ‘’
hippotranslation:id: document-type-locale-id
hippotranslation:locale: document-type-locale
jcr:mixinTypes: [‘mix:referenceable’]
brx:fClass: ‘’
jcr:uuid: 64ab1eee-cfc8-41f0-a19c-85fd19c273b7
hippostdpubwf:lastModificationDate: 2021-02-05T12:47:32.676+05:30
hippostdpubwf:creationDate: 2021-02-05T12:47:32.676+05:30
/editor:templates:
jcr:primaryType: editor:templateset
/default:
jcr:primaryType: frontend:plugincluster
frontend:properties: [mode]
frontend:references: [wicket.model, model.compareTo, engine, validator.id]
frontend:services: [wicket.id, validator.id]
/root:
jcr:primaryType: frontend:plugin
item: {cluster.id}.field
plugin.class: org.hippoecm.frontend.service.render.ListViewPlugin
/fClass:
jcr:primaryType: frontend:plugin
caption: F Class
field: fClass
hint: 1,2,3
plugin.class: org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin
wicket.id: {cluster.id}.field
/cluster.options:
jcr:primaryType: frontend:pluginconfig
source: /content/documents/administration/value-lists/--classes
JAVA Snippet
import org.hippoecm.hst.content.beans.Node;
import org.hippoecm.hst.content.beans.standard.HippoDocument;
import org.onehippo.cms7.essentials.dashboard.annotations.HippoEssentialsGenerated;
@HippoEssentialsGenerated(internalName = “brx:ValueListDocument”, allowModifications = false)
@Node(jcrType = “brx:ValueListDocument”)
public class ValueListDocument extends HippoDocument {
@HippoEssentialsGenerated(internalName = "brx:fClass")
public String getFClass() {
return getSingleProperty("brx:fClass");
}
}