This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSF and the fly likes taglib component class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "taglib component class" Watch "taglib component class" New topic
Author

taglib component class

Eric Härtel
Greenhorn

Joined: Jun 08, 2009
Posts: 8
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

Joined: Jun 08, 2009
Posts: 8
Just is anybody is interested in the solution: I forgot to put view container around.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: taglib component class