Class FastTags


  • public class FastTags
    extends java.lang.Object
    • Constructor Detail

      • FastTags

        public FastTags()
    • Method Detail

      • _cache

        public static void _cache​(java.util.Map<?,​?> args,
                                  groovy.lang.Closure body,
                                  java.io.PrintWriter out,
                                  GroovyTemplate.ExecutableTemplate template,
                                  int fromLine)
      • _verbatim

        public static void _verbatim​(java.util.Map<?,​?> args,
                                     groovy.lang.Closure body,
                                     java.io.PrintWriter out,
                                     GroovyTemplate.ExecutableTemplate template,
                                     int fromLine)
      • _jsAction

        public static void _jsAction​(java.util.Map<?,​?> args,
                                     groovy.lang.Closure body,
                                     java.io.PrintWriter out,
                                     GroovyTemplate.ExecutableTemplate template,
                                     int fromLine)
      • _jsRoute

        public static void _jsRoute​(java.util.Map<?,​?> args,
                                    groovy.lang.Closure body,
                                    java.io.PrintWriter out,
                                    GroovyTemplate.ExecutableTemplate template,
                                    int fromLine)
      • _authenticityToken

        public static void _authenticityToken​(java.util.Map<?,​?> args,
                                              groovy.lang.Closure body,
                                              java.io.PrintWriter out,
                                              GroovyTemplate.ExecutableTemplate template,
                                              int fromLine)
      • _option

        public static void _option​(java.util.Map<?,​?> args,
                                   groovy.lang.Closure body,
                                   java.io.PrintWriter out,
                                   GroovyTemplate.ExecutableTemplate template,
                                   int fromLine)
      • _form

        public static void _form​(java.util.Map<?,​?> args,
                                 groovy.lang.Closure body,
                                 java.io.PrintWriter out,
                                 GroovyTemplate.ExecutableTemplate template,
                                 int fromLine)
        Generates a html form element linked to a controller action
        Parameters:
        args - tag attributes
        body - tag inner body
        out - the output writer
        template - enclosing template
        fromLine - template line number where the tag is defined
      • _field

        public static void _field​(java.util.Map<?,​?> args,
                                  groovy.lang.Closure body,
                                  java.io.PrintWriter out,
                                  GroovyTemplate.ExecutableTemplate template,
                                  int fromLine)
        The field tag is a helper, based on the spirit of Don't Repeat Yourself.
        Parameters:
        args - tag attributes
        body - tag inner body
        out - the output writer
        template - enclosing template
        fromLine - template line number where the tag is defined
      • _a

        public static void _a​(java.util.Map<?,​?> args,
                              groovy.lang.Closure body,
                              java.io.PrintWriter out,
                              GroovyTemplate.ExecutableTemplate template,
                              int fromLine)
        Generates a html link to a controller action
        Parameters:
        args - tag attributes
        body - tag inner body
        out - the output writer
        template - enclosing template
        fromLine - template line number where the tag is defined
      • _ifErrors

        public static void _ifErrors​(java.util.Map<?,​?> args,
                                     groovy.lang.Closure body,
                                     java.io.PrintWriter out,
                                     GroovyTemplate.ExecutableTemplate template,
                                     int fromLine)
      • _ifError

        public static void _ifError​(java.util.Map<?,​?> args,
                                    groovy.lang.Closure body,
                                    java.io.PrintWriter out,
                                    GroovyTemplate.ExecutableTemplate template,
                                    int fromLine)
      • _errorClass

        public static void _errorClass​(java.util.Map<?,​?> args,
                                       groovy.lang.Closure body,
                                       java.io.PrintWriter out,
                                       GroovyTemplate.ExecutableTemplate template,
                                       int fromLine)
      • _error

        public static void _error​(java.util.Map<?,​?> args,
                                  groovy.lang.Closure body,
                                  java.io.PrintWriter out,
                                  GroovyTemplate.ExecutableTemplate template,
                                  int fromLine)
      • _doLayout

        public static void _doLayout​(java.util.Map<?,​?> args,
                                     groovy.lang.Closure body,
                                     java.io.PrintWriter out,
                                     GroovyTemplate.ExecutableTemplate template,
                                     int fromLine)
      • _get

        public static void _get​(java.util.Map<?,​?> args,
                                groovy.lang.Closure body,
                                java.io.PrintWriter out,
                                GroovyTemplate.ExecutableTemplate template,
                                int fromLine)
      • _set

        public static void _set​(java.util.Map<?,​?> args,
                                groovy.lang.Closure body,
                                java.io.PrintWriter out,
                                GroovyTemplate.ExecutableTemplate template,
                                int fromLine)
      • _extends

        public static void _extends​(java.util.Map<?,​?> args,
                                    groovy.lang.Closure body,
                                    java.io.PrintWriter out,
                                    GroovyTemplate.ExecutableTemplate template,
                                    int fromLine)
      • _include

        public static void _include​(java.util.Map<?,​?> args,
                                    groovy.lang.Closure body,
                                    java.io.PrintWriter out,
                                    GroovyTemplate.ExecutableTemplate template,
                                    int fromLine)
      • _render

        public static void _render​(java.util.Map<?,​?> args,
                                   groovy.lang.Closure body,
                                   java.io.PrintWriter out,
                                   GroovyTemplate.ExecutableTemplate template,
                                   int fromLine)
      • _embeddedImage

        public static void _embeddedImage​(java.util.Map<?,​?> args,
                                          groovy.lang.Closure body,
                                          java.io.PrintWriter out,
                                          GroovyTemplate.ExecutableTemplate template,
                                          int fromLine)
      • serialize

        public static java.lang.String serialize​(java.util.Map<?,​?> args,
                                                 java.lang.String... unless)