Re: D2W ModelDialog inside EditPage

2019-05-29 Thread Savas Celik via Webobjects-dev
Hello Jérémy

Thank you very much, this worked perfectly.

Savas

> On 28 May 2019, at 21:21, Gastronomie des Terroirs 
>  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 > > 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  (Webobjects-dev@lists.apple.com 
>> )
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/jeremy.deroyer%40ingencys.net
>>  
>> 
>> 
>> This email sent to jeremy.dero...@ingencys.net
> 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


D2W ModelDialog inside EditPage

2019-05-28 Thread Savas Celik
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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com