S
Saya
Hi,
I have the following scenario in a system that we run. From a webpage
using javascript I am able to invoke a *.ipl script on the server and
pass parameters as well:
javascript param parsing:
parameters = new Object();
parameters.iw_arrArtikelIDs = arrArtikelsToExtract;
callServer("test.ipl", parameters, true);
*.ipl param extraction:
my${cgi} = new CGI();
my $arrArtikelIDs = ${cgi}->param('iw_arrArtikelIDs');
The issue here is that arrArtikelsToExtract is a java array containing
ID's that I need to process in the *.ipl script. I can't seem to get
it to work.
I thought I was so lucky that I could get away with saying something
like the below in the *.ipl script:
my @arrArtikelIDs = ${cgi}->param('iw_arrArtikelIDs');
Does anyone have any hints/clues/way(s) of achieving this. Parsing an
array from javascript to an ipl script ?
I have the following scenario in a system that we run. From a webpage
using javascript I am able to invoke a *.ipl script on the server and
pass parameters as well:
javascript param parsing:
parameters = new Object();
parameters.iw_arrArtikelIDs = arrArtikelsToExtract;
callServer("test.ipl", parameters, true);
*.ipl param extraction:
my${cgi} = new CGI();
my $arrArtikelIDs = ${cgi}->param('iw_arrArtikelIDs');
The issue here is that arrArtikelsToExtract is a java array containing
ID's that I need to process in the *.ipl script. I can't seem to get
it to work.
I thought I was so lucky that I could get away with saying something
like the below in the *.ipl script:
my @arrArtikelIDs = ${cgi}->param('iw_arrArtikelIDs');
Does anyone have any hints/clues/way(s) of achieving this. Parsing an
array from javascript to an ipl script ?