Re: app-fileservices no files in Request?
"Michael Nash JGlobal.com" <[email protected]>
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Organization | JGlobal |
| Message-ID | <20040430141946.2cb37a41@jglobal> |
Steve:
> Btw, How come I am the first one to start working on the new Docs?????
You're not :-). See http://66.105.113.115/vqwiki-2.3.5/jsp/Wiki?NewBuildSystem
> Or is it that people are working on the stuff, but have not yet checked
> in? I was looking for some examples for how to do app-fileservices.
One reason I've not struck this error is that I'm uploading via Cocoon, whole different mechanism....
Mike
>
> Regards,
> Steve
>
> CC'd to the developer list as this is actually a Developer issue.
>
> Nathan Kontny wrote:
>
> >Stephen,
> >
> >So I see that the StrutsClientConnector is now instead creating instances of
> >the
> >BinaryWrapper in the request. I changed the FileUploadModel to look for this
> >wrapper instead of the "file_data" key. Attached is the patch if you are
> >interested.
> >
> >I also negated the logic of the file_type map, as wouldn't it be easier for
> >users to specify the files that should be allowed (jpg, png, etc.) than have to
> >specify every file that shouldn't be allowed? For example, the patch now has
> >this:
> >
> >if(!filetype_map.contains(file_extension)){
> > res.addError("fileType", "$wrongFileType|"+file_extension);
> >}
> >
> >-Nate
> >
> >
> >
> >
>
> --
> Java/J2EE Developer/Integrator
> Chair, Dallas/FortWorth J2EE Sig
> 214-724-7741
>
>
> _______________________________________________
> User mailing list
> [email protected]
> http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
--
Michael Nash
JGlobal Ltd
Next-Generation Web Application Development and Open Source Support
http://www.jglobal.com
Bahamas Commerce and Trade
Offshore eCommerce Hosting and Business Services
http://www.bahamascommerce.com