Re: dynamic img src attribute

2002-09-20 Thread Eddie Bush
... and if you happen to be able to use the JSTL ... David Karr wrote a taglib for struts which should soon be in the contrib directory. It's called Struts-EL, and it incorporates the JSTL's EL engine into the standard Struts tags we all know and love. Using his taglib, you could do the

Re: dynamic img src attribute

2002-09-19 Thread Danny Mui
html:img ... / accepts a page (context sensitive) or a src (no mucking around). similar to the html:link / tag you can provide a map to have it generate the URL components for you, Map linkMap = new HashMap(); linkMap.put(image, image222311.jpg); linkMap.put(application, photos); html:img

RE: dynamic img src attribute

2002-09-19 Thread Andy Kriger
That is neat - but I'm not talking about query parameters. I'm talking about the src string itself. -Original Message- From: Danny Mui [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 15:39 To: Struts Users Mailing List Subject: Re: dynamic img src attribute html:img

RE: dynamic img src attribute

2002-09-19 Thread Dave Weis
On Thu, 19 Sep 2002, Andy Kriger wrote: That is neat - but I'm not talking about query parameters. I'm talking about the src string itself. img src=bean:write name=BEAN property=property/ should do it. dave I tried asking this few days ago when my understanding of struts was

RE: dynamic img src attribute

2002-09-19 Thread Andy Kriger
PROTECTED]] Sent: Thursday, September 19, 2002 16:04 To: Struts Users Mailing List Subject: RE: dynamic img src attribute On Thu, 19 Sep 2002, Andy Kriger wrote: That is neat - but I'm not talking about query parameters. I'm talking about the src string itself. img src=bean:write name=BEAN

RE: dynamic img src attribute

2002-09-19 Thread Martin Cooper
, September 19, 2002 1:03 PM To: Struts Users Mailing List Subject: RE: dynamic img src attribute When I tried something like that, the bean:write .../ string ended up in my HTML img src - it wasn't interpreted (that is what I'd expect to happen since XML isn't supposed to have tags w

RE: dynamic img src attribute

2002-09-19 Thread Bartley, Chris P [PCS]
: Thursday, September 19, 2002 3:03 PM To: Struts Users Mailing List Subject: RE: dynamic img src attribute When I tried something like that, the bean:write .../ string ended up in my HTML img src - it wasn't interpreted (that is what I'd expect to happen since XML isn't supposed to have tags w