| Summary: | [History] prevent unnecessary timer calls on client | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tim Buschtoens <tbuschto> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | ivan, tbuschto |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Tim Buschtoens
This would require BrowserHistory.java to write a protocol message to listen to history events (on display?). Since it has no LCA, i'm not sure what would be the best way to implement and test this. Ideas? History.js is a singleton. We could deal with it like with other singletons (UICallBack for example). Register History.js as a predefined object on the client, create an adapter and add a "navigation" listener to it. More over, server-side BrowserHistory class still renders javascript (qx.client.History.getInstance().addToHistory). We have to change it with a protocol message too. Switched BrowserHistory to the protocol and start the timer only when there is a listener attached. Changes are in CVS HEAD. |