Calendar

A calendar displays a 'flat' calendar and allows user to select a day from it.

<hbox>
    <calendar id="cal" onChange="in.value = cal.value"/>    
    <datebox id="in" onChange="cal.value = in.value"/>    
</hbox>

Class Name

org.zkoss.zul.Calendar

Supported Child Components

*NONE

Supported Events

*NONE

Properties

Property

Description

Data Type

Default Value

compact

Sets whether to use a compact layout.

boolean

true

name

Sets the name of this component.

java.lang.String

null

timeZone

Sets the time zone that this date box belongs to, or null if the default time zone is used.

java.util.TimeZone

Determined by TimeZones.getCurrent()

value

Assigns a value to this component.

java.util.Date

today

visible

Sets whether this component is visible.

boolean

true

Methods

Name

Description

Return Data Type

getOuterAttrs()

java.lang.String

Inherited From