Class HtmlLayoutTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- org.silverpeas.core.web.util.viewgenerator.html.layout.HtmlLayoutTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class HtmlLayoutTag extends javax.servlet.jsp.tagext.BodyTagSupport
This tag MUST be the first called from a JSP page providing HTML code.-
It MUST includes directly the following ordered children:
HeadLayoutPartTag
BodyPartLayoutTag
Attribute
angularJsAppName
permits to indicate the AngularJS application name. If any the HTML tag is parametrized rightly (id and ng-app attribute) with the given name and the JavaScript bloc to start the AngularJS application is added automatically at the end of the BODY part.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HtmlLayoutTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doEndTag()
int
doStartTag()
void
release()
void
setAngularJsAppInitializedManually(boolean angularJsAppInitializedManually)
void
setAngularJsAppName(String angularJsAppName)
-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
setAngularJsAppName
public void setAngularJsAppName(String angularJsAppName)
-
setAngularJsAppInitializedManually
public void setAngularJsAppInitializedManually(boolean angularJsAppInitializedManually)
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
-
doEndTag
public int doEndTag() throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classjavax.servlet.jsp.tagext.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
-
release
public void release()
- Specified by:
release
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classjavax.servlet.jsp.tagext.BodyTagSupport
-
-