Michael,
Sure. Basically I want to do the same thing you are apparently questing for:
the ability to replace standard browser buttons with images. I have an application
that I want to retrofit to this, and I have used LookupDispatchAction and other
approaches in it. I have a wizard (workflow) type of process in it that requires,
next, previous, finish buttons in it. Cancel buttons are on all of the forms. And,
I have a file upload page, that was my purpose in launching this thread. I've
been reading what you've proposed for image buttons, along with what others
say in general.
I use DynaValidatorForm in most places. One thing I find a little odd is the
usage of <html:cancel>. There are several forms in my application where
I don't want to validate if a certain button is pressed but it does not mean
cancel. I still need to take some action. For example, in the wizard form
set I spoke of previously, say you are on page 2 of the 5 page set. There
are three buttons on the form: Previous, Next, and Cancel. If the user
hits next, I want to validate. If the user hits cancel, I don't want to validate
so I hit the cancel method. The wierd case is when the user hits Previous.
The way I have it right now, it validates the current page before going back
one page. I'd really like it to go the previous page without validating the
current page. I am reading the source code for Action, DispatchAction,
and LookupDispatchAction to determine how best to do this.
Anyway, back to your request for teaming up. I'll do what I can. Can you share what you've discovered so far?
Dean Hoover
Michael McGrady wrote:
Dean A. Hoover wrote:
Wow, you've been busy. Just getting back to
look at what has been suggested. I did a little
poking around on the internet and found:
If you want to do the button thing with the forms, you first have to learn how to do it with the html and only then take it to struts. Struts pretty much mirrors the html with extras tossed in in that good-old struts way. So, want to join in on the html hunt? I am not sure that Erik is still with us (You still with us, Erik?) because he may be satisfied with just altering the button that comes with <input type='file'>.
Michael 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]