Hi all,
have a class forming a form consisting of several TextField.
I also have a list of field names in the database are uploaded can not be empty

Downloading wearing the names of all the properties of the TextField name and trying to compare the list of fields is not blank and mark in red

Code:
for (int i = 0; i < getPanel().size(); i++) {
                    for (Field<?> f : getPanel().get(i).getFields()) {
                        String name = f.getName();
                        for (int j = 0; j < getField().size(); j++) {
                            if (name != null && name.length() > 0
                                    && getField().get(j).equals(name)) {
                                f.forceInvalid("IMIE");
                                break;
                            } else {
                                continue;
                            }
                        }
                    }
                }
However, all indicate to me and how to select only the TextField to get the appropriate name

Is it possible to achieve?