File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Custom JSF Tag & Facelets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » JSF
Bookmark "Custom JSF Tag & Facelets" Watch "Custom JSF Tag & Facelets" New topic

Custom JSF Tag & Facelets

Dima Chornyi

Joined: Mar 25, 2009
Posts: 9
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.
subject: Custom JSF Tag & Facelets