"Deadman, Hal" wrote:

 That sounds good. I guess I didn't really know what the img tag was for. It's not in the documentation yet is it? Looking at the code I have a better idea of what it's for but I think the page attribute would be good for consistency. Thanks, Hal


Actually, a tag *has* to be in the documentation for it to be useable in the code, due to the build process for Struts.  As some have noticed, the TLD files for each library are not in the source distribution -- they are created from the same XML input files that the tag library reference docs are created from, so you have to document a tag in order to use it in a program.  I felt that this was a good exercise in self discipline :-).

What you might observe, though, is that the web site version of the docs are not always updated as quickly as the nightly builds are (although I did update it yesterday).  You should always use the struts-documentation.war file from the nightly build of Struts you are using, in order to know what tags are supported and what their attributes are.

Craig McClanahan
 

Reply via email to