This is an automated email from the ASF dual-hosted git repository. vlamp pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push: new 55f1194c7 TAP5-2609: Grid component doc: configuration sample code is incorrect 55f1194c7 is described below commit 55f1194c7ebec3816027b9ffef7a09c455ffcc9b Author: Volker Lamp <vl...@apache.org> AuthorDate: Wed Apr 20 20:32:23 2022 +0200 TAP5-2609: Grid component doc: configuration sample code is incorrect --- .../src/main/java/org/apache/tapestry5/corelib/components/Grid.xdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Grid.xdoc b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Grid.xdoc index bf0659422..28dc50f4d 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Grid.xdoc +++ b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Grid.xdoc @@ -368,11 +368,11 @@ public class UserList <source><![CDATA[ public static void contributeApplicationDefaults(MappedConfiguration<String, String> configuration) { - configuration.add(GridConstants.ROWS_PER_PAGE, "show"); + configuration.add(ComponentParameterConstants.GRID_ROWS_PER_PAGE, "25"); - configuration.add(GridConstants.PAGER_POSITION, "bottom"); + configuration.add(ComponentParameterConstants.GRID_PAGER_POSITION, "top"); - configuration.add(GridConstants.TABLE_CLASS, "t-data-grid"); + configuration.add(ComponentParameterConstants.GRID_TABLE_CSS_CLASS, "table table-hover table-bordered table-striped"); } ]]></source> </subsection>