07-16-2013 09:32 AM
07-16-2013 07:45 PM
_callScript: function FGLocationContraventions__cllScript() {
this.actionURL = YAHOO.lang.substitute(Alfresco.constants.PROXY_URI +
"/farthest-gate/fg-location-contraventions?noderef={noderef}",
{
noderef: this.selectedLocation.value
});
Alfresco.util.Ajax.request(
{
url: this.actionURL,
method: Alfresco.util.Ajax.GET,
successCallback:
{
fn: this._loadOptions,
scope: this
},
failureCallback:
{
fn: this._getOptionsFail,
scope: this
},
scope: this,
noReloadOnAuthFailure: true
});
},
_loadOptions: function FGLocationContraventions__loadOptions(p_response)
{
// Do your stuff here
}
07-17-2013 02:14 AM
this.actionURL = YAHOO.lang.substitute(Alfresco.constants.PROXY_URI +
"/components/form?itemkind={itemkind}&itemId={itemId}&destination={destination}&mode={mode}&submitType={submitType}&formId={formId}&showCancelButton={showCancelButton}&htmlId={htmlId}",
{
itemKind: "node",
itemId: fileInfo.noderef,
destination:"destination",
mode: "edit",
submitType:"json",
formId:"doclib-simple-metadata",
showCancelButton:true,
htmlid: this.parentId,
});
Alfresco.util.Ajax.request(
{
url: this.actionURL,
method: Alfresco.util.Ajax.GET,
successCallback:
{
fn: fnFormLoaded,
obj: this,
scope: this
},
scope: this,
execScripts: true
});
07-17-2013 11:17 AM
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.