If I set the iconSrc property of an XPage view column to a relative URL, such as “/icons/vwicn001.gif”, the resulting HTML automatically appends the iconSrc value to the database path, resulting in an image source attribute like “/tbw/tbwcont.nsf/icons/vwicn001.gif”.
This is a problem. I have already created a workaround, but this behaviour makes use of external resources unnecessarily difficult.
It would be much better if the resulting source attribute exactly matched the value of iconSrc. The database path should not be automatically inserted.
Subject: I had the same problem with other server-based code.
I think this is a JSP or JSF problem so it’ll probably affect all XPage controls.
I agree that the functionality is not what is expected nor desired. There are times in which you want to access data in another database and relative URLs make it much easier.