03-08-2010 06:32 AM
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");
}
03-09-2010 09:05 AM
…
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;
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.