How can I set the styleClass of a field at runtime ?
In some case it will be needed to set a field styleClass at run time (for exemple in function of its value). This can be achived by using the FormUtils.setFieldStyleClass method in the execute method of an Action class. For example FormUtils.setFieldStyleClass(request, “login”, “RED”); will set the field whose property is “login” to “RED” Please note that this can’t be used with the deprecated