AnsweredAssumed Answered

Arguments with no value in js function (list_***.htmpl form)

Question asked by AnaKBS_TDI on Nov 16, 2018
Latest reply on Dec 10, 2018 by pacy99

I have this function in a zlist_***.htmpl form:


function CallsSYS (value) {"<a href=\"#\" onclick=\"popupWithURL('$$args.ticket', '1', '1', '1');\">" + value + "</a>");


I'm calling this function from a "lsCol" in the same zlist_obj1.htmpl form:


<PDM_MACRO name=lsStart>
<PDM_MACRO name=lsCol hdr="ticket" attr=ticket exportFmt="ShowLink" fmtfunc="CallsSYS">
<PDM_MACRO name=lsEnd>


This zlist_obj1.htmpl form is shown in a tab form inside detail_cr.htmpl form.


The situation is, I can't get the values of the args inside the js function: $  and tkt=$args.ticket tried with an alert and those variables are empty.


Thanks for any suggestion.