Class FastTags


  • public class FastTags
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  FastTags.Namespace  
    • Constructor Summary

      Constructors 
      Constructor Description
      FastTags()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void _a​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)
      Generates a html link to a controller action
      void _authenticityToken​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _cache​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _doLayout​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      void _error​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _errorClass​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _extends​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      void _field​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)
      The field tag is a helper, based on the spirit of Don't Repeat Yourself.
      void _form​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)
      Generates a html form element linked to a controller action
      static void _get​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _ifError​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _ifErrors​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _include​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _jsAction​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      void _jsRoute​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _option​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _render​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static void _set​(java.util.Map<?,​?> args, groovy.lang.Closure body, java.io.PrintWriter out, ExecutableTemplate template, int fromLine)  
      static java.lang.String serialize​(java.util.Map<?,​?> args, java.lang.String... unless)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FastTags

        public FastTags()
    • Method Detail

      • _cache

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

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

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

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

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

        public void _form​(java.util.Map<?,​?> args,
                          groovy.lang.Closure body,
                          java.io.PrintWriter out,
                          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 void _field​(java.util.Map<?,​?> args,
                           groovy.lang.Closure body,
                           java.io.PrintWriter out,
                           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 void _a​(java.util.Map<?,​?> args,
                       groovy.lang.Closure body,
                       java.io.PrintWriter out,
                       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,
                                     ExecutableTemplate template,
                                     int fromLine)
      • _ifError

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

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

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

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

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

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

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

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

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

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