📄 cd_core.tld
字号:
<?xml version="1.0" encoding="ISO-8859-1" ?><!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> <tlibversion>1.0</tlibversion> <jspversion>1.1</jspversion> <shortname>CyberDemia Core Tag Library</shortname> <info> This tag library contains generic tags that may be used across multiple CyberDemia Web projects. </info> <tag> <name>encodeUrl</name> <tagclass>com.cyberdemia.jsp.EncodeUrlTag</tagclass> <bodycontent>JSP</bodycontent> <info> Encodes a raw URL with session ID and prepends with context path. It also appends a random number to overcome caching problems. If attribute "relativeRoot" is true, the path is appended to the server root. If attribute "relativeRoot" is false, the path is appended to the context path. If attribute "token" is true, a Struts transaction token is added to prevent double posting. Default is true. If attribute "random" is true and Struts transaction token has not been added, a random xxx parameter is appended to prevent caching. Default is true. </info> <attribute> <name>relativeRoot</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>token</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>random</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> <tag> <name>jsString</name> <tagclass>com.cyberdemia.jsp.JSStringTag</tagclass> <bodycontent>JSP</bodycontent> <info> Encodes its body so that it is safe to be used as a Javascript String literal. </info> </tag> <tag> <name>ifUserInRole</name> <tagclass>com.cyberdemia.jsp.IfUserInRoleTag</tagclass> <bodycontent>JSP</bodycontent> <info> Conditionally includes the body in the output if the user has the specified role, unless inverse attribute is set to true, in which case the body is included if the user does not have the specified role. </info> <attribute> <name>role</name> <required>true</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>inverse</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag></taglib>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -