I'm currently working on a hippo component and I need the image link, alt, and title:
Component Method:
public HippoGalleryImageSetBean getImage() {
return getLinkedBean(Constants.NS_FLD_IMAGE,
HippoGalleryImageSetBean.class);
}
I would like to write my Component JSP like this below:
<c:forEach var="item" items="${ document.links }"
varStatus="loopStatus">
<hst:link var="image"hippobean="${ item.image.original }" />
<li><img
src="${ image }"
alt="${ image.alt }"
title="${ image.title} ">
</li>
</c:forEach>
--
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 http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
<c:forEach var="item" items="${ document.links }"
varStatus="loopStatus">
<hst:link var="imagelink"hippobean="${ item.image.original }" />
<li><img
src="${ imagelink }"
alt="${ item.image.alt }"
title="${ item.image.title} ">
</li>
</c:forEach>
You received this message because you are subscribed to a topic in the Google Groups "Hippo Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hippo-community/UW4kxKLasbU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hippo-communi...@googlegroups.com.
So what's the best approach on creating those fields.I would like to create something in common so I can use across the board.