michelle2
Joined: 14/11/2007 00:00:00
Messages: 449
Offline
|
Tld's are not needed for facelet tags, tld's are only needed if you are doing custom ICE FACES components not simple facelet ones.
You just need a facelet tag descriptor file in web-inf, like this
<?xml version="1.0"?>
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
"facelet-taglib_1_0.dtd">
<facelet-taglib>
<namespace>http:/www.mcv.com/jsf</namespace>
<tag>
<tag-name>myFaceLetTag</tag-name>
<source>myFaceLetTag.xhtml</source>
</tag>
</facelet-taglib>
And a facelet lib entry in web-inf, see my previous post for detailed instructions. We found that concatanations of facelet libraries in web.xml don't work very well beyound 2. try to keep all your custom tags in one taglib if you can. Namespace is very important.
If you are ever going to do icefaces custom tags than best to put your tld
s in the icefaces meta-inf.
|