Re: createObjectDelegate isn't called
Re: createObjectDelegate isn't called
- Subject: Re: createObjectDelegate isn't called
- From: Ramsey Gurley <email@hidden>
- Date: Thu, 27 Sep 2012 09:40:11 -0700
On Sep 27, 2012, at 9:12 AM, Ângelo Andrade Cirino wrote:
> Hi all,
>
> I have this rule:
>
> 100 : entity.name = 'Person' => createObjectDelegate = "com.visionar.visiontur.delegates.CreatePersonDelegate" [er.directtoweb.ERDDelayedObjectCreationAssignment]
>
> I can confirm that it is set when I inspect the D2W rules, but it is not called. What am I missing?
>
> Angelo
The only thing that's going to fire the createObjectDelegate is an ERDList when you click the create button. If you have any rule for createButtonComponentName, that button will not be shown. If you don't have a rule for showActions, it will never be shown. If you are not using an ERDList, that delegate rule will never be fired.
Ramsey
_______________________________________________
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