Class ResourceHelper

  • public class ResourceHelper
    extends HelperBase
    • Field Detail

      • _page

        protected String _page
    • Constructor Detail

      • ResourceHelper

        public ResourceHelper()
    • Method Detail

      • setPage

        public void setPage​(String page)
        Use relative path for getResource().
      • setMaxLines

        public void setMaxLines​(String lines)
      • getResource

        public String getResource()
        Convert file.ext to file_lang.ext if it exists. Get lang from the cgi lang param, then properties, then from the default locale. _context must be set to check the property.
        "" on error