I have added a commandButton using UIComponent.I have binded this commandButton to panel grid on JSP page.
The Component is getting added on the JSP Page.
I want a backing bean method to be called on click.I need to set the Action attribute for the command buttonon the backing bean.
I have done that in the way mentioned below :
Iam getting an exception :javax.faces.el.PropertyNotFoundException: Error setting property 'containerComponent' in bean of type CommitUIComponent