org.infolayer.templates.html
Class TE_submit

java.lang.Object
  extended byorg.kxml2.kdom.Element
      extended byorg.infolayer.templates.TemplateElement
          extended byorg.infolayer.templates.html.AbstractButton
              extended byorg.infolayer.templates.html.TE_submit

public class TE_submit
extends org.infolayer.templates.html.AbstractButton

The <t:submit> element displays a submit button if included in a form element. If no label attribute is provided, ``submit'' or a translation is used as default label. The next page to be displayed can be determined by the followup attribute. No followup is interpreted as followup="stay", or, if the current template is a comma separated list, the remainter of the list is fills a followup="goto-template:..." command

The <t:submit> element must not have any child elements.

Attributes

label
An optional label for the submit button.
followup
A followup command, determining the next page.

See Also:
Serialized Form

Constructor Summary
TE_submit()
           
 
Method Summary
 void apply(XmlSerializer xw, IlRequest context, Bindings bindings)
          Applies the template mechanism.
 
Methods inherited from class org.infolayer.templates.TemplateElement
applyChildren, assertNoChildren, assertNoChildren, getAttributeValue, getVarDefs, init, readTextContent, setVarDefs, writeAttributes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TE_submit

public TE_submit()
Method Detail

apply

public void apply(XmlSerializer xw,
                  IlRequest context,
                  Bindings bindings)
           throws java.io.IOException
Description copied from class: TemplateElement
Applies the template mechanism. Must be overwritten in the

Overrides:
apply in class TemplateElement
Throws:
java.io.IOException