I have just implemented ERCoreBusinessLogic into my D2W app and I have a 
problem with ERCPrefer.

I am looking at my Entity List page in this case a Person. So this is a List 
Person page. If I change the batchsize from the default size of 10 to 18 I see 
in the ERCPefer table:

4 | batchSize.ListPerson                             |       1 | {              
                               +
    |                                                  |         |         "_V" 
= {                              +
    |                                                  |         |              
   "class" = "java.lang.Integer";+
    |                                                  |         |              
   "value" = "18";               +
    |                                                  |         |         };   
                                 +
    |                                                  |         | }


that’s what I expect and indeed when I visit the List Person page, the 
batchsize is set to 18.

I go to a List Event page and I can set the batchsize to what I want and it is 
saved. However, on the Edit Event page I have a relationship. I set the 
batchsize to a number and it is saved, but when I navigate back to the Edit 
Event page, the batchsize  is back to the default however in the ERCPrefer 
table:

  1 | batchSize.EditRelationshipEmbeddedEventBook      |       1 | {            
                                 +
    |                                                  |         |         "_V" 
= {                              +
    |                                                  |         |              
   "class" = "java.lang.Integer";+
    |                                                  |         |              
   "value" = "16";               +
    |                                                  |         |         };   
                                 +

I have checked throughout my app. where ever there is a straight List* page, 
the app respects the ERCPrefer table’s setting for batchsize. But not for any 
relationships.

Has anyone else seen this? Is there something I am leaving out?

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

This email sent to [email protected]

Reply via email to