aspose file tools*
The moose likes JSF and the fly likes facelets and custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "facelets and custom tags" Watch "facelets and custom tags" New topic
Author

facelets and custom tags

J Haley
Ranch Hand

Joined: Jul 22, 2004
Posts: 66
I�m using custom tags in a facelets/myFaces project, and can�t figure out how to get eclipse to recognize my custom tags. For example if I type <t: then control space the tomahawk tags show up with code complete. I�ve got my custom tag working and defined in the namespace, but can�t figure out this last step.

my jspx page


custom.taglib.xml

[ February 01, 2007: Message edited by: J Haley ]
Daniel Rhoades
Ranch Hand

Joined: Jun 30, 2004
Posts: 186
You probably need to create a normal TLD in additional to the Facelets taglib file, IDE's aren't that facelets friendly!


Drinking more tea is the key...
J Haley
Ranch Hand

Joined: Jul 22, 2004
Posts: 66
No luck. I tried creating a tld file and put it in my WEB-INF directory. Below my tag-class is empty. I did this because this is how jsf-ui.tld is set up. I also without luck, I tried putting my tag class here. I must be missing something.


tai.tld
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: facelets and custom tags
 
Similar Threads
IceFaces question: using other components
facelets and custom tags
Can't render custom facelet component in IceFaces
problem with code-completion for Facelets custum tags
Facelets custom tag not recognized ?