mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
17102: Add Date svn:keyword 17103: - mask out cmis-tck-ws build/classes folder, fix JRE dependency in cmis-tck-ws .classpath 17106: MOB-1330: Upgrade Web Services Repository to 0.7. 17117: Now moved to Chemistry. 17120: CMIS Update to v1.0 Committee Draft 04 17123: Checkin mistake. 17129: Updated Chemistry AtomPub TCK with appropriate UTF-8 encoding. 17138: Fix reference to CMIS change list in CMIS Front Page. 17142: Move all CMIS web scripts into same package. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
25 lines
694 B
JavaScript
25 lines
694 B
JavaScript
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/lib/constants.lib.js">
|
|
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/lib/read.lib.js">
|
|
|
|
script:
|
|
{
|
|
// locate association
|
|
var rel = getAssocFromUrl();
|
|
if (rel.assoc == null)
|
|
{
|
|
break script;
|
|
}
|
|
model.assoc = rel.assoc;
|
|
|
|
// property filter
|
|
model.filter = args[cmis.ARG_FILTER];
|
|
if (model.filter === null)
|
|
{
|
|
model.filter = "*";
|
|
}
|
|
|
|
// include allowable actions
|
|
var includeAllowableActions = args[cmis.ARG_INCLUDE_ALLOWABLE_ACTIONS];
|
|
model.includeAllowableActions = (includeAllowableActions == "true" ? true : false);
|
|
}
|