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

taglib component class

 
Eric Härtel
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi rancher,

with myfaces I try to write my own taglib. I defined a tag in the TLD as following:


In the DiagramTag class all values are set correctly, but in the setProperties(UIComponent) where I expect an instance of my Diagram component class I receive a org.ajax4jsf.component.AjaxViewRoot
Furthermore, I wonder why the function getComponentType is not called. This methode would explain what is the right component class.

Has anybody an idea what could be the reason of the problem?

Greetings
Eric
 
Eric Härtel
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just is anybody is interested in the solution: I forgot to put view container around.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic