You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/01/30 00:23:15 UTC
DO NOT REPLY [Bug 16571] New: -
Error in documentation for html:img tag.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16571>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16571
Error in documentation for html:img tag.
Summary: Error in documentation for html:img tag.
Product: Struts
Version: Nightly Build
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: jespey@tallan.com
CC: hdeadman@tallan.com,jespey@tallan.com
The documentation for the img tag states that the page property is context relative:
The application-relative path, starting with a slash, of the image to be
displayed by this tag. The rendered URL for this image will automatically
prepend the context path of this web application (in the same manner as the page
attribute on the link tag works), in addition to any necessary URL rewriting.
You must specify either the page attribute or the src attribute.
But the source code javadocs state that it is module relative:
ImgTag: <i>revision 1.26</i>
/**
* The module-relative path, starting with a slash character, of the
* image to be displayed by this rendered tag.
*/
protected String page = null;
It seems that the documentation should be updated to reflect this. Can anyboby
comment on whether there should be a contextRelative property that defaults to
true, so that I won't have to copy my images into my module?
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org