* @param formLayout
* @return
*/
public TextElement addTextAreaElement(String name, final String i18nLabel, final int maxLen, final int rows, final int cols, boolean isAutoHeightEnabled, String initialValue,
FormItemContainer formLayout) {
TextElement te = new TextAreaElementImpl(name, initialValue, rows, cols, isAutoHeightEnabled) {
{
setNotLongerThanCheck(maxLen, "text.element.error.notlongerthan");
// the text.element.error.notlongerthan uses a variable {0} that
// contains the length maxLen
}