[
https://jira.nuxeo.org/browse/NXP-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=70341#action_70341
]
Sean Radford commented on NXP-4798:
-----------------------------------
Ah yes, of course the 'Nuxeo' events are part of the core and so should have
not really have any UI related dependencies (though in some ways any
dependencies introduced in an Event Listener is the responsibility to the 3rd
party developer).
My suggested modification to AbstractSession still holds true though.
> Improve customization of document actions methods
> -------------------------------------------------
>
> Key: NXP-4798
> URL: https://jira.nuxeo.org/browse/NXP-4798
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Affects Versions: 5.3 GA
> Reporter: Anahide Tchertchian
> Fix For: 5.3.x
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets