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=26647>. 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=26647 srcKey in <html:img/> tag needs matching size keys. Summary: srcKey in <html:img/> tag needs matching size keys. Product: Struts Version: 1.1 Final Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] On high-traffic web sites it is necessary to add the height and width of any image to allow for faster and more predictable loading. Under these circumstances, it is very difficult to manage the images using the srcKey attribute since the sizes must be either hard-coded into the tag or created using some type of obtuse code to populate the boxes. It would be much more desirable to have a "sizeKey" attribute where a height/width of an item would be entered into a property file in a comma delimited form (or other agreed upon format): in the property file myImage.image = /images/someFooImage.jpg myImage.image.size = 180,160 The JSP img tag would look like: <html:img srcKey="myImage.image" sizeKey="myImage.image.size"/> We are moving a high-traffic site to struts (10-12+ million hits monthly) and this has been a thorn in our side. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]