Affects Version/s: 2.0.2, 2.1.17
Fix Version/s: None
Operating System: All
The renderOnClick method of RenderKitUtils in 2.0.2 checks to see if there are
any "click" client behaviors, if so, it renders their JS, if not, it renders the
JS for any "action" client behaviors. I believe this should not be either/or,
but both. If there are action and click event client behaviors present, both
should encoded. The same is true for the valueChange/change for input
components, both should be encoded, not one or the other.
So with this code:
<my:custombehavior event="click" />
I would expect that my custombehavior would be called, then as long as that does
not return false, the form would be submitted via ajax.