Skip to Content
0
Former Member
Sep 06, 2005 at 11:36 AM

locale in Search Component

20 Views

Hello All,

anyone knows how to get languages of the user that is accessing custom serach component (based od articel: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Developing%20a%20Search%20Component%20for%20KM%20Search%20iView.article)> ??

ive tried to use IPortalComponentRequest request = (IPortalComponentRequest) dynPage.getPageContext().getRequest();in the method setDynPage() (as described in:

https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=http% 3A//forums.sdn.sap.com/thread.jspa%3FthreadID%3D31602 )

but the problem is that setDynpage() is executed after renderComponent() method, so i cannot use this to get local of the user and depending on that set language-depending texts.

Do you know how can i solve it?