Ticket #1394 (closed defect: fixed)
Focus server-side code needs redesign and implementation (?)
| Reported by: | Jani Laakso | Owned by: | Matti Tahvonen |
|---|---|---|---|
| Priority: | major | Milestone: | User Interface Library 5.2.10 |
| Component: | gwt-adapter-server | Version: | 5.0.0-pre |
| Keywords: | Cc: | ||
| Known Issue description: | |||
| Hours estimate: | Deadline (dd.mm.yyyy): | ||
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | no | ||
| Known Issue workaround: | |||
| Affects release notes: | yes | Contract: | |
Description (last modified by Matti Tahvonen) (diff)
Application now contains focusable element to, this is wrong. Focus can be in per window instead. Also it ought to be terminal that tracks focusing request going for client.
See e.g.
/**
* @deprecated Call component's focus method instead.
*
* @param focusable
*/
public void setFocusedComponent(Focusable focusable) {
pendingFocus = focusable;
}
/**
* Gets and nulls focused component in this window
*
* @deprecated This method will be replaced with focus listener in the
* future releases.
* @return Focused component or null if none is focused.
*/
public Component.Focusable consumeFocus() {
final Component.Focusable f = pendingFocus;
pendingFocus = null;
return f;
}
Change History
Note: See
TracTickets for help on using
tickets.
