> c:resource="checkSecondFactor.js" Even if it were handling a conversion from String to Resource, it wouldn't base it on the directory you think. You have to use absolute paths, or more commonly %{idp.home} in front of it. -- Scott