-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 5.3 GA
-
Fix Version/s: None
-
Component/s: Seam / JSF UI
-
Tags:
Override "documentActions" seam component (using seam install precedence mechanism) is the only solution to make it possible to, for instance:
- generate the document name according to custom rules
- fill the document model properties using seam context variables (event listener before document model creation is not enough because it does not have access to the seam context), before creation form is presented, or after document model is saved to the session (when creaton the document or editing it)
Plus it seems seam remoting methods do not behave correctly when overriding the seam component, as posted on the ecm mailing list (see http://lists.nuxeo.com/pipermail/ecm/2010-February/008657.html). These methods are useful to select document from tables.
=> An easy solution may be to raise seam events in DocumentActionsBean component to provide hooks in appropriate methods that usually need to be customized.