-
FEATURED COMPONENTS
First time here? Check out the FAQ!
https://www.zkoss.org/wiki/SmallTalks/2010/November/NewFeaturesofZKCalendar2.1.0
Hello, I want to set as 8.30. It is giving error
java.lang.NumberFormatException: For input string: "8.30"
<calendars id="calendars"
visible="@load(vm.calenderView)" firstDayOfWeek="Sunday"
height="100%" timeslots="4" beginTime="8.30" endTime="20"
onEventCreate="@command('onSelectAppt',v=event)"
onEventEdit="@command('onSelectAppt',v=event)">
<attribute w:name="getNewEventTimeSlots_">
function() { return 1; }
</attribute>
</calendars>
according to the Java docs the method setBeginTime requires an integer. So you can only set full hours there. The error message in your case is expected reflecting the current API.
Asked: 2018-06-29 19:20:19 +0800
Seen: 9 times
Last updated: Jul 03 '18
Can i use ZK mvvm and ZK spring MVC in a single apllication
Calendar translation (german) for setWeekOfYear(true)
Can I dowload the ZK Calenda demo? [closed]
how to set today's date as default value in datebox?
How to add zCalendar events on startup through java code.
restrict user to Enter date into Datebox but can only Select...