isDocumentLiveEditable are expensive since they include a call to documentManager.hasPermission (to check WRITE_PROPERTIES). Since liveEditHelper.isDocumentLiveEditable is to be called 6 times for each occurence in a single "rendered" JSF attribute it makes sence memoizing the result of the first call in the Event Seam context (e.g. as a field of the Event scoped liveEditHelper seam component).
-
- Assignee:
- Olivier Grisel
- Reporter:
- Olivier Grisel
- Participants:
-
- Votes:
-
0 Vote for this issue
- Watchers:
-
0 Start watching this issue