Has anyone had any problems with the updating of the time value when using Vaadin DateField (or PopupDateField)? Whenever a new time is selected from the time drop downs located at the bottom of the popup calendar, the date textfield does not update with the new time selected. Only the day value updates properly when a different day is selected from the calendar. I have registered a Property.ValueChangeListener with my DateField, and through debug I've found that the valueChange() method is only entered when a different day is selected from the popup calendar (and hence updates value in textfield), and not when a different time is selected from the time drop downs. Is this a bug with Vaadin DateField? Or is there a workaround?
Any help would be much appreciated! Thanks in advance!
Cheers,
gc
See http://vaadin.com/forum/-/message_boards/message/216876 for answer.
Related
I'm working with javaFX - in particular the datePicker node and I was just wondering, instead of incrementally changing the date via mouseclick in the datePicker popup menu, is there a faster way of changing the year?
I was hoping there would be a way to make the year field editable but I was unable to find such a solution.
You might just add a second control to set the year more quickly with the mouse and then coordinate the display (model) of both controls.
I am trying to find out how to disable the date click within a cell while in the month view. I cannot find it in the documentation on the site. I only see dayRender and disabling the entire cell. I just need the date itself not the cell. I needed selectable to be true for the calendar just not this piece.
Is there a event/render that I can get to in full calendar to stop this from going to the day view? Thanks for any help that is provided.
I have a requirement to build a calendar control that when the user clicks a date it toggles through three possible states with each click: All Day/AM/PM.
So when the user clicks the date for the first time the state of the date clicked will be "All Day", a second click with result in the state of "AM", the third click "PM" and the fourth will result in the date no longer being selected.
Any suggestions would be a great help.
I've tried the OBOUT ASP.NET controls but I can't quite get it to work how I need it.
I've spent the day developing my own custom control. Thanks for those that took the time to look and more thanks to those for suggestions.
I have a particular condition if which fulfills,
then if I click on my calendar UI image, a small popup calendar opens up but
with only last date of each month enabled. Rest all the dates are
supposed to be disabled. But I have no idea how to enable only the last date
of each month as it is supposed to be kept dynamic as the last date of each month is different. So, delayedDates doesn't seem to be an option for me.
I am using this datetimepicker by Trent Richardson, I can get the date time picker to work, however after the date is changed i need it to be put into a hidden asp.net control that is in an update panel.
So how can i make it so everytime the user changes the date and time it is sent to a label.
http://trentrichardson.com/examples/timepicker/
So since it seems like it's just a extension of the jQuery ui datepicker, you could use the altField option: http://jqueryui.com/demos/datepicker/#alt-field
or the onSelect Event to do it yourself: http://jqueryui.com/demos/datepicker/#event-onSelect