final char cc = cssURI.charAt(0);
if (cc != '/' && cc != '~') {
String n = wn != null ? wn: wgtnm;
if (!withEL(n)) {
int k = n.lastIndexOf('.');
cssURI = "~." + device.toAbsolutePath(
n.substring(0, k).replace('.', '/') + '/' + cssURI);
} else {
log.error("Absolute path required for cssURI, since the widget class contains EL expressions, "+e.getLocator());
}
}