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 15:54:37 -0700
Use the source Luke :-)
I see yet another rule you need to enable it: useCreationDelegate. Looks like you need a rule to set that to true, or else you end up on an edit relationship page.
Ramsey
On Sep 27, 2012, at 12:06 PM, Ângelo Andrade Cirino wrote:
> Hi Ramsey,
>
> When I click the "Create" button below the ERDList component, the component takes me to a new page with the buttons Return, Search and New. When I click the New button the createObjectDelegate isn't called.
>
> Angelo
>
> 2012/9/27 Ramsey Gurley <email@hidden>
>
> 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
>
>
>
> --
> Ângelo Andrade Cirino
> email@hidden
> 31-3494-8642
> 31-9303-0695
> MSN email@hidden
> Skype aacirino
_______________________________________________
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