Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to get Calendar events?

    Hello, I am using smartgwt 2.4.

    I am learning how to use the calendar object. My problem is that I can't get the details when I add or update an event. I am using

    Code:
    Calendar calendar = new Calendar();
    
    calendar.addEventAddedHandler(new EventAddedHandler(){
    
    	@Override
    	public void onEventAdded(CalendarEventAdded event) {
    		event.getEvent();
    	}});
    And this error is shown

    Code:
    Uncaught exception escaped : java.lang.ClassCastException
    com.smartgwt.client.widgets.grid.ListGridRecord cannot be cast to com.smartgwt.client.widgets.calendar.CalendarEvent
    See the Development console log for details.
    Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.
    Any suggestion ?

    #2
    We'll look into this and get back to you.

    Comment


      #3
      Thank you!

      Comment


        #4
        This should now be resolved. Please try the next nightly build.

        Sanjiv

        Comment


          #5
          Excuse me, but how can I get the new version ? Where can I find it ?
          THanks!

          Comment


            #6
            Thanks I found it
            http://www.smartclient.com/builds/SmartGWT/2.x/EnterpriseEval/
            If anyone needs it !

            Comment

            Working...
            X