Steve: > I have not yet heard from Santanu on the changes to Strut's ModelAction, > but I have figured out a piece of his intent. Currently, the Strut's > client drops all files that are uploaded to it. Uploaded files are NOT > available for Models to work with.
I suspect Santanu and his group are probably bailing out their server room right about now, based on the weather reports from their area, so I'll try to chip in where I can.... The original idea was that uploaded files should be available as binary parameters, just like any other parameter passed from a form. > This is a priority project for me, and something I must absolutely have. I'll need this for a number of projects as well. > And the fact that the Struts Client WON'T handle file uploads, but > insteads drops them, is something severe enough to be considered a bug. Definitely, or at the very least a missing significant feature. > I am perfectly willing to take over this, and I have a short deadline > as well (already overran it, to tell you the truth). So getting > Strut's ModelAction to the point where it can handle fileuploads is > something that will be done before the 2.0 release (unless 2.0 is > released in the next week or so????) We're hoping, but one miracle at a time :-) > There are some other additions that were made to the Strut's ModelAction > v1.0 that I would like to know the whys about as well, specificially the > generation of two hidden fields, COMMAND & PARAMS. I don't think they > are necessary with the enhancements for 2.0, but I want to be sure. COMMAND and PARAMS are fields related to the use of Command objects in the modelrequest. The idea is that they are passed in order to tell the server what Command got executed, and what parameters were supplied with that comment, when moving from one model to the next. They're not new for 2.0, they've been there for a while I believe. I've not really looked at the upload service, but I'll dig into it now and see if we can between us get it fired up for HEAD. Regards, Michael Nash JGlobal Ltd. http://www.jglobal.com Bahamas Commerce and Trade http://www.bahamascommerce.com http://keelframework.org/documentation Keelgroup mailing list [EMAIL PROTECTED] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
