bloomreach / docs-feedback

1 stars 0 forks source link

Documentation about custom validation fields missing information to make it work #100

Closed CB-Joris closed 2 years ago

CB-Joris commented 2 years ago

https://xmdocumentation.bloomreach.com/library/concepts/plugins/create-a-custom-field-validator.html

Above steps will not work withoud adding the validation id to the editor template in the yaml file. Took us 2 days to find out so please add this on this page.

frontend:references: [ wicket.model, model.compareTo, engine, validator.id ] frontend:services: [ wicket.id, validator.id ]

full_yaml_file.txt

Please add this to the documentation to help people in the future.

nvankampenhout commented 2 years ago

Thanks for the feedback and apologies for the missing info @CB-Joris , we'll try to pick this up asap.

nvankampenhout commented 2 years ago

I verified and confirmed this issue and added a "Troubleshooting" paragraph to the documentation page:

https://xmdocumentation.bloomreach.com/library/concepts/plugins/create-a-custom-field-validator.html#Troubleshooting