org.infolayer.templates.html
Class TE_operation
java.lang.Object
org.kxml2.kdom.Element
org.infolayer.templates.TemplateElement
org.infolayer.templates.html.TE_operation
- public class TE_operation
- extends TemplateElement
The <t:operation> element creates a button
that performs the operation denoted by the name attribute.
The button can only be activated successfully if the current user has the
required permissions.
If the operation is a query operation, a HTTP GET request is used.
Otherwise, if the method has side effects, an HTTP POST request is
generated.
If the operation provides an return value, this is used to generate
the result page.
Attributes
- name
- The name of the operation to be executed.
- label
- An optional labed for the button. If not present,
the name of the operation will be displayed.
- followup
- A followup command, determining the next page.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final int DEFAULT
- See Also:
- Constant Field Values
SUBCLASSES
public static final int SUBCLASSES
- See Also:
- Constant Field Values
CONFIRM
public static final int CONFIRM
- See Also:
- Constant Field Values
CREATING
public static final int CREATING
- See Also:
- Constant Field Values
IN_TABLE
public static final int IN_TABLE
- See Also:
- Constant Field Values
TE_operation
public TE_operation()
writeOperation
public static void writeOperation(XmlSerializer xw,
IlRequest context,
Bindings bindings,
UmlOperation operation,
java.lang.String label,
java.lang.String followup,
int special)
throws java.io.IOException
- Throws:
java.io.IOException
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