views:

51

answers:

1

Hi!

I am trying to develop custom control in JSF 1.2 (using facelets).

I followed steps from different tutorials (defining .tld, taglib.xml, registered component in faces-config.xml and implementing UIComponent (component renders itself) and UIComponentELTag classes) and my component is rendered, I have value bound to it, but attributes I defined for that tag are ignored. I logged various methods in Tag class and noticed that none of the methods is ever called.

What am I missing? Is there a reason Tag handler class is never invoked?

Thanks in advance.

+1  A: 
Gerbrand
Thank you for your reply. Yes, I have tried, but it required me to do some extra work (registering resources on WAS CE, etc.) which I tried to avoid.Anyway, I did it, so I moved to using .xhtml files for creating components and now it works.Still, I don't know what happened before :-(.
Vladimir