~Howard DwonubergflarMay 9, 2011, 11:05 AM33 PostsRe: Can we have dynamic custom controls in XPage like computed subform.You can't do that using facets, at least not the way subforms work.If you want "subform" try 'Include page' control (from a standard XPages set).The label says Include page but you can use it even for custom controls.
~Arnold MinreternivuMay 9, 2011, 3:58 PM41 PostsCheck out the SVN source of the Extension Library The extlib.group fragment of the Extension Library contains a working implementation of what you're describing (though it doesn't use facets to accomplish the dynamic rendering). You can either build the fragment from source and deploy it as a plugin on your server, or use the source as a guide for implementing the same technique locally to your application.