Jahia in English > How to reset the...

0 (0 Good)
0 (0 Bad)

How to reset the state of JSF portlet?

by  assambar »  2011/06/07 18:52

Hi.
I have a JSF legacy code, which was modified and added as portlet within a Jahia template.
The only problem I have is that I have inside navigation and the portlet keeps a state to where I navigated last time.
There is a solution to this problem here
[url:1ujve4bb]http/1com/deepakg/entry/resetting_the_jsf_portlet_state[/url:1ujve4bb]
but if I understand it right in order to use this capability of the JSF Portlet,
I have to hardcode a hidden http request parameger to the page that contains the portlet.
Can I do that in Jahia?

Thanks.

  (assambar)

Number of messages  1
Registration date
1 (1 Good)
0 (0 Bad)

Re: How to reset the state of JSF portlet?

by  poiuytrez »  2011/06/28 19:55

Hi.
I have a JSF legacy code, which was modified and added as portlet within a Jahia template.
The only problem I have is that I have inside navigation and the portlet keeps a state to where I navigated last time.
There is a solution to this problem here
[url:1ujve4bb]http/1com/deepakg/entry/resetting_the_jsf_portlet_state[/url:1ujve4bb]
but if I understand it right in order to use this capability of the JSF Portlet,
I have to hardcode a hidden http request parameger to the page that contains the portlet.
Can I do that in Jahia?

Thanks.

Hello,

Are you running Jahia 6.5 or Jahia 6 ?

Regards

Guillaume
 

  • Re: How to reset the state of JSF portlet?
    2011/07/07 21:20

    poiuytrez <blockquote> Hi.<br /> I have a JSF legacy code, which was modified and added as portlet within a Jahia template.<br /> The only problem I have is that I have inside navigation and the portlet keeps a state to where I navigated last time.<br /> There is a solution to this problem here<br /> [url:1ujve4bb]http/1com/deepakg/entry/resetting_the_jsf_portlet_state[/url:1ujve4bb]<br /> but if I understand it right in order to use this capability of the JSF Portlet,<br /> I have to hardcode a hidden http request parameger to the page that contains the portlet.<br /> Can I do that in Jahia?<br /> <br /> Thanks.</blockquote> <p> Hello,</p> <p> Are you running Jahia 6.5 or Jahia 6 ?</p> <p> Regards</p> <p> Guillaume<br /> &nbsp;</p>

  • Number of messages  16
    Registration date Jun 28, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page