aspose file tools*
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Custom JSF Tag & Facelets" Watch "Custom JSF Tag & Facelets" New topic
Author

Custom JSF Tag & Facelets

Dima Chornyi
Greenhorn

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: 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:





 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom JSF Tag & Facelets
 
Similar Threads
Error in JSF custom tag.
Custom Component ELResolveJSF 1.2
Need help in dynamic forms
Custom Component : Missing Update Model Phase?
Display the content of PDF file in a JSF Component