thanks very much, David! It's great to get such a precise answer
immediately :)
David Sean Taylor wrote:
On Sep 23, 2008, at 2:08 PM, Serkan Camurcuoglu wrote:
Hi all,
I've modified the Locale selector portlet by changing
j2-admin/WEB-INF/view/locale-list.jsp and I made it use links instead
of a select box. My intention is to change locale directly by
clicking links. It's working fine. Then I've put this locale selector
portlet into my layout decorator using the
"jetspeed.renderPortletEntity()" method.
Now, my problem is, when I click on one of the locale links, the
portal page changes to the first opened page. For example, I started
jetspeed, then I opened page A. Then I navigated to page B. Now, when
I click one of the locale selector links (which are always visible
since they are included in my layout decorator), the portal page
changes to page A again. In short, it seems like Jetspeed associates
this portlet with the first page it's displayed on, and it behaves
like a normal portlet on its own page.
Can anybody suggest a solution to this behaviour? Basically I want to
stay on the same page when I switch locale..
Seems like the URLs are getting cached in the portlet content. In the
portlet.xml for the LocaleSelector portlet, remove this line:
<expiration-cache>-1</expiration-cache>
or change it to
<expiration-cache>0</expiration-cache>
and redeploy.
or you can modify it in the Portlet App Manager Administrative portlet
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]