public class WysiwygTag
extends javax.servlet.jsp.tagext.BodyTagSupport
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
WysiwygTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
clean() |
int |
doAfterBody() |
void |
setAttributeMap(java.util.Map<java.lang.String,java.lang.Object> map) |
void |
setCss(java.lang.String css) |
void |
setData(Data data) |
void |
setField(java.lang.String field) |
static void |
wrapWysiwygInlineEdition(javax.servlet.jsp.JspWriter writer,
JcmsJspContext jcmsContext,
java.lang.String html,
Data data,
java.lang.String fieldName)
Print the specified HTML in the JspWriter, wrapped with the required HTML to provide
inline edition of the corresponding field, if authorized for the current logged member
and specified field option.
|
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public static final java.lang.String REVISION
public void setCss(java.lang.String css)
public void setData(Data data)
public void setField(java.lang.String field)
public void setAttributeMap(java.util.Map<java.lang.String,java.lang.Object> map)
protected void clean()
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public static void wrapWysiwygInlineEdition(javax.servlet.jsp.JspWriter writer, JcmsJspContext jcmsContext, java.lang.String html, Data data, java.lang.String fieldName) throws java.io.IOException
In current implementation, authorization to "inline edit" an field is granted if :
writer
- the current JspWriter in which to output the wysiwyg (required, must not be null)jcmsContext
- the current JcmsJspContext (required, must not be null)html
- the html outputdata
- the data for which the html is being is being printedfieldName
- the name of the field for which the html is being printedjava.io.IOException
- in case html cannot be printed in writerCopyright © 2001-2018 Jalios SA. All Rights Reserved.