Class BaseEditElementVTwo

    • Constructor Detail

      • BaseEditElementVTwo

        public BaseEditElementVTwo​(FieldVTwo field)
    • Method Detail

      • setField

        public void setField​(FieldVTwo field)
      • merge

        protected String merge​(freemarker.template.Configuration fmConfig,
                               String templateName,
                               Map map)
        Utility method for use in EditElements to merge a freemarker template.
      • hasNoneOrSingle

        protected boolean hasNoneOrSingle​(String key,
                                          Map<String,​String[]> queryParameters)
        Utility method to check if a value from the query parameters is none or a single value. This returns true if the key is there and the value is null. This does not check if the value is the empty string.
      • hasSingleNonNullNonEmptyValueForKey

        protected boolean hasSingleNonNullNonEmptyValueForKey​(String key,
                                                              Map<String,​String[]> queryParameters)