org.mmbase.bridge.jsp.taglib.edit
Class TransactionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.CloudReferrerTag
org.mmbase.bridge.jsp.taglib.edit.TransactionTag
- All Implemented Interfaces:
- BodyTag, CloudProvider, IterationTag, Serializable, Tag, TagIdentifier
- Direct Known Subclasses:
- FormTag
- public class TransactionTag
- extends CloudReferrerTag
- implements CloudProvider
Creates a new Transaction.
- Version:
- $Id: TransactionTag.java,v 1.22 2006/02/10 18:05:13 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transaction
protected Transaction transaction
commit
protected Attribute commit
name
protected Attribute name
jspvar
protected String jspvar
TransactionTag
public TransactionTag()
setCommitonclose
public void setCommitonclose(String c)
throws JspTagException
- Throws:
JspTagException
getCloudVar
public Cloud getCloudVar()
throws JspTagException
- Description copied from class:
CloudReferrerTag
- Find the CloudProvider and return its cloud variable in one
step. And the result of findCloudProvider is stored, so
invoking this function more often is better then invoking
findCloudProvider every time.
- Specified by:
getCloudVar in interface CloudProvider- Overrides:
getCloudVar in class CloudReferrerTag
- Returns:
- a Cloud
- Throws:
JspTagException- Since:
- 1.7.1 this method shadows/implements the methods below.
- See Also:
CloudReferrerTag.getCloudVar(),
CloudProvider.getCloudVar()
setName
public void setName(String s)
throws JspTagException
- Throws:
JspTagException
setJspvar
public void setJspvar(String jv)
- Overrides:
setJspvar in class ContextReferrerTag
getName
protected String getName()
throws JspTagException
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Creates the transaction.
- Specified by:
doStartTag in interface Tag
- Throws:
JspTagException
getDefaultCommit
protected boolean getDefaultCommit()
doEndTag
public int doEndTag()
throws JspTagException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class ContextReferrerTag
- Throws:
JspTagException
doAfterBody
public int doAfterBody()
throws JspTagException
- Specified by:
doAfterBody in interface IterationTag
- Throws:
JspTagException
MMBase build 1.8.1.20060716