如何将图像值添加到 h:commandlink?

How do I add an image value to h:commandlink?

谁能告诉我如何向此代码添加图像值而不是文本值?

<h:commandLink 
    action="#{gridHandlerXml.removeLinesFromGroups}"
    render="quote-table, totalPanel, revisionTabs" execute="@this"
    disabled="#{currentQuote.convertInProgress}" 
    onclick="#{rich:component('fcprocessing:processingpopup')}.show()" 
    oncomplete="#{rich:component('fcprocessing:processingpopup')}.hide()" />

非常简单:只需在命令 link:

中嵌入一个 h:graphicImage
<h:commandLink action="#{gridHandlerXml.removeLinesFromGroups}">
    <h:graphicImage url="resources/path/to/your/image"/>
</h:commandLink>