Re: image button for file upload

2004-08-23 Thread Michael McGrady
After all our talk, you and Erik are not interested in this solution, Dean? That surprises me. Anyway, I have got it working and am thinking about putting it on the wiki. Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [OT] PROBLEMS SOLVED BELIEVE IT OR NOT: Re: image button for file upload

2004-08-23 Thread struts lover
PROTECTED] > > Sent: Monday, August 23, 2004 1:27 PM > > To: Struts Users Mailing List > > Subject: [OT] PROBLEMS SOLVED BELIEVE IT OR NOT: > Re: image > > button for file upload > > > > > > Thanks to all who addressed this issue. I thought > out of

RE: [OT] PROBLEMS SOLVED BELIEVE IT OR NOT: Re: image button for file upload

2004-08-23 Thread Ed Yu
-8831, FAX (803)777-8833, Email [EMAIL PROTECTED] > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Monday, August 23, 2004 1:27 PM > To: Struts Users Mailing List > Subject: [OT] PROBLEMS SOLVED BELIEVE IT OR NOT: Re: image > butt

[OT] PROBLEMS SOLVED BELIEVE IT OR NOT: Re: image button for file upload

2004-08-23 Thread Michael McGrady
Thanks to all who addressed this issue. I thought out of the box and solved this apparently unsolveable problem. All the credit goes to the matrix. THERE IS NO SPOON! Anyone interested in the solution? Michael McGrady - To u

Re: image button for file upload

