Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom JSF Tag & Facelets  RSS feed

Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

I need to implement a table which is basically a matrix of radio buttons where only one can be selected per row. To do this i want to use a JSF dataTable mixed with selectOneRadio. I found this excellent article on the subject: , which pretty good matches my requirements. Since i use Facelets and not JSP i further followed this guide: to make my custom tag JSF1.2 and Facelets compliant. Still my custom component doesn't get rendered (is passed to the client same as it as defined in the source xhtml). There is nothing noteworthy in the server logs. I will be very thankful if someone points me to where my mistake is. Here are some of the relevant sources.



The three involved classes:

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!