org.araneaframework.jsp.tag.uilib
Class BaseWidgetTag

java.lang.Object
  extended byorg.araneaframework.jsp.tag.BaseTag
      extended byorg.araneaframework.jsp.tag.uilib.BaseWidgetTag
All Implemented Interfaces:
ContainedTagInterface, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
FormListTag, FormTag, ListTag, TabContainerHtmlTag, TreeTag, WidgetActionUrlTag, WidgetMarkerTag, WidgetTag

public class BaseWidgetTag
extends BaseTag


Field Summary
protected  String fullId
           
protected  String id
           
protected  ApplicationWidget.WidgetViewModel viewModel
           
protected  ApplicationWidget widget
           
 
Fields inherited from class org.araneaframework.jsp.tag.BaseTag
GLOBAL_CONTEXT_ENTRIES_KEY, pageContext, parent
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
BaseWidgetTag()
           
 
Method Summary
 void doFinally()
          Override it to free additional resources, always call superclass method too.
 int doStartTag(Writer out)
          Internal callback: before tag.
 void setId(String id)
           
 
Methods inherited from class org.araneaframework.jsp.tag.BaseTag
addContextEntry, doCatch, doEndTag, doEndTag, doStartTag, evaluate, evaluateNotNull, executeEndSubtag, executeEndTagAndUnregister, executeStartSubtag, executeSubtag, getConfiguration, getContextEntry, getContextWidget, getContextWidgetFullId, getEnvironment, getLocalizationContext, getOutputData, getParent, hideGlobalContextEntries, registerAndExecuteStartTag, registerSubtag, release, requireContextEntry, restoreGlobalContextEntries, setPageContext, 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

fullId

protected String fullId

widget

protected ApplicationWidget widget

viewModel

protected ApplicationWidget.WidgetViewModel viewModel
Constructor Detail

BaseWidgetTag

public BaseWidgetTag()
Method Detail

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 = "UiLib widget id."

doStartTag

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

Overrides:
doStartTag in class BaseTag
Throws:
Exception

doFinally

public void doFinally()
Description copied from class: BaseTag
Override it to free additional resources, always call superclass method too.

Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally
Overrides:
doFinally in class BaseTag