title: Create a custom commandButton and Input components
body: <p>I'm trying to implement a custom JS2 command button using UICommand with the latest HTML5 attributes. But, how  i can handles the action and actionListener attribues? The UICommand will save thier values, this done by the JSF2 runtime, but how i can know exactly which methode of which bean that i should excute after the button activation by the user in the renderer class at the 'encodeBegin methode'. The source code for the <a href="http://www.primefaces.org/showcase/ui/button/commandButton.xhtml" rel="nofollow">PrimeFaces commandButon</a> renderer class, available <a href="http://grepcode.com/file/repository.primefaces.org/org.primefaces/primefaces/3.1/org/primefaces/component/commandbutton/CommandButtonRenderer.java?av=f" rel="nofollow">here</a> is complicated.</p>