2004-08-23 Thread Michael McGrady
THE BOTTOM LIINE IS THAT WE NEED TO SEND THE FOLLOWING (except with post): browse=jakarta-service.log&submit.x=20&submit.y=6 With this, we can tell which submit button was sent and what the file is. - To unsubscribe, e-mail: [EMAIL

Re: image button for file upload

2004-08-23 Thread Michael McGrady
Slattery, Tim - BLS wrote: As a result, the value being sent with file is not really the name of the file, but, rather, the location of the file combined with the x and y coordinates of the place the button was clicked. I could do a work around with this in the model. But that particular relat

Re: image button for file upload

2004-08-23 Thread Michael McGrady
Erik Weber wrote: I see. I just want the button to look like the other buttons in my application. So, I suppose I could take a screen shot of a submit button that is styled just how I want it, and use that to make an image button. Then it would appear to be just like all the other buttons on my

RE: image button for file upload

2004-08-23 Thread Slattery, Tim - BLS
> I see. I just want the button to look like the other buttons in my > application. So why not use ? -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: image button for file upload

2004-08-23 Thread Slattery, Tim - BLS
> As a result, the value being sent with file is not really the name of > the file, but, rather, the location of the file combined with > the x and y coordinates of the place the button was clicked. > I could do a work around with this in the model. But that particular > relationship between t

Re: image button for file upload

2004-08-23 Thread Erik Weber
I see. I just want the button to look like the other buttons in my application. So, I suppose I could take a screen shot of a submit button that is styled just how I want it, and use that to make an image button. Then it would appear to be just like all the other buttons on my application, even

Re: image button for file upload

2004-08-23 Thread Michael McGrady
Erik Weber wrote: Tim, thank you. Could I change the input type to "submit" instead of "image"? I just want my "browse" button to look just like all my other submit buttons . . . Erik One of the problems with "submit", Erik, is that you cannot identify multiple instances of submit tags. So, i

Re: image button for file upload

2004-08-23 Thread Michael McGrady
Slattery, Tim - BLS wrote: You are a life saver. This is so cool. However, the "browse" button in this case is not a browse button but, rather, a submit button. Can you leave this as it is and also give us a submit button? Thanks a ton. This should show my partners in this crime that a su

Re: image button for file upload

2004-08-23 Thread Michael McGrady
Slattery, Tim - BLS wrote: You are a life saver. This is so cool. However, the "browse" button in this case is not a browse button but, rather, a submit button. Can you leave this as it is and also give us a submit button? Thanks a ton. This should show my partners in this crime that a su

Re: image button for file upload

2004-08-23 Thread Michael McGrady
Slattery, Tim - BLS wrote: So far I have this, Erik, which works in IE but not in Mozilla. Anyone have any other ideas on this? I did this before but lost it in a computer crash. Absolutely right, this won't work in Mozilla. IE allows this kind of addressing, but it's non-stan

Re: image button for file upload

2004-08-23 Thread Erik Weber
Tim, thank you. Could I change the input type to "submit" instead of "image"? I just want my "browse" button to look just like all my other submit buttons . . . Erik Slattery, Tim - BLS wrote: So far I have this, Erik, which works in IE but not in Mozilla. Anyone have any other ideas on this?

RE: image button for file upload

2004-08-23 Thread Slattery, Tim - BLS
> You are a life saver. This is so cool. However, the > "browse" button in this case is not a browse button but, > rather, a submit button. Can you leave this as it is and > also give us a submit button? Thanks a ton. This should > show my partners in this crime that a submit is > defini

Re: image button for file upload

2004-08-23 Thread Michael McGrady
Slattery, Tim - BLS wrote: So far I have this, Erik, which works in IE but not in Mozilla. Anyone have any other ideas on this? I did this before but lost it in a computer crash. Absolutely right, this won't work in Mozilla. IE allows this kind of addressing, but it's non-stan

RE: image button for file upload

2004-08-23 Thread Slattery, Tim - BLS
> So far I have this, Erik, which works in IE but not in > Mozilla. Anyone have any other ideas on this? I did > this before but lost it in a computer crash. > > > > src='browse.gif'> > Absolutely right, this won't work in Mozilla. IE allows this kind of addressing, but it's non-standard

Re: image button for file upload

2004-08-22 Thread Michael McGrady
Dean A. Hoover wrote: Michael, I thought you said you hadn't actually done the upload. That's what I'm talking about. So, even if you can get a file path to show up in a text input in response to hitting a browse image button, I still think it will not work, even in IE. Even though you are on a mis

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
Michael, I thought you said you hadn't actually done the upload. That's what I'm talking about. So, even if you can get a file path to show up in a text input in response to hitting a browse image button, I still think it will not work, even in IE. Even though you are on a mission to make what you'

Re: image button for file upload

2004-08-22 Thread Michael McGrady
Dean A. Hoover wrote: Michael, I'm still researching on the web and alot of what I am seeing is that it is not possible. There is mention that this is strongly controlled by the browser for security purposes, to prevent malicious websites from uploading files on the client box by just doing javascr

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
Michael, I'm still researching on the web and alot of what I am seeing is that it is not possible. There is mention that this is strongly controlled by the browser for security purposes, to prevent malicious websites from uploading files on the client box by just doing javascript hacks. Seems to ma

Re: image button for file upload

2004-08-22 Thread Michael McGrady
Dean A. Hoover wrote: Michael McGrady wrote: Hi, Dean, I am a pretty meat and potatoes kind of genius. I need to solve one thing at a time. So, right now I am going to stick with only the image deal with file uploads. I have the following which works okay with IE but not with Mozilla. W

Re: image button for file upload

2004-08-22 Thread Michael McGrady
Dean A. Hoover wrote: Michael McGrady wrote: Hi, Dean, I am a pretty meat and potatoes kind of genius. I need to solve one thing at a time. So, right now I am going to stick with only the image deal with file uploads. I have the following which works okay with IE but not with Mozilla. W

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
Michael McGrady wrote: Hi, Dean, I am a pretty meat and potatoes kind of genius. I need to solve one thing at a time. So, right now I am going to stick with only the image deal with file uploads. I have the following which works okay with IE but not with Mozilla. What does the jsp do? Ar

Re: image button for file upload

2004-08-22 Thread Michael McGrady
Dean A. Hoover wrote: 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

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
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) typ

Re: image button for file upload

2004-08-22 Thread Michael McGrady
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. Stru

Re: image button for file upload

