Hi Shekhar,

Shekhar Bhati <[email protected]> wrote on 05/20/2009 06:37:54 AM:

> We have overrided RhinoInterpreter class and following is line of 
> code I am using :
> 
> parent = new LiveConnectBrowserObject("body", 
JSObject.getWindow(applet));
>         }
>         bindObject("parent", parent);
> 
> where LiveConnectBrowser is in parent heiarchy 

   This looks like it should connect the LiveConnectBrowserObject
instance with the global variable 'parent'.  Is this not working?
Where in your override are you doing this?

> i saw that defect 46072 , do I need to write the code for 
> LocationWrapper and all dat mentioned in the mail chain or I can 
> find that code somewhere.

   I think the Patch was applied to the code base (but it's
probably post 1.7) so you would need to you the latest version
out of SVN or try applying the patch yourself.

> Or even if anyone can tell me how to implement this functionality 
> from scratch.
> 
> 2009/5/19 Helder Magalhães <[email protected]>
> Hi Shekhar, 
> 
> 
> 
> > This was working in ASV but giving null in Batik.
> >
> > I tried your option , but window.location appears as null so I am 
still
> > badly stucked.

> Few loose thoughts:
>  * Have you tried binding the "parent" variable using JSObject?
>  * You *are* using the latest code [1], right?
> 
> Note that you are providing little information (nothing about a simple
> test case, Batik release/revision, Java version environment, etc.),
> without which its really hard to keep guessing... :-|
> 
> 
> > Its really urgent if anyone can help me.

> Yes, I guess that makes you a busy person [2]... ;-)
> 
> 
> > Thanks & regards,
> > Shekhar
> 
> Regards,
>  Helder
> 
> 
> [1] 
http://xmlgraphics.apache.org/batik/download.html#Subversion+repository
> [2] http://www.catb.org/~esr/faqs/smart-questions.html#urgent
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to