Neil's suggested fix added so the iframe of the inputFile component can render css file links defined in the parent document.
Note: I am wondering why "host + port" is required for external css file in portlet environment? As all other components are working without it. However in non portlet environment application-context is always a blank string and due to the complete URI without root-context it causes 404 (page not found) error. So I did not added host + port in the Uri.
We need to test it with portlet.
Search for
ICE-1605in the attached file for the fixes (two spots in the code)