Subject: Re: image button question
From: "Robert Gottofrey" <[EMAIL PROTECTED]>
 ===
Britt,

try using the 'page' attribute instead of 'src', something like:
<html:image page="/images/<%=terrbutton1%>" property...

Robert

"Monker" <[EMAIL PROTECTED]> wrote in message
news:aa4d2s$mus$[EMAIL PROTECTED]...
> Hello,
>
> I am trying to create an image button and set the img src within the
action
> class.  When I do this, I get a broken link to the picture...but, the link
> back to the action class works.  I can display the pic as a regular image
> (not a button), so I know the property exists and is the correct value.
> Here is the code:
>
> <TD width="138" align="left">
> <html:image src="/images/<%=terrbutton1%>" property="territory1"
> value="terr1"></html:image></TD>
> <TD width="340"><%= displayterritory1 %> </TD>
>
> Can I not use a property like this within an image tag?  Is there a simple
> work around?  I am using the current release of Struts, not the nightly
> update or the Beta...and WSAD 4.02.
>
> Thanks,
>
>     Britt
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to