Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-44

InputElement should store the wrong value

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Components
    • None

      https://sourceforge.net/tracker/?func=detail&aid=3014680&group_id=152762&atid=785194

      To make a validation of an InputElements, when tea validation result depends on the value of some other user input, is impossible. That's because when validation fails, the value entered by the user is not accessible by getValue() ot getRawValue() for further re-validation. Insted, just the last valid value is stored.

      See http://www.zkoss.org/forum/listComment/12240

      I think the value entered by the user should be stored accessible somehow. When somebody call clearErrorMessage(true), then the next getValue() should trigger validation of the value entered by the user, and not the last valid value (as ti is now). I may post some ZUL sample to demonstrate the problem.

            Unassigned Unassigned
            asukachen asukachen
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: