Web Script: org/alfresco/components/links/links.get
Generated from /share/service/script/org/alfresco/components/links/links.get on Jun 14, 2026 8:55:30 AM

Script Properties
Id:org/alfresco/components/links/links.get
Short Name:links
Description:Site Links component
Authentication:none
Transaction:none
Method:GET
URL Template:/components/links
Format Style:any
Default Format:html
Negotiated Formats:[undefined]
Implementation:class org.alfresco.web.scripts.DeclarativeWebScript
Extensions:[undefined]

Store: classpath:alfresco/site-webscripts

File: org/alfresco/components/links/links.get.desc.xml
<webscript>
  <shortname>links</shortname>
  <description>Site Links component</description>
  <url>/components/links</url>
</webscript>
File: org/alfresco/components/links/links.get.head.ftl
<link rel="stylesheet" type="text/css" href="${page.url.context}/components/links/links.css" />
<script type="text/javascript" src="${page.url.context}/components/links/links.js"></script>

<!-- TagLibrary Assets -->
<link rel="stylesheet" type="text/css" href="${page.url.context}/modules/taglibrary/taglibrary.css" />
<script type="text/javascript" src="${page.url.context}/modules/taglibrary/taglibrary.js"></script>

File: org/alfresco/components/links/links.get.html.ftl
<script type="text/javascript">//<![CDATA[
	var links = new Alfresco.Links("${args.htmlid}").setOptions(
	{
		siteId: "${page.url.templateArgs.site!''}",
		containerId: "${page.url.templateArgs.container!'links'}",
      initialFilter:
      {
         filterId: "${page.url.args.filterId!'all'}",
         filterOwner: "${page.url.args.filterOwner!'Alfresco.LinkFilter'}",
         filterData: <#if page.url.args.filterData??>"${page.url.args.filterData}"<#else>null</#if>
      }
	});
	links.setMessages(
      ${messages}
     );
//]]></script>

<div id="${args.htmlid}-links-header" class="links-header" style="visibility:hidden">
	
   <div id="${args.htmlid}-linksBar" class="links-toolbar flat-button">
      <div>
         <div id="${args.htmlid}-create-link-container" class="hidden createLink">
            <div style="float:left"><button id="${args.htmlid}-create-link-button" name="linklist-create-link-button">${msg("header.createLink")}</button></div>
            <div class="separator hideable"> </div>
         </div>
         <div style="float:left" class="btn-selected-items">
			<button id="${args.htmlid}-selected-i-dd" name="linklist-create-link-button">${msg("header.selectedItems")}</button>
		  	<div id="${args.htmlid}-selectedItems-menu" class="yuimenu">
				<div class="bd">
               <ul>
                  <li><a class="delete-item" rel="delete" href="#"><span class="links-action-delete">${msg("links.delete")}</span></a></li>
                  <li><a class="deselect-item" rel="" href="#"><span class="links-action-deselect-all">${msg("links.deselectAll")}</span></a></li>
               </ul>
            </div>
           </div>
		 </div>
      </div>
      <div class="rss-feed"><button id="${args.htmlid}-rss-feed" name="rss-feed">${msg("header.rssFeed")}</button></div>
   </div>

   <div id="${args.htmlid}-links-titleBar" class="links-titlebar" >
	   <div id="${args.htmlid}-listTitle" class="list-title">
            ${msg("title.generic")}
        </div>
   </div>

   <div id="${args.htmlid}-links-infoBar" class="links-infobar flat-button" >
      <div class="vm-button-container">
         <button id="${args.htmlid}-viewMode-button"
                 name="topiclist-simpleView-button">${msg("header.simpleList")}</button>
      </div>
      <div class="separator hideable"> </div>
       <div id="${args.htmlid}-paginator" class="paginator"></div>
	   <div  class="select-button-container">
         <button id="${args.htmlid}-select-button">${msg("header.select")}</button>
		 <div id="${args.htmlid}-selecItems-menu" class="yuimenu">
				<div class="bd">
               <ul>
                  <li><a rel="" href="#"><span class="links-action-select-all">${msg("links.selectAll")}</span></a></li>
                  <li><a rel="" href="#"><span class="links-action-invert-selection">${msg("links.invertSelection")}</span></a></li>
                  <li><a rel="" href="#"><span class="links-action-deselect-all">${msg("links.none")}</span></a></li>
               </ul>
            </div>
         </div>
	   </div>
   </div>
</div>

<div id="${args.htmlid}-body" class="links-body" style="visibility:hidden">
	<div  id="${args.htmlid}-links"> </div>
</div>
<p/>
<p/>
<p/>		
File: org/alfresco/components/links/links.get.properties
## Pagination
pagination.template={CurrentPageReport} <span class="separator"></span> {PreviousPageLink} {PageLinks} {NextPageLink}
pagination.template.page-report=Showing items {startRecord} - {endRecord} of {totalRecords}

## template
links.heading=Links
links.search-button=Search
links.empty=No links found.
links.delete=Delete
links.deselectAll=Deselect All
links.selectAll=All
links.none=None
links.invertSelection=Invert Selection
links.edit=Edit

header.createLink=New Link
header.selectedItems=Selected Items
header.detailList=Detailed View
header.simpleList=Simple View
header.detailedList=Detailed View
header.select=Select

linksDelete=Delete

title.generic=Links
title.all=All Links
title.user=My Links
title.recent=Recently Added Links
title.bytag=Links with tag <b>{0}</b>

dialog.confirm.message.delete=Are you sure you want to delete "{0}"?
dialog.confirm.message.delete.selected=Delete selected links?

dialog.tags.none=(None)

message.delete.success=Link deleted
message.delete.failure=Unable to delete link
message.wait=wait

header.rssFeed=RSS Feed

details.created.on=Created On
details.created.by=Created By
details.description=Description
details.url=URL
details.tags=Tags

Store: classpath:alfresco/webscripts

[No implementation files]