I would like to include below composite component programmatically:
<composite:interface>
<composite:attribute name="sampleBean" />
<composite:attribute name="autoCompleteMethod"
method-signature="java.util.List autoCompleteMethod(java.lang.String)" />
</composite:interface>
In Omnifaces, there is a function:
// Programmatically include composite component.
Components.includeCompositeComponent(someParentComponent, libraryName, resourceName, id);
However, it isn't clear to me how to specify the autoCompleteMethod
in the obtained UIComponent instance. How can I achieve this?