Forums de discussion

Reset Portlet State, back to defaultviewid.view

francisco cornejo, modifié il y a 13 années.

Reset Portlet State, back to defaultviewid.view

New Member Publications: 14 Date d'inscription: 22/11/10 Publications récentes
Hello im new to portlet developing and i have a problem with my first one.
I have a liferay page "A" which contains my jsf portlet using jboss.bridgeportlet and richfaces.

My portlet has some views using the faces-config navigation, but when i go to another liferay page "B" and go back to the portlet's page "A" i want to reset the portlet state and show the first view of my portlet, not the last one visited.

Is there any way to do this?

I have searched google, and i found some <init-param> like "CLEARING_STATE_ENABLED" and "resetmodeviewid" but no one works. emoticon

Thanks in advance!!