Changes for page Your First Stateful Project
Last modified by Bastian Triller on 2021/08/07 03:59
From version 17.1
edited by Pascal Robert
on 2012/12/12 07:59
on 2012/12/12 07:59
Change comment:
There is no comment for this version
To version 19.1
edited by Theodore Petrosky
on 2021/08/07 03:59
on 2021/08/07 03:59
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +Getting Started - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.p robert1 +XWiki.tedpet - Tags
-
... ... @@ -1,0 +1,1 @@ 1 +tutorials - Content
-
... ... @@ -70,7 +70,7 @@ 70 70 71 71 {{/code}} 72 72 73 -[[ERXBatchingDisplayGroup>>url:http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/javadoc/er/extensions/appserver/ERXDisplayGroup.html||shape="rect"]] is a subclass of WODisplayGroup, a utility that adds multiple actions and logic to a list of objects. One of the best features of ERXBatchingDisplayGroup is that it does real batching (if the RDBMS that you use supports it), so that means that if we specify a batch of 20 objects (//dg.setNumberOfObjectsPerBatch(20)//), it will fetch only the first 20 objects from the database, and if you switch to the next batch, the display group will go to the database to get the next 20 objects. ERXBatchingDisplayGroup is useful if you know nthat your list will contains hundred of objects.73 +[[ERXBatchingDisplayGroup>>url:http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/javadoc/er/extensions/appserver/ERXDisplayGroup.html||shape="rect"]] is a subclass of WODisplayGroup, a utility that adds multiple actions and logic to a list of objects. One of the best features of ERXBatchingDisplayGroup is that it does real batching (if the RDBMS that you use supports it), so that means that if we specify a batch of 20 objects (//dg.setNumberOfObjectsPerBatch(20)//), it will fetch only the first 20 objects from the database, and if you switch to the next batch, the display group will go to the database to get the next 20 objects. ERXBatchingDisplayGroup is useful if you know that your list will contains hundred of objects. 74 74 75 75 Let's edit the component. Open **Main.wo** and edit the content in the top panel to be: 76 76
- Capture d’écran 2012-07-29 à 14.25.46.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.4 KB - Content
- Capture d’écran 2012-07-29 à 14.32.51.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +134.8 KB - Content
- Capture d’écran 2012-08-06 à 04.56.13.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +29.5 KB - Content
- Capture d’écran 2012-08-06 à 05.15.32.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Size
-
... ... @@ -1,0 +1,1 @@ 1 +111.2 KB - Content