HI Bernhard,
Thanks for your valuable response. It worked fine.
Regards
Shabbir
-Original Message-
From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 1:56 PM
To: 'Struts Users Mailing List'
Subject: AW: How to Show gif image instead of html button in
use html:image
http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#image
Nico.
- Original Message -
From: Shabbir Khadir Mohammed [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 9:15 AM
Subject: How to Show gif image instead of
if you want to use localizable buttons this is not a good approach.
because you are not able to nested tags in tags.
you are not able to do this:
html:image page=../bean:message key=images.buttons.url//Apply.gif/
property=submit value=Enter/
so i use this:
html:link
This should work too :
bean:define id=localImage type=String
bean:message key=images.buttons.url/
/bean:define
html:image page=%= localImage % property=submit/
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
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
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.
Not scriplet !
JSP scriptlet is :
%
hi guido,
you can do whatever you want.
but i will avaoid using scriptlets in my code.
i think thats the reason why struts came into life.
and now i wnat to stop further discussions about this theme.
-Original Message-
From: Guido [mailto:[EMAIL PROTECTED]
Sent: Montag, 24. Februar 2003
Don't feel it as an agression Georg,
I agree with you it's a good practice to avoid scriplet in JSP, and myself I
never use it and suggest never using it. They're is alway a way to do
without scriptlet, (if not, perhaps your beans are not well designed for you
webapp, or think about building a
hi nico,
i didnt feel it as an agression.
but my english is not that best so i wanted do prevent any discussion
that would request a better english.
so sorry if i hurt you.
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Montag, 24. Februar 2003 11:58
To: Struts
9 matches
Mail list logo