-
17 Jul 2012 7:52 AM #1
image src vs cls
image src vs cls
I need to set the image source via css and not using a static path in "src" property.
In Architect the "src" property is mandatory, if i try to set only "cls" I have an error..
How can I do it?
Thanks.
-
17 Jul 2012 8:40 AM #2
Did you add the css file that references your class as a resource in Architect?
Allister
-
17 Jul 2012 10:25 AM #3
-
17 Jul 2012 10:10 PM #4
I resolved... in the afterrender of the image I used:
myImage.setSrc(Ext.BLANK_IMAGE_URL) and it works!


Reply With Quote