Action.saveErrors() overwrites previous errors

2001-09-06 Thread viet nguyen
Here is the code in Action.saveErrors() : if ((errors == null) || errors.empty()) { request.removeAttribute(ERROR_KEY); return; } // Save the error messages we need request.setAttribute(ERROR_KEY, errors); - As a result, it will over

static text fields on the session or from??

2001-08-28 Thread viet nguyen
If I need to display a screen which includes both editable fields and static text fields, would it be better to store the read-only fields on the session instead of having them in the form? Since the values of these fields will never change, it seems to defeat the purpose of form automatic popula