Re: ERCoreBusinessLogic preferences??
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