Think you want to use CSS styling on the select items. I know there was a thread on this in the past that discussed how to assign individual images to each select item (<option>).

On 4/20/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
Richard Wallace wrote:
> 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="" }/images/label1.png&quot;>"
> />
>
> Or is there a better way of accomplishing this?
>
> Thanks,
> Rich
Well, the above idea doesn't work.  Not that that surprises me too
much.  It just displays the text rather than the image.  So is there any
way to accomplish this with things as they are, or would it require a
custom selectItem component to be written?  And if so, does anyone know
of one out there already?

Thanks,
Rich

Reply via email to