Why bother? Just do

<f:selectItem ... style="background-image: url(/images/icons/someIcon.gif);"/>

L.

Andrew Robinson wrote:
You could build your own custom renderer to do this.

On 2/17/06, Mike Duffy <[EMAIL PROTECTED]> wrote:
There is a cool technique to add image icons to drop-down lists:

<option id="issuetype" value="1" style="background-image: 
url(/images/icons/someIcon.gif);"
   selected="selected">Some Label</option>

Is there anyway to do this with SelectItems in JSF?

Thx.

Mike

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



Reply via email to