<html:image page="<%= localImage %>" property="submit"/>

-----Original Message-----
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Montag, 24. Februar 2003 10:07
To: Struts Users Mailing List
Subject: Re: How to Show gif image instead of html "button" in the forms
for <html:submit> tag ?


This should work too :

<bean:define id="localImage" type="String">
  <bean:message key="images.buttons.url"/>
</bean:define>
<html:image page="<%= localImage %>" property="submit"/>

1. Might be. dont know. 
   but you should avoid using scriptlets in your code.
   and this is scriptlet.


> and this is browser-indepentend. as far as i know <input type="image"...
is
> IE-specific.

input type="image" is HTML 3.2, not browser dependent (notice Struts doesn't
use any browser specific tags).

Nico.


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


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

Reply via email to