ThierryC
04-15-2010, 11:49 AM
launching another option from an existing program is done by specifying the option nbr of the program to launch.
var newWindow = window.open('vvcall.pgm?opt=1013&pgm=vvinit&sid=' + sid.......
using this optionnbr (which is a generated nbr) means that when you have 2 apache servers running (a test and a production one), that these optionnbrs need to be synchronised in both environments.. (or you might get strange results)
in my example now, it could be that option 1013 refers to 2 different programs....
to avoid problems, it would be good if it were possible to specify somenthing else than the generated nbr in the option f.e the unique program name..
var newWindow = window.open('vvcall.pgm?opt=1013&pgm=vvinit&sid=' + sid.......
using this optionnbr (which is a generated nbr) means that when you have 2 apache servers running (a test and a production one), that these optionnbrs need to be synchronised in both environments.. (or you might get strange results)
in my example now, it could be that option 1013 refers to 2 different programs....
to avoid problems, it would be good if it were possible to specify somenthing else than the generated nbr in the option f.e the unique program name..