play.templates
Class FastTags

java.lang.Object
  extended by play.templates.FastTags

public class FastTags
extends java.lang.Object

Fast tags implementation


Nested Class Summary
static interface FastTags.Namespace
           
 
Constructor Summary
FastTags()
           
 
Method Summary
static void _a(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
          Generates a html link to a controller action
static void _doLayout(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _error(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _errorClass(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _extends(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _form(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.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, Template.ExecutableTemplate template, int fromLine)
           
static void _ifError(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _ifErrors(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _include(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _jsAction(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _option(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _select(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _set(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
static void _verbatim(java.util.Map<?,?> args, groovy.lang.Closure body, java.io.PrintWriter out, Template.ExecutableTemplate template, int fromLine)
           
 
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

_verbatim

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

_jsAction

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

_select

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

_option

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

_form

public static void _form(java.util.Map<?,?> args,
                         groovy.lang.Closure body,
                         java.io.PrintWriter out,
                         Template.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 - encloding 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,
                      Template.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 - encloding 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,
                             Template.ExecutableTemplate template,
                             int fromLine)

_ifError

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

_errorClass

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

_error

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

_doLayout

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

_get

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

_set

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

_extends

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

_include

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


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly