- All Implemented Interfaces:
- java.io.Serializable, Event
public class DateChangingEvent
extends UserEvent
Раскрашивает календарь(datetimepicker)
dayColorList месяцы с 1 по 12
List test = new ArrayList();
if( e.getNewDate().getMonth() > 2 )
{
test.add( new DateInfo( "11-1", "red", "red" ) );
test.add( new DateInfo( "11-11", "green", "" ) );
test.add( new DateInfo( "11-21", "blue", "123" ) );
test.add( new DateInfo( "11-25", "", "123fsdgfdfgdf" ) );
}
e.getForm().getResponse().setData( "dayColorList", test );
- See Also:
- Serialized Form