mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
First cut of Facebook integration:
1) Web Script framework extensions for supporting the development of Alfresco based Facebook applications 2) Sample Document Library Facebook application 3) FormData enhancements for supporting request args retrieval for multipart/form-data encoding 4) Sort order added to Search Javascript API Note: Stuff needs commenting, tidy up, but at least it's in SVN. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -248,9 +248,18 @@ public class TemplateServiceImpl implements TemplateService
|
||||
}
|
||||
|
||||
// Put the common node reference into the model
|
||||
model.put(KEY_COMPANY_HOME, companyHome);
|
||||
model.put(KEY_USER_HOME, userHome);
|
||||
model.put(KEY_PERSON, person);
|
||||
if (companyHome != null)
|
||||
{
|
||||
model.put(KEY_COMPANY_HOME, companyHome);
|
||||
}
|
||||
if (userHome != null)
|
||||
{
|
||||
model.put(KEY_USER_HOME, userHome);
|
||||
}
|
||||
if (person != null)
|
||||
{
|
||||
model.put(KEY_PERSON, person);
|
||||
}
|
||||
|
||||
// add the template itself as "template" if it comes from content on a node
|
||||
if (template != null)
|
||||
|
Reference in New Issue
Block a user