XPages Custom controls parameter definitions
One of the very cool features in XPages is the ability to create your own custom controls. While on the first look one could say "well, they are just subforms with a new name" the second look shows bigger differences:
- Custom controls can appear more than once on a page, subforms only once (yes there was the possibility to add a subform twice if it didn't contain any fields, but that was not intended)
- Custom controls are self aware: they "know" what is inside and what is outside
- Custom controls have parameters. You can define parameters that the custom control will address as CompositeData.[parameterName] and the hosting pages address as [controlName].[parameterName]
Posted by Stephan H Wissel on 04 April 2009 | Comments (7) | categories: XPages