• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: access the display group in a D2JC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Fixing JVM From 1.3.1 to 1.4.1 in Xcode WO 5.2.2
  • Next by Date: JavaClient performance vs. JDK 1.4.1
  • Previous by thread: Exceptions/Internal Server Error since upgrading to WO5.2.2
  • Next by thread: JavaClient performance vs. JDK 1.4.1
  • Index(es):
    • Date
    • Thread