Announcement

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

    Calendar event hovering

    Hi Guys,

    I am using SmartGWT 2.5 and I'm running my Dev environment on Firefox 8.0

    I am trying to fire events when a mouse pointer moves over a Day/Month/Week of a com.smartgwt.client.widgets.calendar.Calendar.

    When this event fires i want to display a Canvas that draws a summary of the "hover event's" content, i have the canvas built with the logic to draw it, i also have the calendar displaying with the relevant object(s) to populate my "Hover Canvas".

    My problem is:"How do i link the two during a 'Hover Event'?"

    i have implemented a hover handler which never fires*sigh*,
    i have:
    setCanHover(true);
    setHoverAutoDestroy(true);
    setHoverDelay(1);
    setHoverWidth(300);
    setHoverHeight(200);
    setShowHoverComponents(true);

    The current setPrompt(String) functionality does not allow me to display anything dynamically unless i could somehow translate a Canvas to HTLM syntax(String *can that be done?*) at runtime.

    Please help me to get this calendar to fire as i mentioned above, i just need to link the two basically, it seems to me that events are hidden deep within the Java Script that SmartGWT framework hides/wraps.

    can i suggest we expose a bit more of it to a higher level and be able to modify what draws/ be able to draw a canvas with rich content on a hover event aswell in later versions of SmartGWT.

    A friends reckons something is cancelling all events on my calendar, is that possible(That seem to be the case)?

    App Engine: 1.5.2
    GWT: 2.3.0

    I'm not sure what other info to give you guys or if I'm not be clear enough, please let me know on that part.

    Thanks in advance

    Java Developer
    Lwando Mjila

    PS: I have a Event Framework built but now i am lost in it, i have abandoned it *hehe*.
    Attached Files
Working...
X