2004-08-22 Thread Michael McGrady
Erik Weber wrote: Awesome. Now, do you have any idea how I could change the font or the text of the button, without actually making it an image? Well that is an entirely different matter, Erik, and a much simpler one. But, it is not the problem I have. I am trying to put together for struts o

Re: image button for file upload

2004-08-22 Thread Dean A. Hoover
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: http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_20398679.html It uses 2 forms to do this. Can't get it to (really) work. Can't get yours to work either. I ha

Re: image button for file upload

2004-08-22 Thread Erik Weber
Awesome. Now, do you have any idea how I could change the font or the text of the button, without actually making it an image? Michael McGrady wrote: So far I have this, Erik, which works in IE but not in Mozilla. Anyone have any other ideas on this? I did this before but lost it in a compute

Re: image button for file upload

2004-08-22 Thread Michael McGrady
So far I have this, Erik, which works in IE but not in Mozilla. Anyone have any other ideas on this? I did this before but lost it in a computer crash. Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: image button for file upload

2004-08-22 Thread Michael McGrady
No worries, Erik! Let's roll our own. We can work together on this. The key for a starter is using the attribute of style='display:none' in the tag, i.e. I am looking around for more. When we get a workable solution for IE, it probably won't work for Mozilla, etc. and we can go from there

Re: image button for file upload

2004-08-22 Thread Erik Weber
Well I was mistaken. He did not know of a way to customize the button, only that you can customize the text field with CSS. He made the text field flush with the button and tuned the colors so that the text field and button appeared to be one custom element. But it's still the same old button.

Re: image button for file upload

2004-08-22 Thread Michael McGrady
Erik Weber wrote: I hope one of you guys will post an example when you figure out how to do this . . . I have a friend who has a site with custom file upload forms (using image buttons). Perhaps I will ask him about it . . . Erik Michael McGrady wrote: Ergo, research should begin on Any id

Re: image button for file upload

2004-08-22 Thread Erik Weber
I hope one of you guys will post an example when you figure out how to do this . . . I have a friend who has a site with custom file upload forms (using image buttons). Perhaps I will ask him about it . . . Erik Michael McGrady wrote: Ergo, research should begin on Any ideas? Dean Hoover

Re: image button for file upload

2004-08-21 Thread Michael McGrady
Ergo, research should begin on Any ideas? Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To

Re: image button for file upload

2004-08-21 Thread Michael McGrady
HTML DOM FileUpload Object previous next FileUpload Object For each instance of an HTML tag on a form, a FileUplo

Re: image button for file upload

2004-08-21 Thread Michael McGrady
Dean A. Hoover wrote: I've been reading some interesting methods for using image buttons on forms in place of the familiar "Submit" style browser generated buttons. There is one automatically generated button that I am still puzzled on how to use an image for it, though. That's t

Re: image button for file upload

2004-08-21 Thread Michael McGrady
One of the problems you run into with this is that there are differing behaviors between IE and the other browsers. Michael McGrady wrote: Leandro Melo wrote: I'm no expert here, but i think you're gonna have to deal with the tradicional and ordinary file button as it comes. In other words, i don

Re: image button for file upload

2004-08-21 Thread Michael McGrady
Leandro Melo wrote: I'm no expert here, but i think you're gonna have to deal with the tradicional and ordinary file button as it comes. In other words, i don't think it's possible to use an image for this button. That's not because of struts, it's how the browsers implement thier html. --- "Dean A

Re: image button for file upload

2004-08-21 Thread Leandro Melo
I'm no expert here, but i think you're gonna have to deal with the tradicional and ordinary file button as it comes. In other words, i don't think it's possible to use an image for this button. That's not because of struts, it's how the browsers implement thier html. --- "Dean A. Hoover" <[EMAIL

image button for file upload

2004-08-21 Thread Dean A. Hoover
I've been reading some interesting methods for using image buttons on forms in place of the familiar "Submit" style browser generated buttons. There is one automatically generated button that I am still puzzled on how to use an image for it, though. That's the one for do file uploading, as in: