Subj : Re: JavaScript: Rhino doesn't find a field for Element To : AlEvlash From : Igor Bukanov Date : Wed Nov 26 2003 12:12 pm Please report it to HTTPUnit developers. Rhino is just a JavaScript engine without any support for DOM API. Regards, Igor AlEvlash wrote: > 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/ .