Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Custom JSF Tag & Facelets  RSS feed

 
Greenhorn
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: http://www.javaworld.com/javaworld/jw-02-2007/jw-02-jsf.html , which pretty good matches my requirements. Since i use Facelets and not JSP i further followed this guide: http://blogs.steeplesoft.com/jsf-component-writing-check-list/ 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.

META-INF/custom.taglib.xml:


faces-config.xml:


The three involved classes:





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