if("background-image".equals(key)) {
if (value instanceof NSData) {
NSData data = (NSData) value;
WOResourceManager rm = WOApplication.application().resourceManager();
String mimeType = (String) (_mimeType != null ? _mimeType.valueInComponent(component) : "image/jpeg");
WOURLValuedElementData uve = new WOURLValuedElementData(data, mimeType, null);
rm._cacheData(uve);
stringValue = uve.dataURL(wocontext);
} else {
stringValue = value.toString();
}
if(stringValue.indexOf("url(") < 0) {
stringValue = "url(" + stringValue + ")";