orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
516 stars 221 forks source link

Use history API to handle browser back #1802

Closed ebruchez closed 5 years ago

ebruchez commented 10 years ago

Right now we use hidden fields, which are error prone, see #1789.

Use polyfill or current method for old browsers, and history API.

ebruchez commented 8 years ago

The history API is supported since IE 10. See also #2651.

See also history.js and HTML5-History-API as polyfills.

ebruchez commented 6 years ago

No need for polyfills anymore.

ebruchez commented 5 years ago

Right now, things work like this:

What do do with all those:

ebruchez commented 5 years ago

$client-state is type="text" and hidden via CSS. All other $... fields are type="hidden".

ebruchez commented 5 years ago

Liferay:

ebruchez commented 5 years ago
ebruchez commented 5 years ago

Status of the above noted regression:

ebruchez commented 5 years ago

This seems to happen only if we POST from the new or edit page to the review page and then back/forward. The issue happens only on forward.