HtmlStringBuffer textFieldAttributes = new HtmlStringBuffer(96);
if (getShowTextField()) {
textFieldAttributes.appendAttribute("size", getSize());
textFieldAttributes.appendAttribute("title", getTitle());
if (isReadonly()) {
textFieldAttributes.appendAttributeReadonly();
}
textFieldAttributes.appendAttribute("maxlength", 7);
if (isValid()) {
removeStyleClass("error");