AnsweredAssumed Answered

Alfresco Share architecture

Question asked by tianyinlq on Apr 11, 2011
Latest reply on Mar 22, 2012 by jpotts
Hi, all
    I'm new in Alfresco. Now I'm reading the code of share part, I have a lot of questions and really cannot get the point, especially the the js file and the .get.desc.xml file. such us, when set the permission of a user in manage-permission page, I think the below code will be executed in manage-permissions.js:

onSaveButton: function Permissions_onSaveButton(type, args)
{ ……
    Alfresco.util.Ajax.jsonPost(
     {
         url: Alfresco.constants.PROXY_URI + "slingshot/doclib/permissions/" + this.options.nodeRef.uri,
         ……
     }
}

and I find this code in permissions.get.desc.xml
<webscript>
   ……
   <url>/slingshot/doclib/permissions/{store_type}/{store_id}/{id}</url>
   ……
</webscript>

all  .get/post.desc.xml  files has the <url> node, what does it mean, and how can i find java code via this url

Thank you for your help.
Kevin

Outcomes