Foros de discusión

Resetting a portlet

John John, modificado hace 12 años.

Resetting a portlet

New Member Mensajes: 23 Fecha de incorporación: 13/02/12 Mensajes recientes
I've seen this question asked a few times and no threads I've found have given an answer. In my portal, if i search for something in a portlet, those search results remain on the page even when navigating away and coming back to the page. Same with every other portlet. All preferences and parameters remain as they were. How can my portlet behave as if the portlet was freshly deployed every time the user navigates away from the portal and comes back?
thumbnail
Jan Geißler, modificado hace 12 años.

RE: Resetting a portlet

Liferay Master Mensajes: 735 Fecha de incorporación: 5/07/11 Mensajes recientes
Maybe your search parameter an so on were put in the Session and dont get lost this way? I have never encountered this behavior before. Can u provide some sample Code?
thumbnail
Hitoshi Ozawa, modificado hace 12 años.

RE: Resetting a portlet

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
See if your web browser is set up to save form data.

Would help if you specify which version of Liferay and which browser you're using.