I have a method getItemAt(int pos, boolean exportValue) in javascript, which is implemented on java side as jsFunction_getItemAt(int pos, boolean exportValue) The boolean argument is optional. with the default value of exportValue as true. But If the method is called with only as(jetItemAt(i) it is supposed to be getItemAt(i, true) But Rhino does internal conversion for one args to 2 depending on the number of arguments in the java method. And the default value passed for boolean is "false" where I want it to be True. I tried adding another method as jsFunction_getItemAt(int pos) but that does not help. Is there any solution to this problem. Thanks -Anupanma _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
