Hi
I am not certain this function is working as described in the manual. As I understand it this function should return any arguments passed via the URL to a web client in the form of and array. I would therefore expect to get an array returned and be able to split this using the format array[0] for the first item etc
I have done a simple test site which can be accessed at the following address
http://clipper.clickdigital.com/servoy- ... est2|Test3
Note I would expect this code to return an item in each of the boxes using this function:
function startup2() {
var args_array = application.getStartupArguments();
forms.login.Arg1 = args_array[0];
forms.login.Arg2 = args_array[1];
forms.login.Arg3 = args_array[2];
forms.login.arguments_array = args_array;
forms.login.arguments_array_length = args_array.length;
}
ie that args_array would now be an array
The results I am trying to obtain can be seen with this:
function startup1() {
var args_array = ['Arg1','Arg2','Arg3'];
forms.login.Arg1 = args_array[0];
forms.login.Arg2 = args_array[1];
forms.login.Arg3 = args_array[2];
forms.login.arguments_array = args_array;
forms.login.arguments_array_length = args_array.length;
}
Having spent some time fiddling about with this any pointers to obvious errors would be appreciated
best
gordon