Badges

Liferay Certification

6.1 Professional Developer

Liferay Training

Developing for the Liferay Platform 1
Mastering Liferay Fundamentals

Activities

January 31
Daniel Sanz updated LPS-77560.
6:25 AM
December 5
Daniel Sanz commented on LPS-75743.
December 4
Daniel Sanz commented on LPS-75743.
11:01 AM Hi guys, what Chema says is that what makes this fail is not the "senna-like" SPA but any Ajax-like thing that has its own loading process, which behaves differently depending on an external state such as the full page load status. This happens with the impl of Liferay.widget. In this case we're talking about PJAX. You can [test what it does|https://pjax.herokuapp.com/]: it makes the user think that a full page was reloaded when it was not. Make sure you have the network tab at hand and load the same page (aliens.html for instance) having check the "pjax" checkbox checked and unchecked. You will see the resources that are actually requested to the server (take a look to the "initiator" column in chrome) Usin pjax means that when clicking on a page link (such the one having the webcontent), pjax logic captures that full page http request and turns it into more specific axaj requests (such as the one which just loads the web-content portlet calling Liferay.Widget()). In this scenario, as DOM document for the full page is not re-loaded (to the browser eyes, we never requested the full page), the call to document.write() happens on an already loaded page. This makes full page content to be replaced by the iframe generated by Liferay.widget. What the pull is doing is to eliminate the component and forcing its customers to use the iframe directly. Though we can not backport this, we can do something for our customers to avoid this problem. Let's deal with this back in the SME request to avoid noise. ([~jose.balsas] please feel free to correct me if I'm wrong in this explanation) Best
December 1
Daniel Sanz updated LPS-75743.
Daniel Sanz updated LPS-75743.
Daniel Sanz updated LPS-75743.
Daniel Sanz updated LPS-75743.
Daniel Sanz updated LPS-75743.
Daniel Sanz updated LPS-75743.
1:15 AM
November 30
Daniel Sanz updated LPS-75743.
9:15 AM
Subscribe to Daniel Sanz's activities. (Opens New Window)