Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
14.6.3
-
None
-
Flagged
-
Pulsar
Description
It's not possible to change the default value for page size by configuration. It is defined in DocumentQueryDynamicComponentInfo as follows:
@Parameter(name = "pageSize", defaultValue = "10") int getPageSize();
Using a dynamic parameter 'pageSize' like so
/pageSize:
jcr:primaryType: hst:dynamicparameter
hst:defaultvalue: '20'
hst:valuetype: integer
doesn't work out, but the intent does seem to support this in org.hippoecm.hst.platform.configuration.components.HstComponentConfigurationService#populateAnnotationComponentParameters and org.hippoecm.hst.core.component.HstParameterInfoProxyFactoryImpl.ParameterInfoInvocationHandler#invoke.