org.araneaframework.jsp.tag.presentation
Class BaseSimpleButtonTag

java.lang.Object
  extended byorg.araneaframework.jsp.tag.BaseTag
      extended byorg.araneaframework.jsp.tag.PresentationTag
          extended byorg.araneaframework.jsp.tag.presentation.BaseSimpleButtonTag
All Implemented Interfaces:
AttributedTagInterface, ContainedTagInterface, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
BaseEventButtonTag, BaseListRowButtonTag

public class BaseSimpleButtonTag
extends PresentationTag

Base tag for simple button which has label but not much more.

Author:
Oleg Mürk

Field Summary
protected  String contextWidgetId
           
protected  String id
           
protected  String labelId
           
protected  String localizedLabel
           
protected  String onClickPrecondition
           
protected  String tabindex
           
 
Fields inherited from class org.araneaframework.jsp.tag.PresentationTag
attributes, baseStyleClass, style, styleClass
 
Fields inherited from class org.araneaframework.jsp.tag.BaseTag
GLOBAL_CONTEXT_ENTRIES_KEY, pageContext, parent
 
Fields inherited from interface org.araneaframework.jsp.tag.basic.AttributedTagInterface
ATTRIBUTED_TAG_KEY, HTML_ELEMENT_KEY
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
BaseSimpleButtonTag()
           
 
Method Summary
protected  int doStartTag(Writer out)
          Internal callback: before tag.
 void setId(String id)
           
 void setLabelId(String labelId)
           
 void setOnClickPrecondition(String onClickPrecondition)
           
 void setTabindex(String tabindex)
           
 
Methods inherited from class org.araneaframework.jsp.tag.PresentationTag
addAttribute, calculateStyleClass, getStyle, getStyleClass, setPageContext, setStyle, setStyleClass
 
Methods inherited from class org.araneaframework.jsp.tag.BaseTag
addContextEntry, doCatch, doEndTag, doEndTag, doFinally, doStartTag, evaluate, evaluateNotNull, executeEndSubtag, executeEndTagAndUnregister, executeStartSubtag, executeSubtag, getConfiguration, getContextEntry, getContextWidget, getContextWidgetFullId, getEnvironment, getLocalizationContext, getOutputData, getParent, hideGlobalContextEntries, registerAndExecuteStartTag, registerSubtag, release, requireContextEntry, restoreGlobalContextEntries, setParent, unregisterSubtag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

labelId

protected String labelId

contextWidgetId

protected String contextWidgetId

localizedLabel

protected String localizedLabel

onClickPrecondition

protected String onClickPrecondition

tabindex

protected String tabindex
Constructor Detail

BaseSimpleButtonTag

public BaseSimpleButtonTag()
Method Detail

doStartTag

protected int doStartTag(Writer out)
                  throws Exception
Description copied from class: BaseTag
Internal callback: before tag.

Overrides:
doStartTag in class PresentationTag
Throws:
Exception

setId

public void setId(String id)
           throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
Jsp.attribute:
type = "java.lang.String" required = "false" description = "Button id, allows to access button from JavaScript."

setLabelId

public void setLabelId(String labelId)
                throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
Jsp.attribute:
type = "java.lang.String" required = "false" description = "Id of button label."

setOnClickPrecondition

public void setOnClickPrecondition(String onClickPrecondition)
                            throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
Jsp.attribute:
type = "java.lang.String" required = "false" description = "Precondition for deciding whether go to server side or not."

setTabindex

public void setTabindex(String tabindex)
                 throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
Since:
1.0.11
Jsp.attribute:
type = "java.lang.String" required = "false" description = "HTML tabindex for the element."