Announcement Announcement Module
No announcement yet.
field errors from initBinder Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • field errors from initBinder

    I am running into this when I use javascript showHide in the jsp with a FormController.

    Basically, if I have a field x and a field y,
    if field y is hidden under some conditions, if there happens to be input entered for field y before it is hidden, initBinder still detects a binding error. When field y is hidden, the gui user can not see the error but he can not proceed either.

    I tried to clear the field errors in the onBindAndValidate but the errors list is an unmodifiable collection.

    Has anyone run into this before? Please let me know if the question is unclear. I will try to clarify.

  • #2
    Maybe not a perfect solution but since you are using a javascript to show/hide you could set the field to something valid there too.