On Feb 13, 11:15 am, Rhino user <[EMAIL PROTECTED]> wrote:
> On Feb 13, 9:17 am, Christophe Grand <[EMAIL PROTECTED]> wrote:
>
>
>
> > Rhino user a écrit :
>
> > > On Feb 12, 9:54 pm, Rhino user <[EMAIL PROTECTED]> wrote:
> > >> Hi ,
> > >>  I have a script like his
> > >> try{
> > >>  var f = this.getOCGS();}
>
> > >> catch(exeption e){
> > >>    logger.println(e);;
>
> > >> }
>
> > > This problem is really  weird , could somebody pl. help.
> > > Thanks
>
> > No idea, can you try this?
>
> > var that = this;
> > try{
> >   var f = that.getOCGS();}
>
> > catch(exeption e){
> >     logger.println(e);;
>
> > }
>
> No luck :(.
> this does not work either.
> Thanks

IS this a Rhino bug ??
If the try-catch is removed it works.
The actual this object  is fine.
I can not tell the users of the software to modify the JS file. The
scripts come as part of a PDF file.

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to