html:image swapping

2003-10-01 Thread koen boutsen
Hi I use html:img bundle=imageBundle pageKey=img.salesrep.delete / and get the image out of a resource file. If the cursor moves over the image, I want to switch theimage via the onMouseOver event. Does anyone know how I can do this. The new image has to come out of the resource file. I

Re: html:image swapping

2003-10-01 Thread Frank Maritato
You will have to write your own taglib to do this. I wrote one that extended org.apache.struts.taglib.html.ImgTag and just added the call to RequestUtils.message to get the image location from the resource key and then output the onmouseover and onmouseout tags. Take a look at the source for