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

Custom tag does not render.

 
Jakim Rachev
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,

I have a big problem. I'm trying ti customize selectOneRadio as such I can group radiobuttons in a singel row of a table. Each cell must contain a radio button.
I found this tutorial http://www.javaworld.com/javaworld/jw-02-2007/jw-02-jsf.html?page=2#resources and have modified it a little because some of the methods are deprecated. I'm using JSF 1.2. How ever when I run my solution, I notice in the source code that the custom tag is not rendered and the radio buttons were not displayed.
My suspicious are, that I'm doing something wrong when declaring and setting my custom tag:
Here the steps that I have followed:

Add a component definition and renderer in faces-config.xml



Write the radio_taglib.tld file


Add the tld file reference in web.xml


Then in JSF response source code I'm geting this:



And the outcome page looks like this:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic