You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Shawn Church <sh...@boxity.com> on 2004/04/01 18:10:05 UTC
Image source
I have an image URL stored in a database, and I am wanting to simply
insert the URL as a string inside an <img>. Can I do this without
using an @Image (and having to construct an IAsset)?
Something to this effect is what I'm after:
<img src="<span jwcid='@Insert'
value='ognl:descriptionsBean.Photo'></span>" />
Shawn
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: Image source
Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
<img jwcid="@Any" src="ognl:descriptionBeans.Photo"/>
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Tapestry: Java Web Components
http://howardlewisship.com
> -----Original Message-----
> From: Shawn Church [mailto:shawn@boxity.com]
> Sent: Thursday, April 01, 2004 11:10 AM
> To: Tapestry users
> Subject: Image source
>
>
> I have an image URL stored in a database, and I am wanting to simply
> insert the URL as a string inside an <img>. Can I do this without
> using an @Image (and having to construct an IAsset)?
>
> Something to this effect is what I'm after:
> <img src="<span jwcid='@Insert'
> value='ognl:descriptionsBean.Photo'></span>" />
>
> Shawn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org