📄 jcms.tld
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<tag>
<name>visitAsGuest</name>
<tagclass>com.yuanwang.cms.client.tag.VisitAsGuestTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site access right for member guest</info>
</tag>
<tag>
<name>langCn</name>
<tagclass>com.yuanwang.cms.client.tag.LangCnTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang to cn</info>
</tag>
<tag>
<name>langEn</name>
<tagclass>com.yuanwang.cms.client.tag.LangEnTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang to en</info>
</tag>
<tag>
<name>langBig5</name>
<tagclass>com.yuanwang.cms.client.tag.LangBig5Tag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang to big5</info>
</tag>
<tag>
<name>langCnName</name>
<tagclass>com.yuanwang.cms.client.tag.LangCnNameTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang cn prefx</info>
</tag>
<tag>
<name>langBig5Name</name>
<tagclass>com.yuanwang.cms.client.tag.LangBig5NameTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang big5 prefx</info>
</tag>
<tag>
<name>langEnName</name>
<tagclass>com.yuanwang.cms.client.tag.LangEnNameTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang en prefx</info>
</tag>
<tag>
<name>langPrefxName</name>
<tagclass>com.yuanwang.cms.client.tag.LangPrefxNameTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang prefx</info>
</tag>
<tag>
<name>siteUrlPrefx</name>
<tagclass>com.yuanwang.cms.client.tag.SiteUrlPrefxTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the site url prefx by lang</info>
</tag>
<tag>
<name>langCnPrefxName</name>
<tagclass>com.yuanwang.cms.client.tag.LangCnPrefxNameTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang cn prefx</info>
</tag>
<tag>
<name>langEnPrefxName</name>
<tagclass>com.yuanwang.cms.client.tag.LangEnPrefxNameTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang en prefx</info>
</tag>
<tag>
<name>langBig5PrefxName</name>
<tagclass>com.yuanwang.cms.client.tag.LangBig5PrefxNameTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the site lang big5 prefx</info>
</tag>
<tag>
<name>logHomepageVisit</name>
<tagclass>com.yuanwang.cms.client.tag.HomepageLogTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>log the homepage visit</info>
</tag>
<tag>
<name>logPageVisit</name>
<tagclass>com.yuanwang.cms.client.tag.GeneralpageLogTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>log the general page visit</info>
</tag>
<tag>
<name>webmasterEmail</name>
<tagclass>com.yuanwang.cms.client.tag.SiteWebmasterEmailTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the web master email</info>
</tag>
<tag>
<name>siteTitle</name>
<tagclass>com.yuanwang.cms.client.tag.SiteTitleTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the site title</info>
</tag>
<tag>
<name>bannerUrl</name>
<tagclass>com.yuanwang.cms.client.tag.SiteBannerUrlTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the site banner url</info>
</tag>
<tag>
<name>logoUrl</name>
<tagclass>com.yuanwang.cms.client.tag.SiteLogoUrlTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the site logo url</info>
</tag>
<tag>
<name>siteName</name>
<tagclass>com.yuanwang.cms.client.tag.SiteNameTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the site name</info>
</tag>
<tag>
<name>appRootUrl</name>
<tagclass>com.yuanwang.cms.client.tag.AppRootUrlTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the domain name</info>
</tag>
<tag>
<name>pageResourceUrlWithId</name>
<tagclass>com.yuanwang.cms.client.tag.PageResourceUrlWithIdTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the page icon url by pageId</info>
</tag>
<tag>
<name>categoryNameWithTemplate</name>
<tagclass>com.yuanwang.cms.client.tag.CategoryNameWithTemplateTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the category name by its template name</info>
<attribute>
<description>templateName</description>
<name>templateName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>categoryNameWithId</name>
<tagclass>com.yuanwang.cms.client.tag.CategoryNameWithIdTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the category name by categoryId</info>
</tag>
<tag>
<name>categoryResourceUrlWithId</name>
<tagclass>com.yuanwang.cms.client.tag.CategoryResourceUrlWithIdTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the category icon url by categoryId</info>
</tag>
<tag>
<name>pagesInCategoryWithTemplate</name>
<tagclass>com.yuanwang.cms.client.tag.PagesInCategoryWithTemplateTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the page collection in the same category to HttpServletRequest Attribute named pages by category template name</info>
<attribute>
<description>templateName</description>
<name>templateName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>topCategorys</name>
<tagclass>com.yuanwang.cms.client.tag.TopCategorysTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the top categorys to HttpServletRequest Attribute named topCategorys</info>
</tag>
<tag>
<name>pageWithId</name>
<tagclass>com.yuanwang.cms.client.tag.PageWithIdTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the page by pageId to HttpServletRequest Attribute named page</info>
</tag>
<tag>
<name>pagesWithId</name>
<tagclass>com.yuanwang.cms.client.tag.PagesWithIdTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the page collection by categoryId to HttpServletRequest Attribute named pages</info>
</tag>
<tag>
<name>pagesWithIdInCategoryTree</name>
<tagclass>com.yuanwang.cms.client.tag.PagesWithIdInCategoryTreeTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the page collection by parnet categoryId tree to HttpServletRequest Attribute named pages</info>
<attribute>
<description>categoryId</description>
<name>categoryId</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>categoryTreeWithId</name>
<tagclass>com.yuanwang.cms.client.tag.CategoryTreeWithIdTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the category tree collection by parent categoryId to HttpServletRequest Attribute named categoryTree</info>
</tag>
<tag>
<name>pageContentWithTemplate</name>
<tagclass>com.yuanwang.cms.client.tag.PageContentWithTemplateTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>set the page collection</info>
<attribute>
<description>templateName</description>
<name>templateName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>pageContentWithId</name>
<tagclass>com.yuanwang.cms.client.tag.PageContentWithIdTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the page content by pageId</info>
</tag>
<tag>
<name>indexPageUrl</name>
<tagclass>com.yuanwang.cms.client.tag.IndexPageUrlTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>get the site homepage url</info>
</tag>
</taglib>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -