WAFileLibrary class>>urlOf:. For example, if you had added the file
picture.jpg to your library and you want to display it in a component you would write something like:
html image url: (MyFileLibrary urlOf: #pictureJpg)
The URL returned by
urlOf: is relative to the current server. It does not contain the http://servername.com/ - the so-called “method and “host - portion of the URL. Note that WAFileLibrary implements a class method called
/, so the expression
MyFileLibrary / #pictureJpeg is equivalent to
MyFileLibrary urlOf: #pictureJpeg.