public class CmsJspTagIncludeTEI
extends javax.servlet.jsp.tagext.TagExtraInfo
<cms:include />
tag.构造器和说明 |
---|
CmsJspTagIncludeTEI() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
isSpecified(javax.servlet.jsp.tagext.TagData data,
java.lang.String attributeName)
Returns true if the given attribute name is specified, false otherwise.
|
boolean |
isValid(javax.servlet.jsp.tagext.TagData data)
Checks the validity of the
<cms:include /> attributes. |
public static boolean isSpecified(javax.servlet.jsp.tagext.TagData data, java.lang.String attributeName)
data
- the tag dataattributeName
- the attribute namepublic boolean isValid(javax.servlet.jsp.tagext.TagData data)
<cms:include />
attributes.The logic used is:
if (hasFile && (hasSuffix || hasProperty || hasAttribute)) return false; if (hasProperty && hasAttribute) return false; if (hasSuffix && !(hasProperty || hasAttribute)) return false;
isValid
在类中 javax.servlet.jsp.tagext.TagExtraInfo
data
- the tag data