This is a stripped-down, bare-bones example that uses hidden iframes to upload the file in the background. Please forgive any sloppiness in the code. :)
http://www.auloswebdesign.com/upload/ This is not written specifically for Stripes. I've used a similar implementation on ASP.NET when building a file drag-n-drop upload extension for Firefox. There is a small light-gray-bordered box at the bottom left that would normally not be seen; if you hover over it you can see what is happening behind the scenes after you click the "Submit" button. I included a simple explanation of the process in the gray-bordered box. This works in IE, FF, Chrome and Safari. Of course, you would want to use Prototype, jQuery or your favorite library to improve the gui. FYI: I am not processing the uploaded file in this example, so there is not server-side java code; I assumed this question to be focused mainly on the UI. -Terrell On Sat, Jul 11, 2009 at 5:18 AM, DaveMark<[email protected]> wrote: > > If you have no luck finding something AJAX, it's possible with flash > > SWFUpload & Maven2 > http://www.stripesframework.org/pages/viewpage.action?pageId=1998949 > > > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
