Class DateChangingEvent

  • 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
    • Constructor Detail

      • DateChangingEvent

        public DateChangingEvent​(DynActionForm form,
                                 int objectId,
                                 Parameter parameter,
                                 java.util.Date newDate)
    • Method Detail

      • getObjectId

        public int getObjectId()
      • getParameter

        public Parameter getParameter()
      • getNewDate

        public java.util.Date getNewDate()