06-23-2010 06:09 AM
<config evaluator="node-type" condition="csf:customFolderType">
<navigation>
<override from-view-id="/jsp/browse/browse.jsp" to-view-id="/jsp/browse/custombrowse.jsp" />
</navigation>
</config>
06-30-2010 09:04 AM
06-30-2010 09:51 AM
…
"metadata":
{
"parent":
{
<#if doclist.parent??>
"nodeRef": "${doclist.parent.nodeRef}",
"nodeType": "${doclist.parent.type}",
</#if>
"permissions":
{
"userRole": "${user.role!""}",
"userAccess":
…
_setupCustomDataTable: function DL__setupCustomDataTable()
{
var me = this;
var parentNodeRef = ????;
var src = Alfresco.constants.PROXY_URI + "/custom/browsedoclist?nodeRef=" + parentNodeRef;
var customIframe = '"<iframe src="' + src + '" frameborder="0" Marginwidth="0" Marginheight="0" width="100%" height="320" ></iframe>"';
this.widgets.custompanel = new YAHOO.widget.Module(this.id + "-customdocuments", {visible:true } );
this.widgets.custompanel.setBody(customIframe);
this.widgets.custompanel.render();
},
var nodeType = me.doclistMetadata.parent.nodeType;
if(nodeType === "{extension.Custom}customFolder"){
this._setupDataTable(columnDefinitions);
}else{
this._setupCustomDataTable();
}
06-30-2010 10:43 AM
06-30-2010 11:23 AM
07-01-2010 05:38 AM
07-01-2010 09:11 AM
var nodeType = me.doclistMetadata.parent.nodeType;
if(nodeType === "{extension.Custom}customFolder"){
this._setupDataTable(columnDefinitions);
}else{
this._setupCustomDataTable();
}
07-01-2010 10:35 AM
07-01-2010 10:45 AM
Alfresco.util.Ajax.jsonGet(
{
url: [webscript URL],
successCallback:
{
fn: this.onDataReturn,
scope: this
}
});
function onDataReturn(response)
{
// Do something with response.json
}
07-01-2010 11:25 AM
07-01-2010 11:56 AM
For the e-mail that you forwarded via Ash, I didn't get it.Never mind, I guess he replied to Andrew directly.
In fact, I didn't know "Ash", what is it?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.