Foren

Avoiding portlet reset when maximising portlet window

Adi Bart, geändert vor 12 Jahren.

Avoiding portlet reset when maximising portlet window

New Member Beiträge: 20 Beitrittsdatum: 19.09.11 Neueste Beiträge
Hey,

I have come across some questions on this issue but no solution. I have added an interview portlet in Liferay. If data is collected and then the window is maximised, the view resets and the interview is restarted. That data that has been entered is lost.

How can I avoid this behaviour?

I have tried setting restore-current-view to both false and true but there is no difference in the behaviour.

Any help much appreciated.

Cheers!
thumbnail
David H Nebinger, geändert vor 12 Jahren.

RE: Avoiding portlet reset when maximising portlet window

Liferay Legend Beiträge: 14916 Beitrittsdatum: 02.09.06 Neueste Beiträge
You'd have to switch to an ajax-based framework. The maximize effectively causes a full page refresh (w/o form submission) so the elements that you've collected before the maximize are not submitted. Using an ajax-based framework they would be...
Adi Bart, geändert vor 12 Jahren.

RE: Avoiding portlet reset when maximising portlet window

New Member Beiträge: 20 Beitrittsdatum: 19.09.11 Neueste Beiträge
Thanks heaps! I'm new to this. Do you have any pointers as to where should I look to get it up and running?
thumbnail
David H Nebinger, geändert vor 12 Jahren.

RE: Avoiding portlet reset when maximising portlet window

Liferay Legend Beiträge: 14916 Beitrittsdatum: 02.09.06 Neueste Beiträge
I'm really advocating Vaadin (http://www.vaadin.com) as they have a great platform, leverage GWT, and all development is in Java (no more javascript!).