var type = "";
for each (field in formdata.fields)
{
if (field.name == "type")
{
type = ""+field.value;
}
}
mais il me rend une erreur 'formdata n'est pas défini'.
getTypes: function DA_getTypes()
{
return field.options[field.selectedIndex].value !== "-";
},
getTypes: function DA_getTypes()
{
return this.selectedValues;
},
// Construct the data object for the genericAction call
this.modules.actions.genericAction(
{
success:
{
callback:
{
fn: fnSuccess,
scope: this
}
},
failure:
{
callback:
{
fn: fnFailure,
scope: this
}
},
webscript:
{
name: "xxx/site/{site}/{container}",
method: Alfresco.util.Ajax.POST
},
params:
{
site: this.options.siteId,
container: this.options.containerId
},
wait:
{
message: this.msg("message.please-wait")
},
config:
{
requestContentType: Alfresco.util.Ajax.JSON,
dataObj:
{
nodeRefs: multipleFiles,
[b] type: getTypes()[/b]
}
}
});
var atype = "";
if (!json.isNull("type"))
{
atype = json.get("type");
}
…
webscript:
{
name: "xxx/site/{site}/{container}/{type}",
method: Alfresco.util.Ajax.POST
},
params:
{
site: this.options.siteId,
container: this.options.containerId,
type: Dom.get(this.id + "-type").value
},
…
var type = url.templateArgs.type;
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.