com.ideo.sweetdevria.taglib.alert
Class AlertTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.ideo.sweetdevria.taglib.AbstractTagDrawer
          extended by com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
              extended by com.ideo.sweetdevria.taglib.BaseTagSupport
                  extended by com.ideo.sweetdevria.taglib.alert.AlertTag
All Implemented Interfaces:
Hideable, IFrameable, IRiaTag, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class AlertTag
extends BaseTagSupport
implements IRiaTag, Hideable, IFrameable

See Also:
Serialized Form

Field Summary
protected  java.lang.String actionType
           
protected static java.lang.String BUILDER_ID
          Builder Id.
static java.lang.String CLOSE
          Close button
static java.lang.String ERROR
          Error alert type
static java.lang.String INFO
          Info alert type
protected  boolean modal
           
static java.lang.String NONE
          No button
static java.lang.String OK
          Single OK button
static java.lang.String OK_CANCEL
          OK and Cancel button
static java.lang.String PLAIN
          Plain alert type
protected  java.lang.String type
           
static java.lang.String WARN
          Warn alert type
static java.lang.String YES_NO
          Yes and No buttons
static java.lang.String YES_NO_CANCEL
          Yes, No, and Cancel button
 
Fields inherited from class com.ideo.sweetdevria.taglib.BaseTagSupport
frameDisplayed, style, styleClass
 
Fields inherited from class com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
bodyContent, rendered
 
Fields inherited from class com.ideo.sweetdevria.taglib.AbstractTagDrawer
builder, messageKeys, templateEnd, templateStart
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
AlertTag()
           
 
Method Summary
 java.lang.String getActionType()
           
 java.lang.String getBuilderId()
          Return the targeted builder id for this component as specified in the configuration file.
 java.lang.String getType()
           
 boolean isFrameDisplayed()
           
 boolean isModal()
           
 void release()
          Release method which must call super.release !
 void setActionType(java.lang.String actionType)
           
 void setFrameDisplayed(boolean toDisplay)
           
 void setModal(boolean modal)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class com.ideo.sweetdevria.taglib.BaseTagSupport
addCssClass, addCssStyle, getStyle, getStyleClass, setStyle, setStyleClass
 
Methods inherited from class com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
checkId, doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getId, isRendered, refractorContext, setBodyContent, setId, setRendered
 
Methods inherited from class com.ideo.sweetdevria.taglib.AbstractTagDrawer
generateHtmlContent, getBuilder, getMessageKeys, getPageContext, getTemplateEnd, getTemplateStart, setPageContext, setTemplateEnd, setTemplateStart
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ideo.sweetdevria.taglib.IRiaTag
doEndTag, doStartTag, getMessageKeys, getPageContext, getTemplateEnd, getTemplateStart, setPageContext, setTemplateEnd, setTemplateStart
 
Methods inherited from interface com.ideo.sweetdevria.taglib.Hideable
isRendered, setRendered
 
Methods inherited from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 

Field Detail

BUILDER_ID

protected static final java.lang.String BUILDER_ID
Builder Id.

See Also:
Constant Field Values

PLAIN

public static final java.lang.String PLAIN
Plain alert type

See Also:
Constant Field Values

INFO

public static final java.lang.String INFO
Info alert type

See Also:
Constant Field Values

WARN

public static final java.lang.String WARN
Warn alert type

See Also:
Constant Field Values

ERROR

public static final java.lang.String ERROR
Error alert type

See Also:
Constant Field Values

NONE

public static final java.lang.String NONE
No button

See Also:
Constant Field Values

OK

public static final java.lang.String OK
Single OK button

See Also:
Constant Field Values

OK_CANCEL

public static final java.lang.String OK_CANCEL
OK and Cancel button

See Also:
Constant Field Values

YES_NO

public static final java.lang.String YES_NO
Yes and No buttons

See Also:
Constant Field Values

YES_NO_CANCEL

public static final java.lang.String YES_NO_CANCEL
Yes, No, and Cancel button

See Also:
Constant Field Values

CLOSE

public static final java.lang.String CLOSE
Close button

See Also:
Constant Field Values

type

protected java.lang.String type

actionType

protected java.lang.String actionType

modal

protected boolean modal
Constructor Detail

AlertTag

public AlertTag()
Method Detail

getBuilderId

public java.lang.String getBuilderId()
Description copied from interface: IRiaTag
Return the targeted builder id for this component as specified in the configuration file.

Specified by:
getBuilderId in interface IRiaTag
Specified by:
getBuilderId in class AbstractTagDrawer
Returns:
id targeted builder id
See Also:
IRiaTag.getBuilderId()

release

public void release()
Description copied from interface: IRiaTag
Release method which must call super.release !

Specified by:
release in interface IRiaTag
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BaseTagSupport
See Also:
BaseTagSupport.release()

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getActionType

public java.lang.String getActionType()

setActionType

public void setActionType(java.lang.String actionType)

isModal

public boolean isModal()

setModal

public void setModal(boolean modal)

isFrameDisplayed

public boolean isFrameDisplayed()
Specified by:
isFrameDisplayed in interface IFrameable

setFrameDisplayed

public void setFrameDisplayed(boolean toDisplay)
Specified by:
setFrameDisplayed in interface IFrameable


Copyright © 2010 Ideo Technologies. All Rights Reserved.