onActionLier: function dlA_onActionLier(record)
{
if (!this.modules.lierFichier)
{
this.modules.lierFichier = new Alfresco.module.DoclibLierFichier(this.id + "-lierFichier");
}
var allowedViewModes = [ Alfresco.module.DoclibGlobalFolder.VIEW_MODE_REPOSITORY ];
this.modules.lierFichier.setOptions(
{
allowedViewModes: allowedViewModes,
siteId: this.options.siteId,
containerId: this.options.containerId,
path: this.currentPath,
files: record,
rootNode: this.options.rootNode,
parentId: this.getParentNodeRef(record)
}).showDialog();
}
<#include "../component.head.inc">
<#include "../form/form.get.head.ftl">
<@script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/lier-fichier.js"></@script>
<!– Document List –>
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/components/documentlibrary/documentlist.css" />
<@script type="text/javascript" src="${page.url.context}/res/components/documentlibrary/documentlist.js"></@script>
<#include "../component.head.inc">
<#– Document Library Actions: Supports concatenated JavaScript files via build scripts –>
<script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/lier-fichier-min.js"></script>
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/modules/documentlibrary/lier-fichier.css" />
<#if DEBUG>
<script type="text/javascript" src="${page.url.context}/res/components/documentlibrary/actions-min.js"></script>
<script type="text/javascript" src="${page.url.context}/res/components/documentlibrary/actions.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/simple-dialog.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/global-folder.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/copy-move-to.js"></script>
<script type="text/javascript" src="${page.url.context}/res/components/people-finder/people-finder.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/permissions.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/documentlibrary/aspects.js"></script>
<script type="text/javascript" src="${page.url.context}/res/modules/social-publish.js"></script>
<#else>
<script type="text/javascript" src="${page.url.context}/res/js/documentlibrary-actions-min.js"></script>
</#if>
<#– Common actions styles –>
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/components/documentlibrary/actions.css" />
<#– Global Folder Picker (req'd by Copy/Move To) –>
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/modules/documentlibrary/global-folder.css" />
<#– People Finder Assets (req'd by Assign Workflow) –>
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/components/people-finder/people-finder.css" />
<#– Manage Permissions –>
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/modules/documentlibrary/permissions.css" />
<#– Manage Aspects –>
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/modules/documentlibrary/aspects.css" />
<#– Social Publishing –>
<@link rel="stylesheet" type="text/css" href="${page.url.context}/res/modules/social-publish.css" />
Je cherche maintenant à modifier cette dialog de manière à ce qu'elle affiche également les fichiers et pas seulement les dossiers. Auriez-vous des tuyaux ou des pistes pour effectuer ce genre d'opérations ?
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.