I am working on developing a few custom widgets in order to learn how GWT works. One of these widgets is a custom scrollbar similar to that used by Google Wave. I have most of the widget working using nested DIV elements to display the visual elements. However, I am having difficulty getting the controls Up Button, Down Button and the Drag handle to provide events to my widget instance. These elements were created using nested DIVs as well.
This scrollbar is not nested in a parent widget, but scrollbar itself is attached to the root of the DOM and is positioned dynamically. I cannot receive the events on the nested DIV elements unless I call the onAttach method in my constructor. I see the operation of this widget being similar to that of the DialogBox, but I cannot figure out where the onAttach method is called on the dialog boxes? Can anyone give me some input or ideas on where to start reading? Thanks! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
