Is that correct:
When I query a value before validation (or if validation failed) I have to use getSubmittedValue();. Once the value is validated, even if I query it in another validation later in the page/control I have to use .getValue(); since getSubmittedValue(); returns null after successful validation?
Is that correct: When I query a value before validation (or if validation failed)
Share
There’s a slightly easier way: if you’re just expecting a simple single-value String, just call:
Otherwise, call:
The former calls the latter anyway, but is obviously a terser syntax. This does what you’re looking for and more: