Answer the question
In order to leave comments, you need to log in
How to make a button with a custom image in ICEfaces 3 and above?
Hello. There is code that works with ICEfaces components version 2 and below:
<ice:commandLink partialSubmit="true"
title="#{controller.description}"
actionListener="#{controller.actionPerformed}"
styleClass="toolbarButtonText"
immediate="#{controller.action.immediate}"
>
<h:graphicImage value="#{controller.icon!=null?(controller.icon):(sessionContext.styleManager.zeroIcon)}"
border="0" alt="#{controller.description}"/>
<h:outputText value="#{controller.title}"
rendered="#{controller.icon==null}"/>
</ice:commandLink>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question