We are trying to add an image into our domain entity and it just shows a
tiny text-like field in the wicket viewer.

We are using the wicket JDO archetype and the
org.apache.isis.applib.value.Image class.

We expected the image to have an upload like the attachment does.

Please inform us on how we can have images uploaded from the website and
stored in the database.

Below is the code we are using.



private Image image;

        @Persistent
        @Hidden(where = Where.ALL_TABLES)
        @MemberOrder(sequence = "8")
        public Image getImage() {
                return image;
        }

        public void setImage(Image image) {
                this.image = image;
        }




Thank you,

WESTON MYERS

Reply via email to