Hi,I have a javascript which passes the parameter to ipl.Ipl is working fine. But javascript is not calling the ipl.I call it through callServer. Heres my code.Could anyone suggest what went wrong?Thanks.
...foreach $tagAgain(@newTag) { my $capacityNode = $tagAgain->first_child('percentage')->text; if ($myValue eq $capacityNode) { ... }}...
function ChangeHandler(item) { var params = new Object();var val= IWDatacapture.getItem("/partnerproduct/capacity"); params.myValue =item.getOptions()[item.getValue()].value;alert("params"+params); alert("myValue"+params.myValue); IWDatacapture.callServer("http://"+server+"/iw-bin/allowDeny.ipl",params); alert("calling server");}/*function that sets the hidden values got from the ipl.. gets called by the ipl*/function values(hiddenValues1,hiddenValues2) { alert("hiddenValues1"+hiddenValues1); alert("hiddenValues2"+hiddenValues2);}IWEventRegistry.addFormHandler("onFormInit", init);var server = window.location.hostname;
Sorry, part of the code is missed while posting.Am attaching the ipl again.
$twig->parsefile("capacity.xml");
$twig->parsefile("/full/path/to/capacity.xml");
I tried giving the full path and i also tried this way...$twig->parsefile("@ARGV[ 0 ]\\httpd\\iw-bin\\Cactus\\capacity.xml"); All the times i try with all possibiliies, IPL is working fine.But JS is not Calling the IPL.