Widgets: Button: Foreground image is not cached, and is reloaded every time the 
button is clicked
-------------------------------------------------------------------------------------------------

                 Key: XAP-328
                 URL: https://issues.apache.org/jira/browse/XAP-328
             Project: XAP
          Issue Type: Bug
          Components: Widgets
            Reporter: Trevor Oldak


This helps if you have a request monitor, but can be tested without one.

1) Open the button widget component test
2) Set 'image' equal to '../images/foregroundJPG'
3) click the button.
If you were monitoring the requests, you'll see that the foreground image was 
requested from the server again. And will be requested every time you click the 
button again
If you aren't able to monitor requests, now replace foreground.JPG with another 
image (give it the same name) and click the button. The image will change as 
soon as you click it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to