org.olat.core.gui.components.form.flexible.elements.TextElement tElem = null;
tElem = (org.olat.core.gui.components.form.flexible.elements.TextElement) super.addFormItem(locale, user, usageIdentifyer, isAdministrativeUser, formItemContainer);
//special validator in case of bulkChange, wizard in first step allows entry of ${userProperty} (velocity-style)
//to validate the input a special isValidValue is used.
if (usageIdentifyer.equals(UserBulkChangeStep00.class.getCanonicalName())){
tElem.setItemValidatorProvider(new ItemValidatorProvider(){
public boolean isValidValue(String value, ValidationError validationError, Locale locale2) {
UserBulkChangeManager ubcMan = UserBulkChangeManager.getInstance();
Context vcContext = new VelocityContext();
if (user==null){
vcContext = ubcMan.getDemoContext(locale2, isAdministrativeUser);