This content has been marked as final.
Show 3 replies
-
1. Re: Boiler-plate getMaxResults for domain object List class
gavin.king Jun 1, 2007 10:23 PM (in response to awhitford)The generated code is just a starting point - you can change it to whatever you like (or even edit the template if it offends you that much).
In fact, it is *expected* 90% of the code that is generated is stuff that you would want to customize. If it was likely to not need customization, it would be in the framework, not in the boilerplate. -
2. Re: Boiler-plate getMaxResults for domain object List class
awhitford Jun 2, 2007 1:17 PM (in response to awhitford)I am afraid that you missed my point...
I am advocating that the framework (EntityQuery or Query) defines a default so that the numerous Entity List classes do not need to declare this. -
3. Re: Boiler-plate getMaxResults for domain object List class
gavin.king Jun 2, 2007 3:36 PM (in response to awhitford)I really don't want to pick some arbitrary default for a general purpose component that is used in other scenarios than list screens...