開發(fā)出標(biāo)簽庫組件之后,我們需要配置清單3中顯示的標(biāo)簽庫tld文件。
清單3
<taglib> <tlibversion>1.0</tlibversion> <jspversion>1.1</jspversion> <shortname>ajaxLib</shortname> <tag> <name>library</name> <tagclass>net.sf.ajax.taglib.AjaxJavaScriptLibrary </tagclass> <bodycontent>JSP</bodycontent> </tag> <tag> <name>error</name> <tagclass>net.sf.ajax.taglib.AjaxErrorHtmlRender </tagclass> <bodycontent>JSP</bodycontent> <attribute> <name>property</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>event</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> </taglib> |