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

Re: ERCoreBusinessLogic preferences??


  • Subject: Re: ERCoreBusinessLogic preferences??
  • From: Ramsey Gurley <email@hidden>
  • Date: Wed, 25 Feb 2015 10:56:02 -0700

That’s a problem in the D2W component you are using. The sort ordering component saves the batch size, but it's the list page reads it. The ERD2WEditRelationshipPage isn’t reading it. (R2D2WEditRelationshipPage does this properly)


On Feb 24, 2015, at 9:11 PM, Theodore Petrosky <email@hidden> wrote:

> 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


 _______________________________________________
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


References: 
 >ERCoreBusinessLogic preferences?? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext
  • Next by Date: Re: Mechanics of changing passwords using regular validation system
  • Previous by thread: ERCoreBusinessLogic preferences??
  • Next by thread: Mechanics of changing passwords using regular validation system
  • Index(es):
    • Date
    • Thread