{
ComponentEventHandler handler = new ComponentEventHandler()
{
public void handleEvent(Component instance, ComponentEvent event)
{
IdAllocator idAllocator = event.getEventContext().get(IdAllocator.class, 0);
idAllocator.allocateId(parameterName);
}
};
support.addEventHandler(EventConstants.PREALLOCATE_FORM_CONTROL_NAMES, 1,
"ActivationRequestParameterWorker preallocate form control name '" + parameterName + "' event handler",