Check out the gmail.com link for attach file. It gives the <input
type="file"> functionality through a link. If you can figure that out then
you can replace the link text with an image.
BAL
From: Michael McGrady <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: <input type='file'> image challenge?
Date: Tue, 28 Sep 2004 20:11:09 -0700
There is, I understand, a challenge on the Internet to get code to allow
the use of images with <input type='file'>, or the famous "browse" button.
I don't know if this is true, but, if it is, there is a solution at
www.michaelmcgrady.com under "coding ideas". Any feedback would be
appreciated.
There is some code on the sample page that is peculiar to my applications
and my application taglibs. However, they are easily replaced by standard
Struts tags which do less but work fine for this example. The cool thing
is that this problem actually IS unsolvable, and, once you realize that, a
solution is easy. He he he!
An honorable member of these lists, who will remain unnamed, has vowed to
bow at the altar of my greatness, if I did this. Shoot, and here I am
without such an altar. I have a cereal bowl? Would that do? He he he!
Cheers,
Micheal McGrady
---------------------------------------------------------------------
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]