Subj : Re: Embedding Parameters To : netscape.public.mozilla.jseng From : gfloria@tcpsi.es (gonzalo) Date : Mon Apr 14 2003 03:48 am Igor Bukanov wrote in message news:<3E9582B4.2000008@fastmail.fm>... > gonzalo wrote: > > > > Now, we DONT KNOW how to: > > * capture the setting of a property (obj.style.cursor = 'hand'; (JS > > code)) > > I assume here obj points to some DOM element, but then your DOM > implementation should support getStyle() method which Rhino via > reflection will map to obj.style property etc. This isn't very clear. What we need is to handle the setting of a property. Imagine my Java object Document (extends Scriptable object) has a propery called myProperty. In the JS code is written document.myProperty = 'something'; What method is rhino going to call on my Document object, while interpreting that code? how am i going to "see" this 'something' value. My english is not that good, but i think the problem is simple. Rhino compiles and executes the setting of a property value. How do i become aware of that, from the point of view of the object I have provided Rhino. thanx again .