org.parancoe.web.tag
Class FlashTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.springframework.web.servlet.tags.RequestContextAwareTag
org.parancoe.web.tag.FlashTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
public class FlashTag
- extends org.springframework.web.servlet.tags.RequestContextAwareTag
- Author:
- Jacopo Murador
- See Also:
- Serialized Form
|
Field Summary |
protected java.lang.String |
type
|
| Fields inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag |
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTE |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| 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 |
|
Method Summary |
protected int |
doStartTagInternal()
|
protected org.springframework.context.MessageSource |
getMessageSource()
Use the application context itself for default message resolution. |
protected java.lang.String |
getNoSuchMessageExceptionDescription(org.springframework.context.NoSuchMessageException ex)
Return default exception message. |
java.lang.String |
getType()
|
void |
setType(java.lang.String type)
|
protected void |
writeMessage(java.lang.String msg)
Write the message to the page. |
| Methods inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag |
doCatch, doFinally, doStartTag, getRequestContext |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected java.lang.String type
FlashTag
public FlashTag()
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
doStartTagInternal
protected final int doStartTagInternal()
throws javax.servlet.jsp.JspException,
java.io.IOException
- Specified by:
doStartTagInternal in class org.springframework.web.servlet.tags.RequestContextAwareTag
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
writeMessage
protected void writeMessage(java.lang.String msg)
throws java.io.IOException
- Write the message to the page.
- Parameters:
msg - the message to write
- Throws:
java.io.IOException - if writing failed
getMessageSource
protected org.springframework.context.MessageSource getMessageSource()
- Use the application context itself for default message resolution.
getNoSuchMessageExceptionDescription
protected java.lang.String getNoSuchMessageExceptionDescription(org.springframework.context.NoSuchMessageException ex)
- Return default exception message.
Copyright © 2008 JUG Padova Parancoe Team. All Rights Reserved.