Loading Templates From Files

You can load templates from files, perhaps when making your own responses, with TemplateFinder.findAnyTemplate.

It can be used to customize the ProtoUser screens using templates loaded from a file; just override loginXhtml and other xxxXhtml functions.
See more on the discussion thread