Enable referencing o:graphicImage URL in EL #287

Closed
BalusC opened this Issue Jul 18, 2016 · 1 comment

Projects

None yet

1 participant

@BalusC
Member
BalusC commented Jul 18, 2016

Add of:graphicImageURL() EL function to make this case possible.

<h:outputLink value="#{of:graphicImageURL('bean.getFullImage(item.id)')}">
    <o:graphicImage value="#{bean.getThumbnailImage(item.id)}" />
</h:outputLink>
@BalusC
Member
BalusC commented Jul 21, 2016 edited

In hindsight, images wouldn't be bookmarkable after the server restarts and the associated page is not requested yet. This needs rethinking. Perhaps a special bean scope annotation.

@BalusC BalusC closed this in 93d8012 Jul 23, 2016
@BalusC BalusC added a commit that referenced this issue Jul 23, 2016
@BalusC BalusC #287 improved javadoc d7bd64e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment