Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80925

Retrieve Enumeration image in JavaScript

$
0
0

I require some advice on retrieving the image associated with an enumeration via javascript

The relevant obfuscated code from mxclient.js may be the following:

                        switch (_799.render.toLowerCase()) {
                            case "icon":
                            case "enumicon":
                                var src = _799.display.mapping[_79a.get2(_79b)];
                                _79c = src ? "<img src='" + _787.getStaticResourceUrlFromPath(src) + "'>" : "";

                        switch (_799.render.toLowerCase()) {
                            case "icon":
                            case "enumicon":
                                var src = _799.display.mapping[_79a.get2(_79b)];
                                _79c = src ? "<img src='" + _787.getStaticResourceUrlFromPath(src) + "'>" : "";

Thankyou


Viewing all articles
Browse latest Browse all 80925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>