Subj : JavaScript: Rhino doesn't find a field for Element To : netscape.public.mozilla.jseng From : alevlash@msn.com (AlEvlash) Date : Tue Nov 25 2003 03:15 pm Hello everybody, this is a JavaScript running in HTTPUnit: var eJoin = document.getElementById('j' + this.obj + id); eJoin.src = (this.config.useLines)? ((status)?((bottom)?this.icon.minusBottom:this.icon.minus):((bottom)?this.icon.plusBottom:this.icon.plus)): ((status)?this.icon.nlMinus:this.icon.nlPlus); this is an exception message: failed: org.mozilla.javascript.EvaluatorException: Java class \"org.mozilla.javascript.UniqueTag\" has no public instance field or method named \"src\". (httpunit; line 533)" these are questions: What to do to avoid this exception? (The most important thing is to run through the whole script.) Implement Element object with this field? How to do that? Thank you very much, Alexandr www.geocities.com/alevlash/ .