Maybe you can use nested forms?

On Mon, Sep 5, 2016 at 2:51 PM, Илья Нарыжный <phan...@ydn.ru> wrote:

> Hello!
>
> Please help to figure out is there some good solution for the following
> situation:
>
> There is a page with Form with in it. Form contains lots of components
> underneath. And some components can be changed by AJAX from "view"
> representation to "edit". And sometimes "edit" is some file upload
> component. And in this case to work proporly: form encoding should be
> changed to multipart. But I don't want to make it by sending in ajax
> response whole Form, because it's pretty big...  Is there a good way update
> just a component and if parent form is not multipart - switch it to
> multipart?
>
> Thanks,
>
> Ilya
>
> ---------------------------------------------
> Orienteer(http://orienteer.org) - open source Business Application
> Platform
>



-- 
WBR
Maxim aka solomax

Reply via email to