This content has been marked as final.
Show 2 replies
-
1. Re: how to pass parameters to ftl function?
knevik Jan 23, 2012 11:02 AM (in response to knevik)I've figured out a way of doing this an it's to pass the parameter to a hidden text object and then retrieve it from there
var aipids = document.form.AIPs.value
<INPUT name="AIPs" type="hidden" value=${aipid}/>
-
2. Re: how to pass parameters to ftl function?
knevik Jun 11, 2012 5:44 AM (in response to knevik)The way to do this is actually to pass the variable directly into the function
To do this the definition of the function needs to be changed to
function fillList(aips)
and when calling the variable needs to be surrounded by single quote marks (when just adding to the text of the form on ${aipids} is needed and this was where the problem arose)
"fillList('${aipids}')"