Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call `Liferay.Session.extend()` function upon Ajax calls #4023

Closed
ebruchez opened this issue Apr 11, 2019 · 1 comment

Comments

Projects
1 participant
@ebruchez
Copy link
Collaborator

commented Apr 11, 2019

As usual the Liferay documentation is either buried or missing, but users appear to have figured out that you need to use Liferay.Session.extend(), presumably using the global window.Liferay object.

This issue is about us doing this automatically when window.Liferay is present.

+1 from customer

@ebruchez ebruchez self-assigned this Apr 11, 2019

@ebruchez ebruchez added this to To review in Orbeon Forms 2019.1 via automation Apr 11, 2019

@ebruchez ebruchez added this to To do in Orbeon Forms 2018.2.3 via automation Apr 11, 2019

@ebruchez

This comment has been minimized.

Copy link
Collaborator Author

commented Apr 15, 2019

We could hook this up in AjaxServer.fireEvents or AjaxServer.executeNextRequest. This would be before an Ajax response. Or we could do it with ajaxResponseProcessedEvent. Or both.

@ebruchez ebruchez closed this in 91d498e Apr 15, 2019

ebruchez added a commit that referenced this issue Apr 15, 2019

Orbeon Forms 2019.1 automation moved this from To review to Done Apr 15, 2019

Orbeon Forms 2018.2.3 automation moved this from To do to Done Apr 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.