Thanks Ryan! That explains it. I now switched from attributes to integer fields+setters in the component class, and all is well.
NB. Would it be a good idea in a future JSF version to add an attribute tagName to @FacesComponent so that one can can eliminate the *taglib.xml file?
Cheers,
Cay
[Message sent by forum member 'cayhorstmann' (cayhorstmann)]
http://forums.java.net/jive/thread.jspa?messageID=356841