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

locale in Search Component


Hello All,

anyone knows how to get languages of the user that is accessing custom serach component (based od articel:> ??

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

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?