Because the timepicker weblet is the default visualization for fields of type time, you usually do not need to manually add it to your web page. Simply include your time fields in your web_map or in a list that is present in your web_map and they will be visualized using the time weblet. Similarly fields of type date and of type datetime will be visualized using the datepicker (std_datepicker) and datetimepicker (std_datetimepicker) weblets.
Time fields created before version 12 SP1 use by default std_time weblet. To use std_timepicker, change the weblet visualization in the field definition.
The Timepicker weblet uses the ISO language code to localize the time format and time slider captions.
If you do need to add the timepicker weblet to your page manually, simply drag the time field from the Fields tab onto your page. Alternatively, open the XSL for your webroutine in the LANSA Editor and follow these steps:
1. Click on the Weblets tab, select Standard Field Visualization from the drop-down list near the top and locate the Timepicker weblet.
2. Drag the weblet onto your page in the Design view. Click on the weblet and then click on the Details tab.
3. Set the name and value properties as required to associate the weblet with the required field in your webroutines web_map.