I'd like to use images as the labels for the selectItems in selectOneRadio component. Since itemLabel is an attribute of the selectItem component, I can't just use a graphicImage. Am I going to have to hack together some funky text label to do it? Something like

<f:selectItem itemValue="1" itemLabel="<img src=&quot;#{facesContext.externalContext.requestContextPath}/images/label1.png&quot;>" />

Or is there a better way of accomplishing this?

Thanks,
Rich

Reply via email to