Community
Participate
Working Groups
When entering text via the keyboard into a Text widget, the input can be checked with a VerifyListener. Beside the "text", "start" and "end" fields the "character" field of the VerifyEvent should be set. I checked the SWT implementations for win32, gtk and cocoa and all of them do it. (I know this is poorly documented) In Riena we depend on the correctly filled "character" field for all the special text widgets (Numeric, Date, ...), which at the current time do not work with RAP.
This problem has already been discussed in bug 244008. I keep this one open as a dependency for Riena anyway. I'm not sure if we can fix this. In RAP, changes are sent to the server in chunks. As a result, there won't be one Event for key press but one event for a larger change. See also bug 244008. Note that SWT has the same behavior when text is pasted into a text field. When more than one character change, the character field will be empty. How would Riena deal with those cases?
Currently "special" text input widgets in Riena (numeric, date, ...) do not support pasting. I consider this a bug, but it has a very, very low priority. :-| So, we have to live with my workaround.
*** Bug 336034 has been marked as a duplicate of this bug. ***