Re: Strut2 Picture Upload question: Please Help!

2009-09-04 Thread Johannes Geppert
Take a look at the showcase there are many sample for ajax form submits. http://www.weinfreund.de/struts2-jquery-showcase/ sx:head / s:form id=form action=echo theme=simple Echo: s:textfield id=echo name=echo value=Hello World!!!/ sj:submit targets=result value=AJAX Submit

RE: Strut2 Picture Upload question: Please Help!

2009-09-04 Thread Martin Gainty
-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Date: Fri, 4 Sep 2009 01:21:30 -0700 From: jo...@web.de To: user@struts.apache.org Subject: Re: Strut2 Picture Upload question: Please Help! Take a look at the showcase there are many sample for ajax form submits. http

RE: Strut2 Picture Upload question: Please Help!

2009-09-04 Thread Johannes Geppert
Hello Martin, did you take a look at the showcase? There are many examples for remote divs. Nice weekend Johannes mgainty wrote: thanks for the info can you specify a div tag to receive results from action? any ability to specify received format eg json/xml? danke, Martin

Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread Tommy Pham
- Original Message From: hisameer cool_sameer_fo...@yahoo.com To: user@struts.apache.org Sent: Wednesday, September 2, 2009 4:49:05 PM Subject: RE: Strut2 Picture Upload question: Please Help! Thanks for your comment. But my question is How can it be done using AJAX? I am using

Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread Nils-Helge Garli Hegvik
A form with file input can't be submitted with Ajax. You either have to do some iframe magic or use a flash component. Do a google search for ajax file upload to find some options. I've been using SWFUpload [1] for this purpose. Nils-H [1] - http://code.google.com/p/swfupload/ On Thu, Sep 3,

Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread Johannes Geppert
you can use the jQuery Plugin for this use case. jQuery makes automatically a iframe submit for forms with file upload. http://code.google.com/p/struts2-jquery/ Nils-Helge Garli wrote: A form with file input can't be submitted with Ajax. You either have to do some iframe magic or use a

RE: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread hisameer
I want to do something like this:-The user has upload button. There is an tag on the top of that button which has a picture saying please upload the picture. When the user clicks on upload button the file browser will open and user can select whatever picture he wants to upload. When user

Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread hisameer
Thanks for your reply. Can you please put some sample code in this regard. I am trying to read jquery plug-in documentation but would be great if you can put just a sample code for one picand I will handle the rest of it. Thanks in advance. Johannes Geppert wrote: you can use the jQuery

Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread Tommy Pham
- Original Message From: hisameer cool_sameer_fo...@yahoo.com To: user@struts.apache.org Sent: Thursday, September 3, 2009 6:54:14 AM Subject: RE: Strut2 Picture Upload question: Please Help! I want to do something like this:-The user has upload button. There is an tag

Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread hisameer
cool_sameer_fo...@yahoo.com To: user@struts.apache.org Sent: Thursday, September 3, 2009 6:54:14 AM Subject: RE: Strut2 Picture Upload question: Please Help! I want to do something like this:-The user has upload button. There is an tag on the top of that button which has a picture saying please upload

[OT] Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread Tommy Pham
- Original Message From: hisameer cool_sameer_fo...@yahoo.com To: user@struts.apache.org Sent: Thursday, September 3, 2009 7:43:03 AM Subject: Re: Strut2 Picture Upload question: Please Help! Thanks for the reply. Now what I thought of doing is I will upload the picture and show

Re: [OT] Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread hisameer
and help in advance. Tommy Pham wrote: - Original Message From: hisameer cool_sameer_fo...@yahoo.com To: user@struts.apache.org Sent: Thursday, September 3, 2009 7:43:03 AM Subject: Re: Strut2 Picture Upload question: Please Help! Thanks for the reply. Now what I thought of doing

Re: [OT] Re: Strut2 Picture Upload question: Please Help!

2009-09-03 Thread Tommy Pham
- Original Message From: hisameer cool_sameer_fo...@yahoo.com To: user@struts.apache.org Sent: Thursday, September 3, 2009 5:15:58 PM Subject: Re: [OT] Re: Strut2 Picture Upload question: Please Help! Hi Tommy, Thanks for your reply. I thought I would get the answer very

RE: Strut2 Picture Upload question: Please Help!

2009-09-02 Thread Lee Clemens
Maybe have the Upload buttons refresh the page? And load the images from the action? Otherwise it would have to be done client side (ajax?) -Original Message- From: hisameer [mailto:cool_sameer_fo...@yahoo.com] Sent: Wednesday, September 02, 2009 6:27 PM To: user@struts.apache.org

RE: Strut2 Picture Upload question: Please Help!

2009-09-02 Thread hisameer
Thanks for your comment. But my question is How can it be done using AJAX? I am using dojo plugin in my struts application. But if I use input type=file name=docs value=Brows width=400px/ then it also shows the brows location as well. But in my case its only a simple upload button.What should I