This content has been marked as final. Show 2 replies
I asked this question several months ago and never got an answer.
I still need to find out how to add ajax support to a component created in code.
Any suggestions or hints?
I haven't actually tried this, but in theory the f:ajax tag just adds an instance of javax.faces.component.behavior.AjaxBehavior to the UIComponent using ClientBehaviorHolder.addClientBehavior(). So I would start by creating an instance of AjaxBehavior and adding it to your bean programmatically.