bloomreach / bloomreach/docs-feedback
Missing instruction to run the Bean Writer
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
On page https://documentation.bloomreach.com/trails/developer-trail/configure-out-of-the-box-features/configure-image-variants.html I was instructed by the page to add an image set. However later when following https://documentation.bloomreach.com/trails/developer-trail/configure-out-of-the-box-features/configure-home-page.html non of the banners in the carousel showed the image - it took me time to work out why. The fix was to run the Bean Writer. The missing code was:
```java
package org.example.beans;
import org.onehippo.cms7.essentials.dashboard.annotations.HippoEssentialsGenerated;
import org.hippoecm.hst.content.beans.Node;
import org.hippoecm.hst.content.beans.standard.HippoGalleryImageSet;
import org.hippoecm.hst.content.beans.standard.HippoGalleryImageBean;
@HippoEssentialsGenerated(internalName = "gogreen:imageset")
@Node(jcrType = "gogreen:imageset")
public class Imageset extends HippoGalleryImageSet {
@HippoEssentialsGenerated(internalName = "gogreen:small")
public HippoGalleryImageBean getSmall() {
return getBean("gogreen:small", HippoGalleryImageBean.class);
}
@HippoEssentialsGenerated(internalName = "gogreen:large")
public HippoGalleryImageBean getLarge() {
return getBean("gogreen:large", HippoGalleryImageBean.class);
}
@HippoEssentialsGenerated(internalName = "gogreen:smallsquare")
public HippoGalleryImageBean getSmallsquare() {
return getBean("gogreen:smallsquare", HippoGalleryImageBean.class);
}
@HippoEssentialsGenerated(internalName = "gogreen:mediumsquare")
public HippoGalleryImageBean getMediumsquare() {
return getBean("gogreen:mediumsquare", HippoGalleryImageBean.class);
}
@HippoEssentialsGenerated(internalName = "gogreen:largesquare")
public HippoGalleryImageBean getLargesquare() {
return getBean("gogreen:largesquare", HippoGalleryImageBean.class);
}
@HippoEssentialsGenerated(internalName = "gogreen:banner")
public HippoGalleryImageBean getBanner() {
return getBean("gogreen:banner", HippoGalleryImageBean.class);
}
}
```
Please consider adding that the Bean Writer will need to be ran on this page https://documentation.bloomreach.com/trails/developer-trail/configure-out-of-the-box-features/configure-image-variants.html after the image set has been added.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.