On Sat, 9 Aug 2003, David M. Karr wrote: > Date: 09 Aug 2003 18:12:19 -0700 > From: David M. Karr <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: cvs commit: jakarta-struts/contrib/tag-doc build.xml > > >>>>> "Craig" == Craig R McClanahan <[EMAIL PROTECTED]> writes: > > Craig> On Sat, 9 Aug 2003, David M. Karr wrote: > >> Date: 09 Aug 2003 16:01:52 -0700 > >> From: David M. Karr <[EMAIL PROTECTED]> > >> Reply-To: Struts Developers List <[EMAIL PROTECTED]> > >> To: [EMAIL PROTECTED] > >> Subject: Re: cvs commit: jakarta-struts/contrib/tag-doc build.xml > >> > >> >>>>> "craigmcc" == craigmcc <[EMAIL PROTECTED]> writes: > >> > craigmcc> craigmcc 2003/08/09 12:29:30 > craigmcc> Modified: . build.xml > craigmcc> ELFormTag.java ELHtmlTag.java > craigmcc> ELJavascriptValidatorTag.java > craigmcc> Log: > >> > craigmcc> Also fixed some compile errors in struts-el -- I don't know how that > code > craigmcc> could have compiled for anyone. Could someone more familiar with that > craigmcc> library make sure I did the changes correctly? > >> > >> Huh? What compile errors were you getting? I just re-updated and changed it > >> back to the way it was (in ELFormTag, at least), and it compiles fine (with > >> both 1.4.1 and 1.3.1). It can't work the way you changed it, because it has > to > >> call the base class setter, which takes a boolean, not a string. > > Craig> I was getting "cannot resolve method" errors for the cases that were > Craig> changed. Can you go ahead and commit your reversions so I can reproduce > Craig> the errors? > > Done. I made these changes a few days ago to match very recent changes to the > base tags. If you're getting "cannot resolve method" errors, I would assume > the struts.jar you're referencing is before those changes. > >
Picking up your reversions, I get 3 errors (plus two deprecation warnings I'm not worrying about) when I run "ant clean dist" from the top-level directory: /home/craigmcc/Jakarta/jakarta-struts-1.2/contrib/struts-el/src/share/org/apache/strutesl/taglib/html/ELJavascriptValidatorTag.java:281: cannot resolve symbol symbol: method setScriptLanguage (boolean) location: class org.apache.strutsel.taglib.html.ELJavascriptValidatorTag setScriptLanguage(bool.booleanValue()); ^ /home/craigmcc/Jakarta/jakarta-struts-1.2/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELFormTag.java:391: cannot resolve symbol symbol: method setScriptLanguage (boolean) location: class org.apache.strutsel.taglib.html.ELFormTag setScriptLanguage(bool.booleanValue()); ^ /home/craigmcc/Jakarta/jakarta-struts-1.2/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELHtmlTag.java:163: cannot resolve symbol symbol: method setLang(boolean) location: class org.apache.strutsel.taglib.html.ELHtmlTag setLang(bool.booleanValue()); ^ If I cd to "contrib/struts-el" and run "ant clean dist", I get exactly the same errors. Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]