Closed pizzi80 closed 12 months ago
Can you PR the form ID fix against 4.0 please?
Can you PR the form ID fix against 4.0 please?
I think that 4.0 doesn't need to be fixed because the "partial submit" part is totally new
You should fix it on OmniFaces side in Form.ts simply by adding the form.id in the query string if form.id it's not included in the array of id that need to be processed...
// if the partialExecuteIds does not include the form.id,
// then add it because it's required by the spec to be always included!
if ( partialExecuteIds && !partialExecuteIds.includes(form.id) ) {
qString = appendToQueryString(qString, form.id, form.id);
}
I think that 4.0 doesn't need to be fixed because the "partial submit" part is totally new
Right.
Talking with @BalusC I've found that the new faces.js was not including the form.id in the xhr payload.
https://github.com/omnifaces/omnifaces/issues/767
I've made some minor optimizations and other clarifications which I need for a future big refactoring of the "render" phase algorithms I'm working on