Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

facelets and custom tags

 
J Haley
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You probably need to create a normal TLD in additional to the Facelets taglib file, IDE's aren't that facelets friendly!
 
J Haley
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic