Have not tried your own JSF component in 1.2 version? Recommend you to have a look into below links to get to know about the component creation in JSF. After going through these links, I am sure you can able to create your own JSF component.
http://www.theserverside.com/news/1364786/Building-Custom-JSF-UI-Components
http://www.exadel.com/tutorial/jsf/HowToWriteYourOwnJSFComponents.pdf
http://www.ibm.com/developerworks/java/library/j-jsf4/
Cheers,
-NJN