Results 1 to 5 of 5

Thread: [XT Ajax Framework] File Upload

  1. #1
    Join Date
    Mar 2007
    Location
    istanbul, turkey
    Posts
    11

    Default [XT Ajax Framework] File Upload

    Hi there,
    Does the XT Ajax Framework support forms with enctype="multipart/form-data"?

    Thanks...
    Last edited by ergky; Jul 11th, 2007 at 02:46 AM. Reason: Thread Modification

  2. #2
    Join Date
    Jul 2006
    Location
    Rome, Italy
    Posts
    347

    Default

    Quote Originally Posted by ergky View Post
    Is it possible to upload files using the XT Ajax Framework ?
    Hi,

    What do you mean by saying that you want to "upload files with the XT Ajax Framework"?
    Why not using the standard servlet based way, like the well known : http://www.servlets.com/cos/ ?
    Sergio Bossa
    Spring Modules Team

  3. #3
    Join Date
    Mar 2007
    Location
    istanbul, turkey
    Posts
    11

    Default

    Quote Originally Posted by sbtourist View Post
    Hi,

    What do you mean by saying that you want to "upload files with the XT Ajax Framework"?
    Why not using the standard servlet based way, like the well known : http://www.servlets.com/cos/ ?
    Hello, I have a "multipart/form-data" form. When I do an ajax submit,
    all form fields are bound to the command object except the
    <input type="file" ...> ones. My command object uses a MulipartFile object for the mapping of file inputs.

    With normal submit, they are bound correctly.

  4. #4
    Join Date
    Jul 2006
    Location
    Rome, Italy
    Posts
    347

    Default

    Quote Originally Posted by ergky View Post
    Hello, I have a "multipart/form-data" form. When I do an ajax submit,
    all form fields are bound to the command object except the
    <input type="file" ...> ones. My command object uses a MulipartFile object for the mapping of file inputs.
    Hi,

    sorry for the late reply, I've been away.

    It is a missed feature, please open a Jira issue about that if you want it to be implemented in a future version.
    Thanks,
    Cheers,

    Sergio B.
    Last edited by sbtourist; Jul 12th, 2007 at 03:44 AM.
    Sergio Bossa
    Spring Modules Team

  5. #5
    Join Date
    Jul 2006
    Location
    Rome, Italy
    Posts
    347

    Default

    Hi,

    XT Ajax now supports file uploading: see http://opensource.atlassian.com/proj...browse/MOD-376 and http://opensource.atlassian.com/proj...browse/MOD-389.

    Give it a try if you can, and let us know if you have any issue.

    Cheers,

    Sergio B.
    Sergio Bossa
    Spring Modules Team

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •