Re: D2W ModelDialog inside EditPage
Re: D2W ModelDialog inside EditPage
- Subject: Re: D2W ModelDialog inside EditPage
- From: Savas Celik via Webobjects-dev <email@hidden>
- Date: Wed, 29 May 2019 10:56:34 +0200
Hello Jérémy
Thank you very much, this worked perfectly.
Savas
> On 28 May 2019, at 21:21, Gastronomie des Terroirs
> <email@hidden> wrote:
>
> Hello Savas,
>
> In your modal dialog container, use ERXWOForm tag instead of WOForm and set
> embedded to true (see below).
>
> Hope this helps,
>
> Jérémy
>
> AjaxForm: ERXWOForm {
> embedded = true;
> }
>
>> Le 28 mai 2019 à 18:44, Savas Celik <email@hidden
>> <mailto:email@hidden>> a écrit :
>>
>> I have a problem with the ModelDialog, I tried to call an AjaxModelDialog in
>> my EditPage. The AjaxModelDialog is displayed but unfortunately the values
>> changed in the AjaxModelDialog are not saved.
>> I get a warning displayed in the console which says that an AjaxModelDialog
>> must not be inside a form.
>> Therefore I tried to add the AjaxModalDialog to the
>> "belowDisplayPropertyKeys" but unfortunately the "object" is not given to me
>> here.
>>
>> The warning:
>> May 28 18:39:13 Application[13007] WARN er.ajax.AjaxModalDialog
>> (EditVerrechnungsGruppe) - The AjaxModalDialog should not be used inside of
>> a WOForm (EditForm) if it contains any form inputs or buttons. Remove this
>> AMD from this form, add a form of its own. Replace it with an
>> AjaxModalDialogOpener with a dialogID that matches the ID of this dialog.
>>
>>
>> Is there any neat solution for this problem?
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden
>> <mailto:email@hidden>)
>> Help/Unsubscribe/Update your Subscription:
>>
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden