Hi,

if I use an Ajax Event in my case a primefaces ComanndButton then ViewParameter are decoded, validated but not encoded. That's a problem when requried is set to true in ViewParameter because validation set submitted value to null and encodeAll should set submitted value to current value. But encodeAll is never called during an Ajax request and so the next state saving writes submitted value with null.

Now submitted value is also restored with null value an required validation fails.

Is there a way to encode ViewParameter in an Ajax Request?

Thx, regards
Marcus



Reply via email to