• 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
ERCoreBusinessLogic preferences??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERCoreBusinessLogic preferences??


  • Subject: ERCoreBusinessLogic preferences??
  • From: Theodore Petrosky <email@hidden>
  • Date: Tue, 24 Feb 2015 23:11:44 -0500

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: ERCoreBusinessLogic preferences??
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Re: looong saveChanges in a background task
  • Next by Date: Re: looong saveChanges in a background task
  • Previous by thread: Re: "Did not receive any response from application. It is possible that the application does not exist, or that the requested url is incorrect"
  • Next by thread: Re: ERCoreBusinessLogic preferences??
  • Index(es):
    • Date
    • Thread