senna.js

How can I disable SennaJS/SPA in Liferay 7?

微笑、不失礼 提交于 2019-12-04 23:41:33
问题 Liferay 7 uses SennaJS as its Single Page Application engine in order to load and replace certain parts of the portal page during form submission and navigation. Occasionally this feature interferes with my use case, so how can I disable it? 回答1: If you want to disable the XHR GET navigation performed by SennaJS or its handling of form submissions, you can try one of the following: If you want to disable SPA for only certain forms or links, you can add the data-senna-off="true" attribute to