//in develmode, check that either translation for labelkey is available
//or that the other method to add the element is used.
//other in the sense of using the LabelI18nKey set to null, this
//avoids false messages in the logfile concering missng translations.
if(labelTrsl == null && hasLabel()){
throw new AssertException("Your label "+labelKey+" for formitem "+getName()+" is not available, please use the addXXX method with labelI18nKey and set it to null.");
}
}
labelC = new SimpleLabelText(labelKey, labelTrsl);
errorComponent = new SimpleFormErrorText(errorKey, translate(errorKey, errorParams));
exampleC = new SimpleExampleText(exampleKey, translate(exampleKey, exampleParams));