I am in the process of upgrading from Struts 2.0.11.1 to 2.1.8.1 and am having
some issues with the TabbedPanel.
Previously, I had customized how the TabbedPanel looks by setting the
templateCssPath attribute to the location of a CSS file that was a copy of the
provided TabContainer.css with my changes. I made a few minor changes which
included pointing to different image files with different names. This worked
great in 2.0.11.1. However, it does not appear to be working at all in 2.1.8.1.
When I look at the HTTP header in my browser, it does look like the control is
attempting to do something with the templateCssPath that I provided. I just
cannot tell what. In particular, I notice the following in my HTTP headers
when using 2.1.8.1:
68:29:11.823 0.345 800 260 GET 200 text/css
http://localhost:8180/sca/struts/TabbedPanel.css
68:29:11.961 0.274 823 1186 GET 404 text/html
(NS_IMAGELIB_ERROR_NO_DECODER)
http://localhost:8180/sca/static/css/images/tab_left.gif
68:29:12.036 0.222 828 1201 GET 404 text/html
(NS_IMAGELIB_ERROR_NO_DECODER)
http://localhost:8180/sca/static/css/images/tab_top_right.gif
If I remove the templateCssPath, I notice the following in my HTTP headers when
using 2.1.8.1:
00:00:02.582 0.286 800 260 GET 200 text/css
http://localhost:8180/sca/struts/TabbedPanel.css
00:00:02.687 0.203 845 260 GET 200 image/gif
http://localhost:8180/sca/struts/dojo/src/widget/templates/images/tab_left.gif
00:00:02.770 0.126 850 260 GET 200 image/gif
http://localhost:8180/sca/struts/dojo/src/widget/templates/images/tab_top_right.gif
This is what is looks likes using 2.0.11.1 with the templateCssPath set:
00:00:47.149 0.233 1386 3919 GET 200 text/css
http://localhost:8180/sca/static/css/tabContainerGray.css
00:00:47.526 0.026 1405 518 GET 200 text/html
http://localhost:8180/sca/struts/dojo/src/widget/templates/TabContainer.html
00:00:47.645 0.131 1356 1556 GET 200 image/gif
http://localhost:8180/sca/static/images/gray_tab_left.gif
00:00:47.724 0.062 1361 3318 GET 200 image/gif
http://localhost:8180/sca/static/images/gray_tab_top_right.gif
Am I doing something wrong or is this a bug?
Thanks in advance,
Ken
-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.