org.zkoss.zul.daterangebox.numberOfMonths
Property:
org.zkoss.zul.daterangebox.numberOfMonths
Applicable:
-
globally in
zk.xmlvia<library-property> -
not as
<custom-attribute>
Default: 2
since 11.0.0
Sets the default numberOfMonths of every Daterangebox in the application, which is the number of consecutive calendar months shown side by side in the popup. The value must be an integer from 1 to the maximum set by org.zkoss.zul.daterangebox.numberOfMonths.max, which is 12 by default.
A value outside that range, or a value that is not an integer, is ignored with a warning in the server log, and the default 2 is used.
A component’s own numberOfMonths attribute overrides this property.
<library-property>
<name>org.zkoss.zul.daterangebox.numberOfMonths</name>
<value>3</value>
</library-property>