Details
Description
DocumentStore.save is called twice during user input when compressDOM is enabled, first in applyBrowserDOMChanges and again at the end of the cycle. See
Activity
| Field | Original Value | New Value |
|---|---|---|
| Salesforce Case | [] | |
| Fix Version/s | 1.8DR#3 [ 10143 ] |
| Salesforce Case | [] | |
| Affects | [Documentation (User Guide, Ref. Guide, etc.)] | |
| Assignee Priority | P2 | |
| Assignee | Ted Goddard [ ted.goddard ] |
| Salesforce Case | [] | |
| Component/s | Framework [ 10013 ] |
| Comment | [ Not sure what needs documenting, assigned to Ted. ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #18181 | Fri Jan 16 15:51:46 MST 2009 | ted.goddard | Document cache call to delay fast infoset compression ( |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 1.8 [ 10161 ] | |
| Assignee Priority | P2 |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee | Ted Goddard [ ted.goddard ] |

DocumentStore.cache(Document document) now keeps the document in memory until a call to save(). This allows applyBrowserDOMChanges to leave the DOM in memory for later processing.
Note that a sequence of cache() calls must always be followed by a save() call on the same request for the compression to take effect.