Re: Adding Image Icons to Drop Down Lists

2006-02-18 Thread Andrew Robinson
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=selectedSome Label/option

Re: Adding Image Icons to Drop Down Lists

2006-02-18 Thread Laurie Harper
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:

Re: Adding Image Icons to Drop Down Lists

2006-02-18 Thread Andrew Robinson
Lol, good point, been working too hard I guess... On 2/18/06, Laurie Harper [EMAIL PROTECTED] wrote: 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

Re: Adding Image Icons to Drop Down Lists

2006-02-18 Thread Mike Duffy
I should have been more clear. I am using a collection of SelctItems with the f:selectItems.../ tag. I think it will be necessary to specify the style through each SelectItem object. Mike --- Andrew Robinson [EMAIL PROTECTED] wrote: Lol, good point, been working too hard I guess... On

Adding Image Icons to Drop Down Lists

2006-02-17 Thread Mike Duffy
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=selectedSome Label/option Is there anyway to do this with SelectItems in JSF? Thx. Mike