actionErrors: Is this a common problem
Posted on 2011-09-03
I just started using action errors with my application.
I added action errors to a form I for creating a new Course, I check if the course name and course code were already used (in the database).
Note: I am using this same actionForm for create course, edit course and delete course.
All good so far
Next, I ran my application again and, I checked the update Course page and, since I am using the same form, the course name and course code are highlighted as errors even though I haven't changed them (actionErrors check the Database for course name and course code and finds that they already exist).
Is this a common problem and how can I avoid it?
Any help would be appreciated.