Package ru.bgcrm.event
Class DateChangingEvent
java.lang.Object
ru.bgcrm.event.UserEvent
org.bgerp.event.base.UserEvent
ru.bgcrm.event.DateChangingEvent
Раскрашивает календарь(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().setResponseData( "dayColorList", test );
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDateChangingEvent
(DynActionForm form, int objectId, Parameter parameter, Date newDate) -
Method Summary
Methods inherited from class org.bgerp.event.base.UserEvent
getForm, getUser, processing, stopProcessing
-
Constructor Details
-
DateChangingEvent
-
-
Method Details
-
getObjectId
public int getObjectId() -
getParameter
-
getNewDate
-