Added MessageTag. Closes #4
This commit is contained in:
parent
0dafe87021
commit
9ff860af40
5 changed files with 244 additions and 74 deletions
|
@ -37,7 +37,7 @@
|
|||
|
||||
<description>HttpStatus JSP Tag Library</description>
|
||||
<display-name>HttpStatus JSP Tags</display-name>
|
||||
<tlib-version>1.0.4</tlib-version>
|
||||
<tlib-version>1.0.5</tlib-version>
|
||||
<short-name>hs</short-name>
|
||||
<uri>http://erik.thauvin.net/taglibs/httpstatus</uri>
|
||||
|
||||
|
@ -75,6 +75,31 @@
|
|||
<body-content>empty</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Returns the message (if any) for the current error.
|
||||
</description>
|
||||
<name>message</name>
|
||||
<tag-class>net.thauvin.erik.httpstatus.taglibs.MessageTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Default value if the resulting error message is null.
|
||||
</description>
|
||||
<name>default</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Converts <, > ,& ,' ," to their corresponding entity codes. Value is true by default.
|
||||
</description>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Returns the Reason Phrase for the current (or specified) HTTP Status Error Code.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue