[
http://jira.nuxeo.org/browse/NXP-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32653#action_32653
]
Radu Darlea commented on NXP-1959:
----------------------------------
I added a new tag <actionSelector> containing one of: actionEdit, actionNew,
actionFromTemplate. This is intending to specify to the client what case is
processed and also how to interpret the XML tags.
So, in the case of editing an existing document, the action is actionEdit. The
<document> section contains data referring to the to be edited document.
If the action is "actionNew", the document will contain mostly empty tags,
except the mimeType and docType, which refer to the newly to be created
document. The XPath related information can be used to specify which property
to be used for saving the binary data.
In the last case, action is actionFromTemplate. In this situation, the
<document> section refers to the template to be used as starting point for the
new document. Also, the XPath related fields can be used to point the property
to store the new binary content. The mimeType is the one present in the
template which also should be the mime type to be used for the new document.
The docType remains the type chosen for the newly to be created document and it
should be returned to the server when the new document saved.
Created review request: CR-87.
> Prepare the bootstrap file for the createNewDocument use case.
> --------------------------------------------------------------
>
> Key: NXP-1959
> URL: http://jira.nuxeo.org/browse/NXP-1959
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Sub-task
> Affects Versions: 5.1.3
> Reporter: Radu Darlea
> Assignee: Radu Darlea
> Fix For: 5.1.4
>
> Original Estimate: 1 day
> Time Spent: 5 hours
> Remaining Estimate: 3 hours
>
> TBD.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://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