Re: access the display group in a D2JC
Re: access the display group in a D2JC
- Subject: Re: access the display group in a D2JC
- From: Jean Pierre Malrieu <email@hidden>
- Date: Wed, 12 Nov 2003 09:30:42 +0100
Le dimanche, 9 nov 2003, ` 22:32 Europe/Paris, Ray Ackland a icrit :
> JP,
>
> How can you access the display group in a D2JC? Would be good to be
> able to show the records in batches.
Use method displayGroup() implemented in EOEntityController.
Look at the documentation for that class to get more info on how to
manage display groups.
setDisplayGroupProviderMethodName lets you specify a provider method.
Interestingly, it seems that you can set that method name by means of
the rule system. I have never tried, but if you look at the XML
parameters for EOEntityController, there is a key of that name. Thus
you can decide at run time, by means of rules, on how you create your
display groups (just implement several provider methods corresponding
to your different situations).
JP.
>
> Ray.
>
> On Thursday, Nov 6, 2003, at 02:03 Pacific/Auckland, Jean Pierre
> Malrieu wrote:
>
>> Sure. Controllers in D2JC use display groups too
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.