This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "facelets and custom tags" Watch "facelets and custom tags" New topic

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


[ 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.

Have you tried LearnNowOnline?
subject: facelets and custom tags